Chloroplast Cyclosis
Inspired by the natural process of photosynthesis, Chloroplast Cyclosis is a digital model of the movement of chloroplasts within a cell. The individual chloroplasts are programmed to move depending on the position of the mouse, as if the mouse was a light. When the mouse hovers over a cell, the chloroplasts move to the "shadows" of the cell edge (away from the bright light).
I used vectors to code three types of chloroplast behavior, depending on the position of the mouse, and then used classes to replicate this behavior across many copies of the chloroplast object. Having no prior experience with java or Processing, this was a large learning experience in generative coding. I rewrote the code three times, each time simplifying to achieve the same result with cleaner code. If I were to recreate this Processing sketch, I would make it more efficient by using a function to create the 21 cells, instead of hard coding them.
