Skip to content

Holdrick/MassSpringDemo

Repository files navigation

Uses glfw-3.1.1, glew-1.13, and glm (not included in solution)

Instructions:
-run make to build the program
-call ./asg3 with the type of simulation you want to see as the first argument
  -enter 'spring' for a ball on a spring
   --enter the mass of the ball as the second argument
  -enter 'pendulum' for a chain of balls with springs
   --enter the number of balls in the chain as the second argument
  -enter 'cube' for the cube simulation
  -enter 'cloth' for the cloth simulation

Key bindings:
-Left/right mouse button to zoom in and out
-Arrow keys to rotate the scene

About

Visual simulation of a mass spring system

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published