ARITHMOS — 40 MATHEMATICAL SHAPES IN C

Every .c file is a complete, standalone C11 program.
Use GCC or Clang. No graphics libraries or other source files are needed.

For example:
  cc -std=c11 -O2 sacks.c -lm -o sacks
  ./sacks
  Open sacks.svg in your browser.

Choose an output filename:
  ./sacks my-spiral.svg

Mandelbrot and Julia produce PPM raster images instead of SVG:
  cc -std=c11 -O2 mandelbrot.c -lm -o mandelbrot
  ./mandelbrot
  ./mandelbrot 1600 1000 300 larger.ppm
  Use a PPM-capable image viewer or convert the file to PNG.

On Windows with GCC, name the executable sacks.exe and run it from
that folder. Replace sacks with the desired example name.

To change a picture, edit the constants near draw() and compile again.
For Mandelbrot/Julia, read the parameter comments inside main().

These programs generate static images. The website supplies interactive
animation and step-by-step lessons. Finite plots are not proofs; read the
comments and each example's page for its mathematical limitations.

Website: https://arithmos-number-atlas.yuggupta.chatgpt.site/

All 40 programs were compiled and executed with AddressSanitizer and
UndefinedBehaviorSanitizer during preparation. Rendered SVGs were also
parsed and checked for finite coordinates.

EXAMPLES
collatz.c
cubic-chords.c
deep-fibonacci-word-fractal.c
deep-rauzy-tribonacci.c
eisenstein-prime-field.c
euler-quadratic.c
ford.c
gaussian-prime-field.c
geo-billiards.c
geo-fareyQuadraticRiver.c
geo-hilbert.c
geo-hypercubeProjection.c
geo-integerHypotrochoid.c
geo-integralApollonian.c
geo-modularStars.c
geo-paleyGraph.c
geo-pisanoTorus.c
geo-primitiveRays.c
geo-projectivePlane.c
geo-quadraticGaussWalk.c
geo-rationalRose.c
geo-theodorus.c
julia.c
logistic.c
mandelbrot.c
paperfolding.c
pascal.c
phyllotaxis.c
polar.c
polynomial-residue-carpet.c
quadratic-orbit-basin.c
quadratic-prime-atlas.c
recaman.c
rudin-shapiro.c
sacks.c
sum-two-squares-shells.c
times.c
totient-fan.c
ulam.c
yellowstone.c
