Wednesday, August 1, 2007

Scott Wallace Demonstrates Squeak Scripts at Squeakfest 07

In the second session of Squeakfest 07 (Day 1), Scott Wallace demonstrated some useful scripting tips in the Etoys/OLPC version of Squeak. One of the challenges when doing complex modeling, such as Scott's example of a mother whale having a baby whale at a certain age, can be challenging. Having an object create a sibling is simple, but how do we differentiate it from the parent? Scott showed techniques that allowed one object, for example, the mother whale, to send messages to a sibling whale (the baby), setting its parameters (ie., color, width, motion) to be different from the parent object. These sorts of techniques have many applications in biological modeling.

No comments: