An open API service indexing awesome lists of open source software.

https://github.com/juliusjacobitz/cloth_sim_2

Writing a physics / cloth sim from scratch without llm support
https://github.com/juliusjacobitz/cloth_sim_2

Last synced: over 1 year ago
JSON representation

Writing a physics / cloth sim from scratch without llm support

Awesome Lists containing this project

README

          

# Physics / Cloth sim
## TODO
* object collision
* friction on surfaces:
Use [this](https://de.wikipedia.org/wiki/Reibungskoeffizient) for this purpose. Based on normal force and friction coefficient -> but to get normal force I have to either calculate it via f=ma or directly in "acceleration calculation" -> maybe change this to summing up the force on an object and do acceleration afterwards ?

* change to verlet integration
* add factory for cloth

## Current State
### Springs
![image](images/springs.png)

### Orbits
![image](images/chaotic_orbits.gif)

### Stable orbits
![image](images/stable_orbits.png)