html - Processing sketch not working on web -


i have multiple processing projects working great on website, have 2 sketches in particular not work , don't display except small blank windows. similarity between 2 can find both require arrow keys work, besides there no similarities. can inspect element check code, can't seem figure out why not working, appreciated.
http://willhay.io/processing/crazy/ , http://willhay.io/processing/mazerunner/

have peak @ javascript console in browser's developer tools. should spot this:

failed load resource: server responded status of 404 (not found) processing.min.js:18 processing.js: unable execute pjs sketch. processing.min.js:18 uncaught typeerror: size not function 

perhaps pages attempting initialise processing sketches before document loaded , processingjs library ready. try doing when page loaded on safe side


Comments

Popular posts from this blog

c# - Validate object ID from GET to POST -

node.js - Custom Model Validator SailsJS -

php - Find a regex to take part of Email -