@zimjs/physics
v2.2.7
Published
Physics with Box2D for ZIM JavaScript Canvas Framework
Downloads
20
Readme
new Circle().center().addPhysics();
const physics = new Physics();
physics.drag(); // will make dynamic objects draggable
new Circle().center().addPhysics({bounciness:.7});
import zim from "https://zimjs.org/cdn/016/zim_physics";
import zim from "zimjs"
import { Physics } from "@zimjs/physics"