Physix.go
March 28, 2025 · View on GitHub
A Simple Physics Engine in GoLang ☻
![]() Newton's Cradle | ||
![]() Double Pendulum |
![]() Flappy Bird |
![]() Platformer |
![]() SoftBody |
![]() Soft Body 2 |
![]() Particle System |
![]() Bounce |
![]() Box Collision |
![]() Oblique Collision |
Introduction
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.
Features
- Vector Calculations
- Physics Calculations
- Spring Dynamics
- Easy to use with Ebiten.go
Getting Started
Prerequisites
- GoLang must be installed.
- Ebiten must be installed.
Installation
To start, clone this project:
git clone https://github.com/rudransh61/Physix.go
Or install it using go get:
go get github.com/rudransh61/Physix-go@v1.0.0
Then run the example files from the ./examples folder. For example:
go run ./examples/ex4.go # which is a simple circular motion
Documentation
For more detailed documentation, refer to the docs folder.
Contributing
New contributors are welcome! If you have any doubts related to its working, you can ask us by opening an issue.
License
See LICENSE.md file.
Acknowledgments
Inspired by Coding Train - Daniel Shiffman









