JESSIE ZHAI
Digital artist
A documentation page of rambling and experimenting.
@jessiehaseyes
jessiejiranzhai@gmail.com 03 FORCESNOC WEEK2
GO TO:
Oscillation
For the Simulation Assignment, I was really inspired by the slime mold sketch that Patt Vira created, so I’ve made a webcam version using a similair logic.
PROCESS
I am very much obessed with the Voronoi pattern, and as well as particle flow, and wanted to combine it with the webcam feature.
I was very inspired by the slime mold simulation that Patt Vira created.
I first used Patt’s source code and add the p5 webcam to use each pixel’s color to update the spawn.
For initialization, I set the total number of mold paticles, pixel density, the respawn frequency, as well as the amount of the spawn.
Accessing each of the pixel’s color using creatcapture video, then mapping the x and y axis for each of the pixels.
The mold class tells the molds to start spawning from the four corners of the canvas within the 250 margins. It also initializes the size of ellipse/particles, as well as giving them random direction and distance using vectors. The heading is direction of the movement, while the sensors are detecting the brightness of the pixels around the molds.
Respawn the molds
I also tried a version where the spawn only happens when there is movement in the frame, but so far i’ve only got it to spawn when the brightness is above a certain threshold.
Eventually I’d love for the particles and original footage to intergrate better, but since the mold is leaving trails based on the transparency of the background, it might need a different way to make the tail stay longer.
REFERENCES
slime mold simulation - Patt Vira