just follow the instructions for drawing a shape. then for either swinging this shape or transforming it.
just tweeked the coding , removing some clearing, altering the pen size, adding pen colour automatic changing , and adding a couple of variables to alter the swing draw pen. majority of the coding is of the original project my mikeono 102