Helping a friend learn about bitmapped graphics, C, and Git.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
100x100circle.raw
100x100grad.raw
100x100rand.raw
1024x768rand.raw
1500x1000circle.raw
500x500lines1.raw
500x500lines3.raw
500x500lines4.raw
500x500lines5.raw
510x490lines2.raw
LICENSE
Makefile
README.md
circle.c
gfx.c
gfx.h
grad.c
line.c
rand.c
sdl_test.c

README.md

teaching_gfx

Helping a friend learn about bitmapped graphics, C, and Git. These programs demonstrate the connection between simple arrays and bitmapped graphics, in order to demonstrate the connections between layers of abstractions in computer systems.

The code structure is minimal; it's not an example of how to design the build process or architecture of a large C program.

Compiling

Type make.

Viewing images

Redirect the output of a command to a file, open with The Gimp as indexed raw image data.