Here the next version with a couple of tiny changes.
Bug fixes - form will now close properly
Added Features:
Exit button added
Changing parameters will not clear previous graph (use clear button to do this).
Lift/draw button added - if you want to make multiple changes to the parameters before starting a new graph then lift the pen, then hit draw to start drawing again when the parameters are all correct.
When resizing the movable radius the drawing radius will default to the new size (this drawing radius can be altered independently afterwards if required)
NB this default will be implemented optionally soon in an ini file.
1)TODO list
Option initialisation:
a) - colours
b)- drawing radius default
c) - start parameters
2) Colours:
a) pen
b) background
c) circles/pole ??? ( I think these should stay ghosted)
3) Better graphics - try to use setpixel to get a finer, more accurate line.
4) Graph movement
a) allow centre of drawing to move (Easy)
b) allow "slippy map" functionality and gesturing (Hard)
--------------------------------------------------
BTW This program started since discussing with my father about the envelope
of the sliding ladder situation (see ladder.sbp) we found that the astroid could also be produced by rolling circles.
PS - excuse the primitave nature of my coding - I may get better at it but after 30 years the chances are not all that good
Nick