Processing

Obnoxious flies shown on the Prado’s MediaLab facade

Maybe you remember my previous post on Obnoxious flies a Processing sketch that I programmed for the MediaLab of the Prado museum, well it seems that they have used it !

In this video, at minute 37:56 you can see it running on the facade of the building.

 

[vimeo https://vimeo.com/67309091]

 

By the way, they have opened again the call for 2014.

Advertisements

Flying creatures, another Processing sketch

I have just finished reading chapter I  of this useful book: The Nature of code. At the end of the chapter there is a challenging exercise: creating a word with different creatures that move around with different patterns.

The sketch I have made this time is a sort of sky where there are two kinds of creatures: flies and birds.

Flies go around with sudden changes in their movement, birds are have more coherent flights but when they get close to flies they try to catch them.

The code is hosted on openprocessing: http://www.openprocessing.org/sketch/84168

Image

The Nature of code, my first sketch

I have discovered a wonderful handbook for learning some more advanced Processing: The Nature of Code. Although the book is specialized on cellular animation like graphics, it is full of useful tips for every kinds of Processing sketches.

Today I have studied the first chapter, about randomness and noises. Very, very useful. I have also done the  suggested exercises  quite simple, a part form the last one which is about a noise-driven 3D surface.

It took me almost one day to implement it, as I am not very comfortable with 3d programming, but in the end I made it.

Perlin Surface

Unfortunately it is not possible to embed Processing sketches into wordpress.com, but you can find the entire sketch here: http://www.openprocessing.org/sketch/84119

I will publish more while I keep studying the book. Promised!

MidiDraw

Hi,

I have just started a new project called MidiDraw.
Check the code here.
Here there’s the description (taken from the repository wiki):

The aim of this project is to provide a technical mean to translate drawings into musical messages. The idea is not the one of creating another Midi sequencer, but something like an “interpreter” of a free hand drawing.

Technically the program will draw mouse inputs and will generate “features” from the drawn points.

The generated midi messages are most likely to be controller messages (although in principle it is possible to generates notes as well).

There is also the possibility to use live images from an external video source, like webcams.

The project is still at its very first stage, but will grow quickly!