In this code I want to have animation something like this. But I dont want the other pendulums that come into picture later. Just the initial one. Currently this is my outpu