Skip to content

Small Physics Engine for simple C++ experiments

License

Notifications You must be signed in to change notification settings

filipi/smallPhysics

Repository files navigation

screenshot

smallPhysics

Small Physics Engine for simple C++ experiments

Originaly designed for softbody simulations intented to be used as phantoms to Electrical Impedance Tomography

Building example applications

There are two example applications, eitsim and mantle

  • eitsim is a attempt to sketch a eletrical impedance simulator for a simple conductive foam.

  • mantle is an example of using 2D physcis for clothing simulation

Linux/MacOS

Installing dependecies (glut, lib-jpeg, libglew)

In Debian derivatives (Ubuntu, etc)

sudo apt install freeglut3-dev libjpeg-dev libglew-dev

In MacOS

brew install glew

To compile the examples:

To simulate a matress:

make eitsim

To simulate a sheet of fabric

make mantle

Cross compiling windows executable on Linux

  • To cross compile example applications for windows on a Linux environment, you will need:

About

Small Physics Engine for simple C++ experiments

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages