Use clang and enable warnings
Add hotkeys for selecting current rule
Improve texture alignment
Depends on the sdl2-dev
package.
Build with make
, run with ./quad
.
The default size is 1024 pixels, optimized for 1080x1920px screens.
To use another size (ideally a power of two or a number 2^n * m where m is
small) run e.g ./quad 512
or ./quad 2048
.
Run with make run
.
1
...8
select rule to use for image
c
clear rules
d
decrease resolution
i
increase resolution
o
toggle outlines
v
invert colors
r
save as bitmap (quad-render.bpm
)
q
quit