The aim of the project is to create a work of art which reacts to the spatial distance of the viewer to itself and it expresses this in its shape.

The form is generated in Processing and it gets the distance values from the ultra sonic sensor of the Arduino. These are first read inside of the Arduino software itself and then forwarded via the serial port of the computer. A second hardware input is also located on the Arduino module in form of a button. If the button is pressed, the artwork resets itself and starts drawing a new shape.

The shape is based on a script called “Wave Clock” form the book Generative Art: A Practical Guide Using Processing by Matt Pearson.


01 Arduino UNO
01 Bread Board
01 Ultra Sonic Sensor
01 Button
01 LED
02 Resistors
11 Cables
01 USB Connector Cable
01 Computer





GEN:ART ARDUINO X PROCESSING is a project of IAAC, Institute for Advanced Architecture of Catalonia, developed at Masters in Advanced Architecture in 2021/2022.
Student: Victor Engelhard Suarez
Faculty: Cristian Rizzuti, Arman Najari
Course : Introduction to Programming and Physical Computing