Skip navigation

..programming

codee.png

Aequilibrium runs thanks to a Wiring board that receives and trasmits all the data from the floor sensors into Processing. Basically the Wiring code is really simple while the core of Aequilibrium is inside the Processing application.
We have a single class called Fish which contains the general aspect and behaviour of an ideal fish. This fish does not exist yet.. it is only a number of abstract rules.

flowchart.png

At the beginning the main application “call” the class Fish and uses it to create on the computer screen or on the floor projection how many fishes as we want. This time the fishes are colorful and moving forms on a screen.. so they need “arguments” such as their position, their orientation, their speed and so on.

fish_fish.png
Within the Fish class there are different functions which take care of different aspects: the generic swimming movements, the collision with the borders, the visual appearence of the fish and its insigh.
Each single functions is activated only when needed. For example if a person is close enough to a fish the Fish class activate the “insigh” function which calculate how the fish should react relating to the person’s position.

> Download .zip folder with aequilibrium code.

> Experience Aequilibrium with your mouse.

> Watch the prototype video on youtube.

> Next.

> Back to aequilibrium.