[ANSWERED] Is it possible to draw a p5.js script within the Javascript actor?
-
Hello!
I am starting to learn p5.js for some basic generative design fun and I got really excited when I remembered that Isadora has a Javascript actor. However, from what I can see in the scripting tutorial I can only print a string from the Javascript code into other actors.
Is that true? Could I also use an output to draw into other actors? That would be awesome!Bests,
Santi
-
@DusX is the JavaScript guru
-
Thanks Woland! Hello @DusX! Any advise on this?
-
the Javascript engine in Isadora doesn't include any of the Web specific components. None of the DOM or canvas for example. So no you can not draw in the way you are thinking.
You could however control xy motion in Javascript and feed those values to a Live draw actor for instance..
-
Thanks for your reply guys. I will experiment a bit with it!