After work with processing now I'm trying processingjs.
I have not found any good forum about processingjs by now.
I have a few questions and was wondering if anyone
on the forum has worked with javascript processing and could help me.
I'm trying to make an application in wich coexist the 3D and 2D.
To do this I mounted a PGraphics object and render over it the 3D scene.
Later over the P2D general scene I draw the GUI (controls, interface...)
That method worked perfectly in my conventional processing, but when trying to run with the program js processing blocks me and stops responding to mouse events.
By testing I can see that everything is broken by introducing lighting
pg.lights ();
strokeWeight() not work either in a P3D scene (This is another problem)
Has anyone had the same problem and found a solution?
It would be helpful for me
thanks
This is the code: It works in processing but not in processingjs