Connect with us

Hot Math News

Sharks And Minnows Simulation


Sharks And Minnows Simulation

This video is a 2-D simulation of Predator-Prey interactions, with reflecting boundaries. Red dots represent “Sharks”, that must eat blue dots, “Minnows”, in order to survive and reproduce. The Minnows reproduce at a constant rate, and move according to 2-D Brownian Motion. The simulation was created for the Autumn 2010 SIAMUW Math Fair at Lockwood Elementary School in Bothell, WA.

There are intentional pauses in the video inserted at “days” 4,44,74,106,141. If used in a classroom setting, the video can be paused and the number of Sharks and Minnows counted as an activity for the students.

Python Source Code to generate this simulation can be found at:

For more information about the Math Fair, visit:

Music is Suite No. 1 in G Major Courante, performed by Yo Yo Ma. The authors make no money from this video, and intend it for educational uses only.

Funding for the Math Fair provided by the NSF GK-12 Program:

Lockwood Elementary School:

Math Fair is a project of the University of Washington student chapter of the Society for Industrial and Applied Mathematics (SIAM):

Special thanks to the organizers of the Math Fair, and especially all of the volunteers that make this possible![youtube]

Popular Posts

Recent Posts


To Top