!header The Double Pendulum Fractal
The Butterfly Effect is behind many of the phenomena we think of as “random” — situations as diverse as atmospheric conditions and pendulums in anti-gravity chambers can both exhibit chaos. Here, we’ll do something similar to the second example, but rather than modifying a pendulum with gravity, we’ll attach another pendulum to the end of it. This is known as a double pendulum, fittingly enough, and it’s famous for being a chaotic system — two nearly-identical starting positions will eventually diverge from one another. Since the starting position is determined only by the two pendulums’ angles, we can plot every possible starting position on a grid and release all of them at once. Points near the center diverge from each other more slowly, since the pendulums they correspond to are nearly straight and don’t move much, while points near the edge have much more momentum and diverge rapidly. To pause the fractal’s progression and view the pendulum corresponding to a single point, hit the button and hover or drag on the canvas.
resolution 1000 Resolution
generate l Generate
switch-pendulum-drawer-canvas l Pick Pendulum
download l Download