See Swirl by Eric W. Weisstein from MathWorld, a Wolfram Web Resource.
The program plots points in polar coordinates where the intensity of a point is given by:
F(r, t) = Sin(6 * Cos(r) - n * t)
Subroutine DrawSwirl draws the fractal. For each pixel in the output area, the routine calculates the corresponding polar coordinates (r, t) and then plugs r and t into the equation above.
|