Clove
A Simple Physics Engine to simulate Hooke's law in a 2D environment
Loading...
Searching...
No Matches
Clove Documentation

Clove - Physics Engine

Goal

  • Simulate Hookes Law Accuractely
  • Optimise code to create and efficient physics engine which doesn't drain computer resources
  • The physics engine will be cross platform (Usable on Windows and Linux)

Tech Stack

Frontend

  • OpenGL - Used for rendering the GUI
  • GLFW - Used for creating and managing the GUI window

Backend

  • GLAD - Provides function pointers for OpenGL at runtime

Languages

  • C++ - Main language used for the majority of the program for it's versatility and speed
  • GLSL - Used for writing shaders in OpenGL

Controls

Mouse

  • Left Mouse Click - Spawn Box
  • Middle Mouse Click - Delete All Spawned Boxes

Keyboard

  • Enter Key - Toggle Light/Dark Mode
  • F4 Key - Close window shortcut

Installation

If you are running the source code from VS2022, you will need to have glfw installed via vcpkg.

It is recommended GLFW is installed through this method and not with the website's bin files as testing has shown that the bin files cause instability with the physics engine.

A link to an exe file will be provided at a later date