OpenGL simulator of mass objects in space - according to Newton.
Go to file
2023-11-11 19:53:11 +01:00
.imgs Repository: add README.md file 2023-10-22 14:11:36 +02:00
assets Repository: refactor the project 2023-11-10 23:27:20 +01:00
scenes Objects: add scale property 2023-10-31 16:18:21 +01:00
.gitignore Camera: add lock functionality 2023-11-10 19:42:17 +01:00
CMakeLists.txt Repository: refactor the project 2023-11-10 23:27:20 +01:00
gravity.c Repository: refactor models loading and objects 2023-11-11 19:53:11 +01:00
LICENSE Initial commit 2023-10-09 23:33:53 +02:00
math.c Repository: refactor models loading and objects 2023-11-11 19:53:11 +01:00
math.h Repository: refactor the project 2023-11-10 23:27:20 +01:00
object.c Repository: refactor models loading and objects 2023-11-11 19:53:11 +01:00
object.h Repository: refactor models loading and objects 2023-11-11 19:53:11 +01:00
README.md Update README.md 2023-11-10 23:33:26 +01:00

Gravity


Pet project simulator for interactions between matter built off of OpenGL and C.

Goals and features:

  • Law of gravitation
  • Object tracing
    • Toggle object tracing
  • Grid
    • Toggle Grid
  • Scaling up/down objects
  • Locking camera view to an object
  • File format for importing scenes
  • Collision
  • Soft-bodies and structures

Installation

Gravity uses CMake as its build automation system. To download and run gravity, please follow these steps:

  • Clone the repository git clone https://github.com/0xdeadbeer/gravity
  • Create a build directory mkdir build
  • Go into the build directory cd build
  • Generate build files cmake ..
  • Compile project make all
  • Run ./gravity
  • Enjoy

Contributions

We highly encourage playing around with the software and contributing to the project. Before opening a pull request, the contributor is expected to open an issue in which they thoroughly describe the issue (or feature) they're solving (or implementing).

License

Gravity is licensed under the GPL-3.0 license. See the LICENSE file for more information.