0.4.1-patch.1 • Published 4 years ago
react-dom-box2d v0.4.1-patch.1
Use 2d Physics Simulation for your react-dom elements.
Box2d Physics Engine integrated with react-dom
see it in action
https://codesandbox.io/s/xpv3ypv06q
Install
npm i react-dom-box2d
documentation
Demos
shapes demo
https://1466m84mxl.codesandbox.io/
Force Demo
https://q8l48rwk49.codesandbox.io/
Collision detection demo
Rationale
- Writing games is more fun
- Writing games should be simpler
- Physics simulations are cool
FAQs
1.Why dom ?
Dom is definitely slower compared to Canvas/WebGL. But there is a good reason for it. Dom does a lot of things , that would be not easy to implement ourselves (event handling, accessibility, layout,style,...etc)
And also this would lower the barrier of entry for majority of Web Developers (use css for styling)
0.4.1-patch.1
4 years ago
0.4.1
4 years ago
0.4.0
4 years ago
0.4.0-alpha.1
5 years ago
0.2.0-alpha.2
5 years ago
0.2.0-alpha.1
5 years ago
0.2.0-alpha
5 years ago
0.1.0-alpha.7
5 years ago
0.1.0-alpha.6
5 years ago
0.1.0-alpha.5
5 years ago
0.1.0-alpha.4
5 years ago
0.1.0-alpha.3.1
5 years ago
0.1.0-alpha.3
5 years ago
0.1.0-alpha.2
5 years ago
0.1.0-alpha.1
5 years ago
0.1.0-alpha
5 years ago