Here is the latest in a small series of tests, embedding processing sketches on this blog. This one uses the wonders of processingjs, John Resig’s fantastic port of processing to javascript. This animation is nicked directly from the processingjs website, so please don’t hold that … Read More →
Tag Archives: sketches
processing.js
This is a quick test of HasCanvas for publishing processing sketches in a web browser. HasCanvas is built on the very nifty processing.js platform, which means publishing processing sketches is about as easy as clicking 1 + 2 + 3. see for yourself;
simple metro
For students in the 11217 introduction to construction class;
Here is an example of a simple metronome counter which moves a line up and down a sketch window over a period of time. You should be able to follow the comments included to see how you might plug your sensors and motors into this sketch to easily arrange for your motors to move a) automatically left/right over a period of time and b) increasing in intensity based on a reading from your slider/light/proximity sensors.
Phidget Interface Kit + Processing
Here's a simple example for connecting a PhidgetInterfaceKit 8/8/8 to a computer, using Processing.

Phidget Servo motor output via Processing

I'm currently preparing for a short piece of processing tutoring in the Bachelor of Architecture course, commencing tomorrow. The course is a 1st year construction subject, in which the year group is designing modular structures from found objects (read; whatever they can find in large amounts at Reverse Garbage), with a 12-15 unsuspecting students are going to be shown the slippery slope that is processing, all in the aim of augmenting small construction projects with responsive elements.
animation
Here’s another mini sketch, using the tester from the wordpress processingjs plugin. Bear with me, folks.. Source Code float Xgrid = 26; float Ygrid; float Cols, Rows; float Size; int W, H; boolean online; void setup() { if (online == false) { W = 800; … Read More →