the nature of code


My original idea of this assignment is to use the random walk to create a filter, but that didn't work well (at least it didn't look as well as I expected). I gazed at the dots of random walk for a long time, thinking about what I could make based on it, then I got inspired by Tinker Bell.🧚🧚🧚🧚

I use circles and vertex to create the light-spots, canvas will get brighter and brighter based on the random walk of light-spots. Also the light-spots will change colors based on their location.

I realize that the effect of my sketch can realize because the light-spots always go back to where they have been. But I still want to figure out how to implement the self-avoiding walk.