Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/decentraland-scenes/cannon-example-scene

Using cannon.js to simulate several bouncing balls
https://github.com/decentraland-scenes/cannon-example-scene

decentraland

Last synced: about 1 month ago
JSON representation

Using cannon.js to simulate several bouncing balls

Awesome Lists containing this project

README

        

# Cannon Example Scene

_demo of cannon-example-scene running in preview._

![demo](https://github.com/decentraland-scenes/cannon-example-scene/blob/master/screenshots/cannon.gif)

## Description
Simulating a bunch of balls bouncing using the [cannon.js](https://github.com/schteppe/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.