We are about to switch to a new forum software. Until then we have removed the registration on this forum.
I want to put animations on 2 separate screens, one in Java2D, one in P3D. The available examples for that seem to function for P2 e.g. Multiple Nested PApplets (v2.0) by GoToLoop in the discussion https://forum.processing.org/two/discussion/10937/multiple-sketches
I do not know enough about Java and Processing to adapt this code to P3. Could someone link me to a functioning P3 example.
Help is much appreciated.
Answers
https://forum.Processing.org/two/discussions/tagged?Tag=papplet.runsketch()
thank you very much GoToLoop for this hint!
here is the solution to my problem which I have found on this site: https://forum.processing.org/two/discussion/13152/2-displays#latest With the void setup() method is was not possible to change the size of the PApplet window e.g. to fullScreen. So I had to change that line of code to public void settings() to make it possible. For notice I give here the slightly modified code:
... but now I have an issue with the 3D renderer if I apply a class to this sketch. I posted this here.
Hi, I want to create two separate screens windows, one show the text that I'm typing and the second one show an image for each letter typed. Eg. I type: "Hi." and it will appear an image for H and next to it an image for I. Can anyone help me? I'm new in Processing.
I modified the previous example to do what you require. You need to have in your sketch folder a folder named "data" and place in it two files, "h.jpg" and "i.jpg".
I hope this helps,
Kf