If you want to recreate the simulation, consider the last "Units of measurements" section.
* By the way, udiprod is a great channel. It has fourteen visualisations of computer science and physics topics. They're copyrighted, so don't replicate them. Only recreate them.
Yesterday, I watched this udiprod* video visualising conservation of energy. It has, like, clarified it better than any other resource!
Anyway, you can see how it works here
If you want to recreate the simulation, consider the last "Units of measurements" section.
* By the way, udiprod is a great channel. It has fourteen visualisations of computer science and physics topics. They're copyrighted, so don't replicate them. Only recreate them.