decentraland-scenes / cannon-example-scene

Using cannon.js to simulate several bouncing balls

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cannon Example Scene

demo of cannon-example-scene running in preview.

demo

Description

Simulating a bunch of balls bouncing using the cannon.js physics engine.

Running the scene

After you clone the project, run the following:

$ npm i -g decentraland

Followed by:

$ dcl start

Use the Left Mouse Button or 'E' or 'F' keys to interact with the balls.

About

Using cannon.js to simulate several bouncing balls


Languages

Language:TypeScript 93.2%Language:Dockerfile 6.8%