Skip to content

crypticC0der/collisionSystem

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 

Repository files navigation

collisionSystem

a simple collision system, with particles,water and strings
it is only 2d as it was more of a test on using opengl than my mechanics skills

the strings and paritcles are coloured differently with respect to the particles mass and strings elasticity
the particles have variable mass, radius, initial position, velocity, both forces and acceleration can be applied
strings can have variable natural length and elasticity
they can be either strings or springs and can be connected to a mix of particles and static positions
water exists too, it is blue, the stronger blue the taller a single instance is
it will flow dynamically and around various objects

there are a few global constants, such as elasticity of particles, elasticity of horizontal walls and elasticity of vertical walls,
this was written entirely in c++ using the glut implementation of openGL

it is part of my summer of code project

About

simple collision system

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages