The directory contains python code which uses projections method to get the dynamics of a triple pendulum coupled with spring and damper to replicate the oscillating fish of a fish.