Skip to content

Tmw/ulam

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ulam Spiral

Inspired by this video by Daniel Shiffman I decided to give this one a try.

Implemented in C using SDL2 and compiled to WebAssembly using Emscripten.

TL;DR The idea of the Ulam spiral is that it renders a spiral placing marks (nodes) on every spot that is a prime number.

Get up and running

Prerequisites Assuming you have Emscripten installed

$ git clone git@github.com:Tmw/ulam.git && cd ulam
$ make serve &
$ make

This will clone the repo, start the dev server in the background and start building the source.

Screenshot

ulam

Demo

See the live demo here.

License

MIT

About

Ulam Spiral in C using SDL, compiled to WASM using Emscripten

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors