Skip to content
@Corg-Labs

Corg-Labs

Exclusively C-themed.

Corg-Labs

Exclusively C-themed.

Corg-Labs is a collection of projects, experiments, and learning resources written in C — focused on understanding systems from the ground up.

This org is about:

  • Writing real C.
  • Keeping things simple, fast, and close to the metal.

Repositories

S.No Repository Description Tutorial
1 image-viewer Image Viewer In C (SDL2)
2 file-compressor File Compressor / Decompressor in C
3 file-splitter A minimal command-line file splitter written in C
4 donut ASCII Donut Spinner in C
5 lorenz Terminal-based 3D ASCII rendering of the Lorenz attractor
6 knot Terminal-based 3D ASCII torus-knot animation in C
7 ember Terminal-based recreation of the PSX DOOM fire effect in C
8 tracer A simple real-time 2D ray tracer written entirely in C.
9 life Conway's Game of Life in C.
10 horizon Schwarzschild Black Hole in C.
11 mandel Mandelbrot infinite-zoom animation.
12 bars Sorting Algorithm Visualizer in C.
13 binTree Binary Search Tree Visualiser in C.
14 caster DOOM-style raycaster rendered as ASCII, in C.
15 plasma Old-school demoscene plasma effect in C.
16 allocator A malloc/free implementation built from scratch in C.
17 pngdecoder A from-scratch PNG decoder with chunk parsing and inline DEFLATE decompression.
18 filters A command-line PPM image filter tool in C.
19 dbkey A persistent key-value store with a hash map backend and binary file persistence.
20 compiler A tiny but complete compiler implemented in a single C file.
21 httpserver A minimal HTTP/1.1 static file server in a single C file.
22 dns A real DNS resolver that speaks the DNS wire protocol over UDP, in C.
23 cube Spinning 3D wireframe cube rendered as ASCII in C.
24 maze An animated maze generator using recursive-backtracker carving, in C.
25 warp Warp-speed starfield animation in the terminal, in C.
26 tunnel Demoscene tunnel effect rendered in the terminal, in C.
27 chaos Sierpinski triangle drawn with the chaos game, in C.
28 ripple Water-ripple height-field simulation in the terminal, in C.
29 boids Boids flocking simulation in the terminal, in C.
30 ant Langton's ant cellular automaton in the terminal, in C.
31 llv An interactive doubly-linked list visualiser with full operation support, in C.
32 md2html A single-pass Markdown to HTML5 converter in C.
33 chess A fully legal terminal chess engine in C.
34 cmusic A real-time ASCII music spectrum analyser that reads raw PCM audio from stdin, in C.
35 braindead Brainfuck interpreter with a live tape view, in C.
36 snake Classic Snake game in the terminal, in C.
37 tac Unbeatable Tic-Tac-Toe with a minimax AI, in C.
38 pong Pong with a simple AI opponent in the terminal, in C.
39 jsontree JSON parser that prints the parse tree, in C.
40 blocks Tetris in the terminal, written in C.
41 relay TCP relay / echo server in C.
42 cshell Minimal Unix shell with pipes and redirection, in C.
43 hexview Hexdump clone: hex + ASCII view of any file, in C.
44 tiles 2048 sliding-tile game in the terminal, in C.
45 trex A kilo-style terminal text editor implemented in a single C file.
46 sand Falling-sand cellular simulation in the terminal, in C.
47 rain Matrix-style digital rain in the terminal, written in C.

Tutorial — ✅ indicates a video walkthrough is available. Other repos link back to the org.


Getting Started

  1. Pick a repository
  2. Read its README.md & go through the Tutorial.
  3. Build, break, and understand the code

Philosophy

  • No unnecessary abstractions
  • Prefer clarity over cleverness
  • If you don't understand it, rewrite it

Why C?

Because understanding computers starts here.

Popular repositories Loading

  1. tracer tracer Public

    ► Real-time ray tracer in C.

    C 1

  2. ember ember Public

    ► A terminal-based recreation of the legendary PSX DOOM fire effect written in C.

    C 1

  3. horizon horizon Public

    ► Schwarzschild black hole simulator.

    C

  4. mandel mandel Public

    ► Mandelbrot infinite-zoom animation.

    C

  5. donut donut Public

    ► Donut In C

    C

  6. lorenz lorenz Public

    ► A terminal-based 3D ASCII rendering of the Lorenz attractor

    C

Repositories

Showing 10 of 48 repositories

Top languages

Loading…

Most used topics

Loading…