The project was to create an interactive light source. A device to allow that we keep in touch with distant friends, family and lovers. It is made of two parts, a Link sculpture and a light scape. The Link is loaded with a bunch of LDR sensors and on detecting ambient changes triggers events on the light piece. The light piece is running a simple fluid simulation.
I am still working on the project but I have been making some reports on my tumblr about the project and whats inside. The final project will live on my website. I would love to know what you think and maybe get some advice.
The code is full of hacks and cheats to make sure the colour mixing doesn’t go badly. But really there is nothing too complicated going on. The trickiest bit was stopping it from looking bad.
The animations are based in 1D reaction - diffusion (Gray scott model), I am using fastLED library and generating a colour gradient from 16 colours. The RD moves the LEDs in the colour space. something like this
· when receives a ping (interaction)
· fluidity level increases
· every update
· move in colour space by fluidity
· decrease fluidity
I really believe looking at the code would not help you as it is an adaption of code I carry from other projects (namely this one) However feel free to PM me if you would like to discuss this.