paulrenenichols / html5-canvas-physics

Canvas based physics simulations

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

html5-canvas-physics

Physics demos built on ES2015 (ES6), babel, webpack, Redux and React. Yay!

Running the application

Of course, make sure that you have a current version of Node.js. Any version after 4.0.0 should be fine. Personally, I like to use nvm so that I can change my node version as needed.

Next, you need to clone the repo, and run npm install.

Once you have all of that, type npm run dev on the command line. This will start the server on localhost:8080.

There are more build scripts defined in the package.json scripts section, if you're interested in building your bundle for production.

Releases

  • 0.4.1 Bouncing Ball Demo canvas is now somewhat responsive to window resize.

  • 0.4.0 Adding Bouncing Ball demo to project.

  • 0.3.0 Basic flexbox layout. Also added autoprefixer to the webpack build.

  • 0.2.0 Same as 0.1.0, but now with react-router and route definitions.

  • 0.1.0 This is just a seed project using Babel 6, built for Node 4.0.0 and up. Feel free to use this if you're building a new project from scratch. Future releases will include physics demos.

About

Canvas based physics simulations


Languages

Language:JavaScript 92.1%Language:CSS 5.4%Language:HTML 2.5%