https://p5js.org/examples/interaction-kaleidoscope.html Here is an example that I find very compelling. Specifically, it is very cool that the person using the code can save the picture they draw and reset to draw a new picture. It is also very interesting how the picture is drawn 12 times with the same mouse movement. Although it appears as if the code would be very complicated, the main part of the code under the draw portion is surprisingly very short. Although the code is complicated, it is fascinating that the width/ height is simply / 2. I believe that the code looks more simple than expected because the person used a lot of variables to keep it clean.
Comments
Post a Comment