Most of the physics-based example are written in WebGL using three.js. Using three.js is a little bit overkill for this because all the examples are in 2D but it's what I was familiar with. For the actual physics simulations, I'm using matter.js.
The diagrams use a library I wrote while working on the post [1].
Everything runs inside a Vue app which serves as the glue between things like the sliders and the three.js scenes and diagrams.
Most of the physics-based example are written in WebGL using three.js. Using three.js is a little bit overkill for this because all the examples are in 2D but it's what I was familiar with. For the actual physics simulations, I'm using matter.js.
The diagrams use a library I wrote while working on the post [1].
Everything runs inside a Vue app which serves as the glue between things like the sliders and the three.js scenes and diagrams.
[1] https://ksassnowski.github.io/vueclid-docs/