- All Implemented Interfaces:
- java.awt.event.ActionListener, java.util.EventListener
public class FrameDrawer_Squiggle_DelegatedV3
extends java.lang.Object
implements java.awt.event.ActionListener
This class encapsulates functionality for drawing successive 500x500 frames.
From one frame to the next, 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 functionality
as an ActionListener, so that objects of this type can listen for events that
trigger the drawing of the successive frames.
- Author:
- mb