We are about to switch to a new forum software. Until then we have removed the registration on this forum.
After a rather lengthy hiatus from Processing I now find myself experimenting with p5js... Work has led me into the realms of JS development (programming skills learned largely with Processing!) and I wanted to dabble with HTML canvas stuff; so this was a natural library to play with :)
I'm wondering whether anyone has yet figured out a sensible approach to splitting projects into separate files? I really liked that feature in the Processing IDE. I just managed to get something fairly crude working with requireJS; but it seems a little convoluted and I'm having to pass references to p5 all over the place. It just doesn't feel right. The other approach I'm considering is using Grunt to combine partials into a single script file whenever I save; but that comes with setup work I'm perhaps too lazy to do frequently...
Anyone got anything up their sleeve?