Skip to content

Latest commit

 

History

History
33 lines (28 loc) · 1.1 KB

README.md

File metadata and controls

33 lines (28 loc) · 1.1 KB

usg

Tiny program for generating Ulam Spiral and writing it as simple image file.
Currently supporting uncompressed .bmp and .ppm files
(but .bmp can be easily converted and compressed by external tools)
This project was created in order to explore Prime numbers generation algorithms
and in order to find a simple and portable implementation for writing image to the disk.

spiral

BUILDING

Either, with GNU/make on POSIX (Linux, MacOSX, MinGW, etc):

$ git clone https://github.com/sleeptightAnsiC/usg.git
$ cd usg
$ make

OR, with any C99-capable compiler:

$ cc src/*.c

REFERENCES

LICENSE

Copyright holder: https://github.com/sleeptightAnsiC
Code under this repository is licensed under permissive MIT/X license