Perfume


Perfume Source Code


What is it?
This project models the diffusion of perfume out of a bottle. Each turtle acts as a molecule of perfume. 
How to Use It
Click the SETUP button to create a turtle molecule on every patch in the lower half of the bottle, plus the number indicated by the NUMBER slider. Click the START button to watch the turtle molecules diffuse.

Both the amount of turtles inside the bottle and the amount of turtles outside the bottle are graphed in the plot window.
Perfume Interface

 

Things to Notice

 

Explorations
Currently the number of turtles inside and outside the bottle stabilizes fairly quickly. Can you change this by altering the number of turtles created? By changing the shape of the bottle using the paint tools?
StarLogo Features

 

 

 

We welcome your feedback and suggestions! Please send us email