A declarative approach to setting up a cannon-es physics simulation using Svelte components.
bfanger/svelte-cannon.gitExamples
- Jumpy Box
A cube, a floor, some events, and maybe even a ball.
- Pill Eater
Top down game where the yellow hero hunts for power pills.
- Bridge
Example of using the LockConstraint
- Double pendulum
Using the DistanceConstraint to "exhibit rich dynamic behavior - Wikipedia"
- Minimal
A ball that keeps falling (the Readme example)
- Debugger
- Spring
Box hanging on a spring original by cannon-es