Skip to content

A HTML5 Canvas demonstration challenge to generate randomly coloured balls and shoot them in random directions with random speeds. Included canvas resizing and boundaries for the balls to bounce.

License

Notifications You must be signed in to change notification settings

xavier-thomas/random_balls_html5canvas

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

random_balls_html5canvas

A HTML5 Canvas demonstration challenge to generate randomly coloured balls and shoot them in random directions with random speeds. Included canvas resizing and boundaries for the balls to bounce.

Gravity, friction and colision dampening effects are explored in the branch of this project

This Project is set up as a NodeJS project using the HAPI framework and configured to serve static files. The Project also uses GULP to provide automated build process and minification.

To run the project, download it to a folder and open a terminal at the root of the said folder. You need to have Node and NPM installed to run the build process and serve the html file as a web page. Alternatively open the public/index.html file in your browser

Run 'Npm Install' to install the npm modules used in this project. Run 'gulp' to execute the automated minification and build process. run 'node index.js' to run the nodejs server

browse to localhost:8080 to view the web application or alternatively open the public/index.html file in your browser

About

A HTML5 Canvas demonstration challenge to generate randomly coloured balls and shoot them in random directions with random speeds. Included canvas resizing and boundaries for the balls to bounce.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published