Skip to content

JuliusJacobitz/cloth_sim_2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Physics / Cloth sim

TODO

  • object collision

  • friction on surfaces: Use this 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 ( https://pikuma.com/blog/verlet-integration-2d-cloth-physics-simulation )

  • add factory for cloth

Current State

Springs

image

Orbits

image

Stable orbits

image

About

Writing a physics / cloth sim from scratch without llm support

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages