Physically Based Animation Assignment
Group practical, max. two per group. Due: Nov.4, 2013.
The goal of this assignment is to develop an example of interactive physics. Write a program which creates and simulates a rectangular mass-spring network of n*m tiles, as illustrated in the following figure. The blue squares represent fixed particles. A downward gravity is applied. The user can interact with the system by repeatedly clicking, dragging and releasing arbitrary particles.
Implement two integration methods: symplectic Euler, then implicit Euler.
Input parameters: n, m, particle mass, spring stiffness, spring damping, gravity, time step.