tinycompiler/test-programs/gfx at main · ssloy/tinycompiler · GitHub
Skip to content

Latest commit

 

History

History

gfx

README.md

Graphics!

It is so dull to compute Fibonacci numbers, so here are more eyecandy examples for tinycompiler.

build wend version:

git clone https://github.com/ssloy/tinycompiler.git &&
cd tinycompiler &&
make gfx

build C version:

git clone https://github.com/ssloy/tinycompiler.git &&
cd tinycompiler/test-programs/gfx/ &&
gcc breakout.c -o breakout &&
gcc fire.c -o fire &&
gcc mandelbrot.c -o mandelbrot &&
gcc metaballs.c -o metaballs -lm &&
gcc race.c -o race -lm

Mandelbrot set

Ray tracer

Zero-player breakout game

Fire

Sunset race

Metaballs