fosspointer / PhysicsCPP

Modular library and software for creating/interacting with physics demonstrations, written in C++

Home Page:https://fosspointer.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Physics school project

First Screenshot Second Screenshot

Dependencies

  • SFML 2.5.1 for rendering graphics (packaged as submodule)

Requirements

  • System that supports legacy OpenGL (graphics only)
  • CMake 3.16 or greater
  • Ninja/GNU Make
  • A c++ compiler such as clang or g++ with c++ 17 support (standard c++ support, no need for extension support)
  • Git for cloning recursively (optional, *.zip downloads are not encouraged)
  • (All of the mentioned tools must be in the PATH in order for the instructions to work properly)

Build instructions for bash/powershell

git clone --recursive https://github.com/undefinedpp/physics.git
cd physics && mkdir build && cd build && cmake -G [name of generator] ..

For CMake generator examples, see Link to the CMake manual

Personal coding environment

See my user repository

Pros for developers

  • Modular and extensible
  • Simple, easy to understand UI library
  • Easy to code demonstrations in
  • Well organized source control

UI library elements

  • Labels
  • Buttons
  • Layouts (HLayout, VLayout, HGrid)
  • Sliders
  • Dropdowns

Future plans

  • Allow usage of different rendering/audio engines and implementing such cases
  • Expand demonstration capabilites of the software
  • Optimize for ease-of-use of client-implementation, simplifying the proccess further

About

Modular library and software for creating/interacting with physics demonstrations, written in C++

https://fosspointer.com


Languages

Language:C++ 98.3%Language:CMake 1.7%