We are about to switch to a new forum software. Until then we have removed the registration on this forum.
I made an initial sketch for an animal-shaped picture gallery.
The sketch runs fine when it is in java mode and I press play in the Processing IDE. When I switch to Javascript and try to run it in the browser or export it, it only loads a blank white rectangle.
Sketch is live at this URL: http://www.dnkaye.com/tests/zooboo/index.html You can view the processing.pde code there as well.
I have not yet found a solution online for this issue, any help is appreciated, thanks.
Answers
You didn't even used image pre-loading! [-(
Take a look at this link and look for "Processing.js has to cheat to simulate Processing's synchronous I/O" section:
http://processingjs.org/articles/p5QuickStart.html