{"id":17044404,"url":"https://github.com/srush/torch-mechanics","last_synced_at":"2026-02-06T05:04:14.193Z","repository":{"id":66268218,"uuid":"549988001","full_name":"srush/torch-mechanics","owner":"srush","description":"Amateur experiments with autodiff mechanics simulators","archived":false,"fork":false,"pushed_at":"2022-10-12T03:23:21.000Z","size":5,"stargazers_count":7,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-10-12T00:53:14.588Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/srush.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-10-12T03:16:06.000Z","updated_at":"2024-04-14T21:48:51.000Z","dependencies_parsed_at":null,"dependency_job_id":"f9e81177-07d7-4c21-b1c7-d25ef88aaff3","html_url":"https://github.com/srush/torch-mechanics","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/srush/torch-mechanics","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/srush%2Ftorch-mechanics","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/srush%2Ftorch-mechanics/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/srush%2Ftorch-mechanics/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/srush%2Ftorch-mechanics/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/srush","download_url":"https://codeload.github.com/srush/torch-mechanics/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/srush%2Ftorch-mechanics/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29151633,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-06T02:39:25.012Z","status":"ssl_error","status_checked_at":"2026-02-06T02:37:22.784Z","response_time":59,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-14T09:34:18.774Z","updated_at":"2026-02-06T05:04:14.170Z","avatar_url":"https://github.com/srush.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# torch-mechanics\nAmateur experiments with autodiff mechanics simulators\n\nGoal: \n\n* A mini-golf simulator in torch / torchdynamo\n* Method - non-holonomic Lagrangian mechanics with an Euler discretization and Newton steps. \n\nTarget:\n\n* https://afqueiruga.github.io/programming/2019/04/15/pendulum_ad.html\n\nTo understand\n \n* https://blog.jle.im/entry/hamiltonian-dynamics-in-haskell.html\n* https://github.com/MasonProtter/Symbolics.jl\n* https://towardsdatascience.com/how-to-turn-physics-into-an-optimization-problem-11b3fbf83062?gi=e0c39ffc162f\n\nODE part\n\n* https://ocw.mit.edu/courses/18-086-mathematical-methods-for-engineers-ii-spring-2006/e548f1cb5f6c6bc9a5c90ee5180a3b91_am51.pdf\n\n(srush learns physics)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsrush%2Ftorch-mechanics","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsrush%2Ftorch-mechanics","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsrush%2Ftorch-mechanics/lists"}