More Processing doings…

I’ve abandoned my attempts to create my own set of generic controllers in Processing using the monomic library – for now at least – but only because I’m going to try and use Nick Rothwell’s shado instead. And since Nick’s considering porting shado as a Processing library this makes even more sense to me…

monome_sisualisation_2_500px

But I am going to recycle some of my work to date to try and create a simple but controllable 3D visualisation of the monome 64 using Processing – including accelerometer data if I can manage it – for the Monome meets 3D-AudioScape application I’m now developing with Nick under the monomatic umbrella.

I started out by looking at 3D camera implementations and found:

mkv25.net (though not all the applets seem to be accessible from the main menu) – and though cameraVector3DPlane and camera_and_3d_mouse are certainly relevant they were produced way back in June 2005…

so I checked out current libraries and found:

the PeasyCam v0.5.3 library which really is easy and actually works extremely well (I tested it first in my Light Wave virtual sketch – and it did exactly what I hoped for from a camera controller) so I’ve built this into this monome64 visualisation sketch too.

I also looked briefly at OCD“the Obsessive Camera Direction (OCD) library allows intuitive control and creation of Processing viewport Cameras”... since I like the idea of setting up multiple cameras and then switching from feed to feed…

I also wanted to try and reproduce the square but nicely rounded at the corners buttons of the monome – and found the PShape datatype for storing SVG shapes exported from Illustrator for example. Though I haven’t quite got assigning attributes to parent and child elements in the SVG graphic yet – which is what I think I need to create the necessary button and spacing graphic but just change the button fill from white to orange on a button press – I have at least now got a working 3D demo of a virtual 3D monome 64.

I also implemented PeasyCam in my adaptions of the Mirror2 sketch – and realised I could change the fill shape (something that had been eluding me) though the PShape datatype…

And I spent a little time extending the Python code for my own set of generic controllers in shado that I’d worked on with Nick last week – and now have monome button presses with associated LED states to emulate a fader, cross-fader and radio group of toggle buttons… I still have to encapsulate each type – my coding is a bit longhand, think about and implement associated animations and actually get the button presses to send something 😉

Now I also have to work out what controllers I actually need for something like the Mirror2 sketch.

Comments are closed.