vasturiano
Ok, I'm confused. Why isn't energy conserved and does the pendulum eventually stop?
https://cdnjs.cloudflare.com/ajax/libs/d3/4.8.0/d3.min.js
https://unpkg.com/d3-force-constant