Glavin001 / physics-based-animation

Physics-Based Animation for CSCI 4471 Computer Graphics
https://github.com/Glavin001/physics-based-animation/blob/master/assignment-physics-based-animation.pdf
MIT License
6 stars 1 forks source link

Physics-Based Animation

Physics-Based Animation assignment for CSCI 4471 Computer Graphics


Author

Features

[✓] 1. Particle Simulation

Create a Particle class or structure that keeps track of (at least) position and velocity for each particle, as well as lifespan. Initial velocities should be easy to modify. It is recommended that you should be able to draw particles in two modes: either as circles (with a radius), or as points. Use your particle class to create simulations that demonstrate the following features:

Screenshots

1. Wall & Inter-particle collisions + Viscous Mediums

viscous medium and collisions

2. Wall & Particle Collisions + Viscous Mediums + Moving Attractor & Repellor

Top red particle is moving attactor. Bottom red particle is moving repellor.

particle_system

[✓] 2. Mass-spring Simulation

Screenshot

3x2 Particle Spring Mesh with extra springs for support

mesh