kc0506 / ICG-Final

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Position Based Dynamics (PBD)

Final project of 112-2 ICG course. The project implement several basic simulation with PBD. Our report of the project is at ./report.pdf

How to run

You have to install Node.js and npm on your computer.

$ npm install
$ npm run dev

Now the demo scene will be on http://localhost:5173/.

We create following scenes (click the link to open):

  • Basic: This is a simple scene with a flag and a bunny.
  • Bunnies: Two bunnies connected by a distance constraint.
  • Flags: Three flags with different constraints and textures.
  • Pendulums: Three pendulums with different configs.

In each scene one can interact with the objects.

Division of the work

About


Languages

Language:HTML 52.3%Language:TypeScript 36.6%Language:TeX 10.6%Language:JavaScript 0.3%Language:CSS 0.2%