Skip to content

zalo/PhysicsWorkshop

Repository files navigation

Eventually this will be a toolbox where you can simulate using tools to shape materials.

Known issues:

  • Physics are Squishy: Need to use a weighted Kasch to account for kinematic collisions.
  • Physics are expensive: Need to enable sleeping and to reduce number of points in shape matching.
  • Physics are weird: Need to add internal non-colliding(?) points to the shape matching for better moment of inertia.

Building

This demo can either be run without building (in Chrome/Edge/Opera since raw three.js examples need Import Maps), or built with:

npm install
npm run build

After building, make sure to edit the index .html to point from "./src/main.js" to "./build/main.js".

Dependencies

About

Shape objects and parts with physically based tools

Topics

Resources

License

Stars

Watchers

Forks