Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/decentraland-scenes/cannon-example-scene
- Owner: decentraland-scenes
- Created: 2020-07-07T19:19:07.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-03-24T20:50:26.000Z (over 2 years ago)
- Last Synced: 2024-08-05T15:04:38.584Z (5 months ago)
- Topics: decentraland
- Language: TypeScript
- Homepage:
- Size: 8.24 MB
- Stars: 3
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- Awesome-Repository - Bouncing Balls
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.