https://preview.p5js.org/fleshcircuit/present/_OpCkhFLP
I started this sketch adapting Dan Shiffman’s repeller example from the Nature of Code. I am interested in capturing qualities of action and reaction, and this example represents it well. I made a number of modifications, such as having the repeller move along the x-axis along with the mouse/touchpad and the qualities of movements of the particles. I added a grid as well, though making it appear at a slower interval than the framerate. I tried experimenting with giving it a more cyclical form, though that one was quite chaotic. Even though I refer to these as sketch of the day, it took me two days to work this one out. Some of the challenge is creating distinctive animations, but also as these sketches get more complex it takes longer to work them out, including debugging.