When I was searching for inspirations, I found Figure 1. Because of its cool patterns, I want to create something that's similar to it.
![](https://static.wixstatic.com/media/cbbbf6_049b3866985c4f3880ce52a9f7047ae8~mv2.png/v1/fill/w_980,h_955,al_c,q_90,usm_0.66_1.00_0.01,enc_avif,quality_auto/cbbbf6_049b3866985c4f3880ce52a9f7047ae8~mv2.png)
Figure 1
![](https://static.wixstatic.com/media/cbbbf6_189f224f855c444cb7cb2e46c937df4b~mv2.png/v1/fill/w_980,h_879,al_c,q_90,usm_0.66_1.00_0.01,enc_avif,quality_auto/cbbbf6_189f224f855c444cb7cb2e46c937df4b~mv2.png)
I worked off the simple pendulum code from Dan's video. I tried to make different patterns and effects while trying to keep it simple and learning the pendulum equation that's used in the video.
Then I sketched another interaction with pendulum array. I wanted to create a curtain that waves while users click on the screen. Code: https://editor.p5js.org/Jenny-yw/sketches/Sb1SgMWjD
![](https://static.wixstatic.com/media/cbbbf6_b8e3251178b044a0a87b9ec75e1b44d9~mv2.png/v1/fill/w_730,h_512,al_c,q_90,enc_avif,quality_auto/cbbbf6_b8e3251178b044a0a87b9ec75e1b44d9~mv2.png)
The curtain flowing effect is perfect, but the curtain doesn't keep waving when the mouse is pressed. I still need to figure that out.
Comments