works
society-htm
works | society-htm | |
---|---|---|
3 | 1 | |
1,191 | 2 | |
- | - | |
3.5 | 6.9 | |
17 days ago | 12 months ago | |
Haxe | HTML | |
MIT License | - |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
works
-
Cloth Simulation
The same creator has some more really fun open source physics demos, click on the images: https://github.com/saharan/works
-
Water – Oimo.io
They add some randomness: https://github.com/saharan/works/blob/main/water/src/MPM.hx#...
-
Clock
The core idea (backwards time integration) seems to be implemented here:
https://github.com/saharan/works/blob/main/clock/src/phys/Wo...
And by the looks of it, there is a description here: https://blog.oimo.io/2022/02/11/clock-core/
I'm not passionate enough to try and (machine-)translate it, even though I would've really liked to understand how you make collision handling work backwards (especially since the simulation clearly seems to have energy dissipation)...
society-htm
-
Clock
Yo I'm glad you like it!! I made it over a few days by giving instructions to GPT-4. About 80% of the time it would get my desired functionality exactly right. When I named it society.htm it looked and worked a lot differently, but I think the name still applies. I've started writing a readme for it but got distracted with other projects. Here is the github for it https://github.com/mnenoff/society-htm
What are some alternatives?
literature-clock - Clock using time quotes from the literature, based on the work of Jaap Meijers
dice - Digital Image Correlation Engine (DICe): a stereo DIC application that runs on Mac, Windows, and Linux
fluid - Fluid Simulation on HTML5 Canvas
malli - High-performance data-driven data specification library for Clojure/Script.
WebGL-Fluid-Simulation - Play with fluids in your browser (works even on mobile)
SPHjs - A 2D fluid simulation of water physics in pure Javascript.