Back in March when I started playing with Processing.js I was making page after page of sketches and it quickly got tiresome. What happened next I guess you could say was “a moment of clarity” in the words of Samuel L. I knew exactly what I wanted to make and after 2 weeks of hacking in the evenings HasCanvas was born.
The app is fairly simple. It allows you to write and share Processing.js sketches on the web without the need for the java plugin. I won’t explain it in full here – hopefully the app itself is intuitive enough. I will however offer a few tips:
- When you declare the size() of the sketch leaving it with no arguments will give you a full screen canvas
- To get rid of the interface cruft when linking to a sketch you can add ‘/embed’ to the end of your URL
Thanks to all those people who have made some great feature requests, such as downloads, the resizable and lockable code window and the ability not to have your sketches appear in the browse section. I’ve had many more requests but I feel that I’ve taken HasCanvas as far as it can go in it’s current state. I want to start on a new version as a ground up re-write at some point however the nice folks behind Bespin are working on adding a Processing.js IDE. Chances are it will be better than anything I come up with so I may take the opportunity to work on some other ideas I’ve had.
Credit Where Credit is Due
I built the app on the back of the hard work of others.