Preload images in Processing.js when used as graphics library
in
Processing with Other Languages
•
1 year ago
Hi!
I decided to work with Processing.js as graphic library (just for render) as described by Pomax here
http://processingjs.org/articles/PomaxGuide.html#graphic
I just can't find the way to implement the @preload directives with instances of Processing.js
I'm thinking this is something tricky, because I found, for instance, you need to write "p.__frameRate" to print the frame rate instead of just "p.frameRate" ("p" is a processing instance)
Thanks.
1