You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 7, 2024. It is now read-only.
Repository navigation
This repository was archived by the owner on Feb 7, 2024. It is now read-only.
Contributing more examples and basic drawable shapes #45
I've spent some time playing with react-game-kit and did reproduce several examples from the official matter-js repo. The single demo currently commited in the repo is really nice but makes it quite hard to build basic things like gravity demos.
Would be great to have basic shape elements, like a Rectangle, a Circle that can easily be drawn into the dom.
Using SVGs is quite easy, properly rendering a pure div however is not trivial. I think we should keep all options on the table (even with Canvas on the corner) since it allows more creative usage of the lib.
Maybe we should go for several base classes (SvgRectange, DivRectangle)?
Activity
[-]Contributing more examples and a DrawableBody[/-][+]Contributing more examples and basic drawable shapes[/+]