Skip to content

gusfrehse/phys-sim

Repository files navigation

phys-sim

A gif video of the application running

A physics simulator in vulkan. Base engine based mostly from Vulkan Tutorial.

Controls

  • WASD: move the camera.
  • Shift/Space: Zoom out/in.
  • t: Time step (once per frame, has the effect of speeding up time)
  • [/]: Deaccelerate/accelerate time. If you deaccelerate enough, time will start going backwards.

Building

Linux

Install the dependencies: Premake5, GLM, SDL2 and Vulkan SDK.

Then in the shell, do

$ premake5 gmake
$ ./make_shaders.sh
$ make

To run:

$ ./build/bin/Release/project

About

Simple Particle simulation

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages