Skip to content

rudransh61/Physix-go

Repository files navigation

Physix.go

A Simple Physics Engine in GoLang ☻

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/[email protected]  

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