turtles, sprites, particles


There are three programs included in this example:

  1. colorscolors - very simple model of running dots, that are created as child turtles; dots are vanishing, which illustrates the use of color and transparency of turtle's icons.
  2. fireworks - dynamic and also a simple to code simulation; we were using it on the New Year's Eve.
  3. fountain - a bit more developed code which is shooting turtles against the gravity and the wind; some of the parameters can be adjusted with sliders.

Objects (turtles) in all simulations are not interacting at each other. This allows for a high efficiency of code. Examples show also the performance of the code which continuously creates and deletes large number of objects. Framework.NET is quite a bit better than the virtual machine of Java in such a tasks ;).

download project