Skip to content

Latest commit

 

History

History
42 lines (29 loc) · 1.02 KB

README.md

File metadata and controls

42 lines (29 loc) · 1.02 KB

RENDER

3D rendering from scratch in C

Screen.Recording.2024-12-21.at.13.18.37.mov

Earlier versions:

Screen.Recording.2024-04-24.at.15.18.14.mov
ascii_cube.mov

Building

Render in GUI window (using raylib to draw the pixels into a window):

$ mkdir bin/
$ make libs
$ make all MODE=release RENDER_MODE=raylib
$ ./bin/ascii3d

The GUI version currently only builds on macOS and Linux due to dependency managing, but the ASCII supports pretty much anything.

You could also try using yeb for building, which is a build system in C that bootstraps itself from a single header file:

# Bootstrap yeb
$ cc build.c && ./a.out
# ASCII:
$ ./yeb/yeb --release       
$ ./bin/render
# GUI:
$ ./yeb/yeb libs
$ ./yeb/yeb --release --gui
$ ./bin/render

LICENSE

This repo is licensed under GPLv3