Open prisonerjohn opened 10 years ago
Comment by REAS Wednesday Apr 24, 2013 at 22:27 GMT
The code will work if you paste it into the current version of Processing (2b8), but it's not working online. We'll look into the web error. Thanks for reporting.
Comment by shiffman Thursday Apr 25, 2013 at 14:35 GMT
This is b/c the flocking example now uses some of the new PVector methods which are not yet implemented in JS. I don't know that we should do this for all examples, but for this one I have reverted a few lines of code so that it runs in JS. I have also left comments explaining the changes and what the new PVector syntax can be.
https://github.com/processing/processing/commit/fc10ac8411aae55218f9f61da2692366718378e8
Issue by davipo Wednesday Apr 24, 2013 at 22:22 GMT Originally opened as https://github.com/processing/processing-web/issues/105
Nothing but black field, no response to clicks. Using MacOS 10.6, tried Safari 5.1, Firefox 19.0, Chrome 26.0. http://processing.org/learning/topics/flocking.html