Optimal Golestanian Swimmer

This is a simulation based on the model swimmer by Golestanian and Najafi, which illustrates the optimal stroke to swim for .01mm in 1sec. The stroke is optimal in the sense that it is the one that minimizes the energy consumption for a given average velocity.