I'm using ControlP5 control library in my project and it works nicely in Java mode, but when I try to run it in JavaScript mode in Chrome browser it says:
Uncaught Processing.js: Unable to execute pjs sketch: ReferenceError: ControlP5 is not defined
probably the next error is related to the first too:
Uncaught TypeError: Cannot call method 'draw' of null
I was wondering if it's possible to run processing 2 js sketches directly from course on Moodle, and if so, what plagins have to be installed on Moodle plateform for it ?
Hi, I
have created 3 sketches which play music, animate things and load background images. I'd like to join all them together into one sketch by using dropdown menu from controlp5 library. I've done the dropdown menu which displays different images when the different items have been choosen, but I need more fuctionality - music and animation, different for different items.
How can I make these items appear different objects, players, for example ?