The ball and pivot are draggable. You can drag and experiment Make w more negative to increase gravity Double pendulum simulation with better method https://github.com/pranavgn12/Double-pendulum-simulation
This is not close to real one and it appears to be like real, there is a flaw ig I tried to emulate pendulum without using angular velocity.