Ulam spiral

In the process to learn JavaScript and, of course, to develop something “useful” I wrote a little program which draws the famous Ulam spiral (see Wikipedia for the description). The code can be found here,  in the Projects section. Maybe, someone would find it useful. Download the code here: ulam.

The Ulam spiral with 400 by 400 pixesl.
The Ulam spiral with 400 by 400 pixesl.

Leave a Reply

Your email address will not be published. Required fields are marked *

*