https://editor.p5js.org/jinyuanxu.jx/sketches/tiFAi3yMx

image.png

I intended to explore the topic of the Double Pendulum and the wave example that Professor Shiffman showed us during last week’s session. I’m curious whether I can apply the idea of double pendulum to the wave example and make a special wave animation.

Here are a few iterations:

version0.gif

version1.gif

1.gif

These are the tutorials/examples that I found most useful:

https://thecodingtrain.com/challenges/93-double-pendulum

https://thecodingtrain.com/tracks/the-nature-of-code-2/noc/3-angles/6-graphing-sine-wave

https://editor.p5js.org/noc-itp/sketches/HP-spCqwa

https://natureofcode.com/oscillation/