https://github.com/srush/torch-mechanics
Amateur experiments with autodiff mechanics simulators
https://github.com/srush/torch-mechanics
Last synced: 4 months ago
JSON representation
Amateur experiments with autodiff mechanics simulators
- Host: GitHub
- URL: https://github.com/srush/torch-mechanics
- Owner: srush
- Created: 2022-10-12T03:16:06.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-10-12T03:23:21.000Z (over 3 years ago)
- Last Synced: 2025-10-12T00:53:14.588Z (8 months ago)
- Size: 4.88 KB
- Stars: 7
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# torch-mechanics
Amateur experiments with autodiff mechanics simulators
Goal:
* A mini-golf simulator in torch / torchdynamo
* Method - non-holonomic Lagrangian mechanics with an Euler discretization and Newton steps.
Target:
* https://afqueiruga.github.io/programming/2019/04/15/pendulum_ad.html
To understand
* https://blog.jle.im/entry/hamiltonian-dynamics-in-haskell.html
* https://github.com/MasonProtter/Symbolics.jl
* https://towardsdatascience.com/how-to-turn-physics-into-an-optimization-problem-11b3fbf83062?gi=e0c39ffc162f
ODE part
* https://ocw.mit.edu/courses/18-086-mathematical-methods-for-engineers-ii-spring-2006/e548f1cb5f6c6bc9a5c90ee5180a3b91_am51.pdf
(srush learns physics)