Hey,
Here is a program I made which has interested quite a lot of people over the past few weeks, so I figured I would share it :)
Using a small amount of trigonometry you can create some very fascinating shapes and effects. But in order to draw anything you need a surface to draw on, so to keep the code short and simple, instead of making my own window, it will open mspaint.exe and emulate some mouse activity (mouse clicking / moving). Before you start the application make sure that mspaint's drawing area fills the window or it may not work fully.
For some intresting shapes try the following inputs:
Spiral
Angle Speed: 10
Radius Speed: 1
Frame interval: 15
Box
Angle Speed: 90
Radius Speed: 1
Frame interval: 15
Curved Box
Angle Speed: 91
Radius Speed: 1
Frame interval: 15
Triangular
Angle Speed: 120
Radius Speed: 2
Frame interval: 15
Triangular curved
Angle Speed: 121
Radius Speed: 2
Frame interval: 15
Random
Angle Speed: 156
Radius Speed: 1
Frame interval: 15