Butterflies Simulation

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

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.

Cite As

zodiacfireworks (2024). Butterflies Simulation (https://www.mathworks.com/matlabcentral/fileexchange/36331-butterflies-simulation), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2012b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Find more on Just for fun in Help Center and MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes

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