I added a UI to the web page!
It features:
-camera controls: rotating, zooming and home position
-simulation parameters which you can change with sliders.
Everything is conected to the simulation via “cwrap”, which makes you able to use some of your functions, from the c program, in java script.
I went through multiple layout and I am still not shure if I will keep this one.
This was my first time building something like this so I took some help from the AI while making the trackpad and the sliders.