Double Pendulum

A high-precision chaotic system driven by RK4 integration and stoner-rock vibes.

What is a Double Pendulum?

The double pendulum is a simple deterministic system, yet it is extremely sensitive to initial conditions. A microscopic change at the start leads to a macroscopic divergence in the end, this is the Butterfly Effect.

The first pendulum constantly transfers its energy to the second, creating a complex feedback loop. This interconnected motion is what drives the system into unpredictable, non-linear chaos

Technical Side

Developed with Unity & C#.

  •  RK4 Integration: Instead of standard Euler equations or Unity physics system, I used the 4th Order Runge-Kutta method to ensure stable energy conservation and physical accuracy.
  •  Double Precision: Calculations are performed using double instead of float, It keeps the chaos real and precise even in long sessions.

Simulation Modes

  •  Solo Double Pendulum: Full control over all variables (L, m, g) and angles. 
  •  Double Double Pendulum: Simulate two pendulums simultaneously to witness the Butterfly Effect. Input even a microscopic difference and watch them drift into completely different worlds.
  •  3-1000:  Between 3 and 1000 pendulums with 10^-9 difference, creating regular chaos and Generative Art.

Music

Mars Red Sky

Spotify Bandcamp

----------------------------------------------------------------------------------

It's okay, also just a ride

That chaoticness somehow makes my deterministic existence okay. 

Download

Download
Double Pendulum.zip 64 MB

Leave a comment

Log in with itch.io to leave a comment.