We are about to switch to a new forum software. Until then we have removed the registration on this forum.
The sketch works fine as a Processing sketch, but when I attempt to upload the .pde file, and use an html file to access it, it appears to halt when the code tries = new Movie(this,"sink.mp4");
Answers
A version of this in straight HTML and JavaScript works fine: http://faculty.purchase.edu/jeanine.meyer/html5/origamifish.html
@Jeanine Are you using preload to load your movie?
Kf
When I use preload, the sketch does not work at all in ProcessingJS. When I don't use it, the program stops at the first sink = new Movie(this,"sink.mp4");
Just like: http://processingjs.org/reference/preload/
Kf
Your reference says the preload is just for images. It does not appear to work for video files.
Pjs can only use JS libraries. And Movie is a Java library though. :(
My advice: Convert your Java sketch to p5.js instead: *-:)
You can use PDE's p5.js Mode too: :-bd
Thank you! I already have a version of this in HTML JavaScript, which I did some time ago (see previous comments). So I will let this go.