File Exchange

image thumbnail

Butterflies Simulation

version 1.2 (21.7 KB) by

In this simulation gives life to the flight of two butterflies that go to a meeting.



View License

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.

Comments and Ratings (1)


thanks for sharing



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

MATLAB Release
MATLAB 8.0 (R2012b)

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video

Win prizes and improve your MATLAB skills

Play today