public class AnimationModel_Delegated_V0
extends java.lang.Object
This class encapsulates the data requires to model a "world" where things
happen step by step. At each step, a dot travels along a roughly diagonal
path from an upper-left to lower-right direction, starting at the origin. At
each step, the path of the dot is subject to a randomly-generated
perturbation in both the horizontal and vertical dimensions.
The filled dot starts out with colour black. At each step, the colour of the
filed dot changes to become slightly lighter on the greyscale. When the
colour white is reached, the colour resets to black and the process begins
anew.
This class encapsulates drawing functionality; when passed a graphics2D
object, this model will draw itself upon it and will advance one step.
- Author:
- mb