Spiral Graph Generator

By Nicholas Erho

This C++ cgi script is designed to create a spiral graph bitmap picture, with each layer from the information gathered from the form below. Sample and user created spiral graph pictures can be viewed here.


File Information:

File Name       Picture Dimensions [0 - 800]       New Picture

Note: To create a new picture ensure "New Picture" is selected; to add a layer deselect "New Picture", while ensuring that the file name is of the file you wish to add the layer too.

Spiral Graph Information:

Spiral Graph Size [0 - Picture Dimensions]       Center Space [0 - 1.0]

Note: Center Space is the area of the hole in the spiral graph picture, where 0.50 has no hole and 0 or 1.0 has the maximum hole size.

RGB Line Colour:

Red [0 - 255]      Green [0 - 255]        Blue [0 - 255]

Wave Phase Information:

X Phase 1 [-1.0 - 1.0]      Y Phase 1 [-1.0 - 1.0]

X Phase 2 [-1.0 - 1.0]      Y Phase 2 [-1.0 - 1.0]

Note: To produce nice spiral graphs the X and Y phase values should be the same, while the Phase 1 and Phase 2 values are different. For example: X Phase 1 = Y Phase 1 = 1 and X Phase 2 = Y Phase 2 = -0.1.

      Please note that the creation of the spiral graph picture may take several minutes depending on the size.