In this simulation we give life to the flight of butterflies using two parametric equations of the known "butterfly curve". The flight is simulated by drawing symmetrical wings. The journey undertaken by both butterflies of the simulation is a sine curve with small perturbations produced by the addition of random numbers.
Any suggestions / comments are appreciated.
I added a modification of the original file solving malfunctions "uicontrol". I also include the code in html.
In this update we have included several files that display the contents of the simulation parts to achieve the end result that was shown previously