How do I add a slider to my model?


A slider lets you change a variable on the fly, from within the model. Any shared variable can have a slider attached to it. After you've connected your slider and your Shared variable, you can then use it in place of a number elsewhere in the code. For example, to determine the number of turtles your program starts with.

Submitted by talaya on 6. March 2009 - 17:48