Skip to content

bryik/aframe-dominoes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A-Frame Dominoes

Playable with HTC Vive.

This repository contains a small demonstration of A-Frame with Vive controllers and physics powered by A-Frame Extras.

Controls

Press (and hold) the trigger to pickup a domino, release the trigger to drop.

Push the trackpad to spawn a domino. Release the trackpad to drop.

Press the menu button to remove dominoes from the table.

Pressing the grip buttons will cause a stick to materialize at the end of your controller. Useful for setting off dominoes at a distance. Press the grips again to make it disappear.

See this video for a demonstration.

Bugs and Instability

The physics system is a bit unstable. Weird things may happen! The preset dominoes sometimes explode or topple over when I load the page.

Local Development

To serve the site from a simple Node development server:

npm start

Then launch the site from your favorite browser:

http://localhost:3000/

If you wish to serve the site from a different port:

PORT=8000 npm start

License

This program is free software and is distributed under an MIT License.

Releases

No releases published

Packages

No packages published