Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mikolalysenko/sdf-physics
WebGPU signed distance field physics engine
https://github.com/mikolalysenko/sdf-physics
Last synced: about 2 months ago
JSON representation
WebGPU signed distance field physics engine
- Host: GitHub
- URL: https://github.com/mikolalysenko/sdf-physics
- Owner: mikolalysenko
- Created: 2023-07-02T19:59:40.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-07-02T20:00:04.000Z (over 1 year ago)
- Last Synced: 2024-10-20T14:27:52.397Z (2 months ago)
- Language: TypeScript
- Size: 22.5 KB
- Stars: 21
- Watchers: 5
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# SDF Physics
A WebGPU rigid body dynamics simulator where all geometry and constraints are specified by implicit signed distance functions.
For project history, check the [log](LOG.md).
# Development
Clone this repo, and using node.js/npm run:
```
npm ci
```Once all dependencies are initialized there are two basic commands:
* `npm run watch`: Sets up a live reloading server for working on the demos
* `npm run build`: Builds all the demosAnd one very dangerous command:
* `npm run gh-pages`: Which builds all the files and pushes them to gh-pages
All the code is in `src/demos`, take a look if you are curious
# License
(c) 2023 Mikola Lysenko. MIT License