![]() Newton's Cradle |
||
![]() Double Pendulum |
![]() Flappy Bird |
![]() Platformer |
![]() SoftBody |
![]() Soft Body 2 |
![]() Particle System |
![]() Bounce |
![]() Box Collision |
![]() Oblique Collision |
Physix.go is a simple, easy-to-use, and fast physics engine written in GoLang. It provides functions to perform physics calculations efficiently, including particle-based physics simulations.
- Vector Calculations
- Physics Calculations
- Spring Dynamics
- Easy to use with Ebiten.go
- GoLang must be installed.
- Ebiten must be installed.
To start, clone this project:
git clone https://github.com/rudransh61/Physix.go
Or install it using go get
:
go get github.com/rudransh61/[email protected]
Then run the example files from the ./examples
folder. For example:
go run ./examples/ex4.go # which is a simple circular motion
For more detailed documentation, refer to the docs folder.
New contributors are welcome! If you have any doubts related to its working, you can ask us by opening an issue.
See LICENSE.md
file.
Inspired by Coding Train - Daniel Shiffman