This directory contains the source to dynadraw2, a program
which draws calligraphic strokes by filtering mouse movements.
Holding the primary mouse button down while dragging the
mouse produces a stroke.  Clicking the secondary mouse
button clears the window.

This version extends dynadraw by adding a menu which allows
the user to bring up an about box, quit the application, clear the
screen, or bring up a "tweakables" window or a color window.

The Tweakables window lets you vary the mass, drag, and width
of the pen, as well as letting you vary the mouse sample rate.
In addition, there are two checkboxes: Fixed angle, which defaults
to on, determines whether the pen is held at a fixed angle or not.
Wireframe, which defaults to off, determines whether to call
StrokePolygon or FillPolygon.  It gives a rather neat effect.

The color window lets you choose the pen color.  The color swatch
is updated when the user lets the mouse button up.  A good and easy
project for someone to do is to dynamically update the swatch.

It's interesting and fun to note that only the polygons and not any
state (ie, color and wireframe) are saved, so if you invalidate a region
of your drawing, it will be redrawn using the current state.  Some
might call this a bug, but really, it's a feature.  I usually drag my color
window around to invalidate pieces of the drawing.  


Michael Morrissey <jersey@be.com>
June 1998