Skip to content

Tiny program for generating Ulam Spiral and writing it as image file

License

Notifications You must be signed in to change notification settings

sleeptightAnsiC/usg

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Tiny program for generating Ulam Spiral and writing it as image file

Topics

Resources

License

Stars

Watchers

Forks