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.NoRepositoryDescriptionTutorial
1image-viewerImage Viewer In C (SDL2)
2file-compressorFile Compressor / Decompressor in C
3file-splitterA minimal command-line file splitter written in C
4donutASCII Donut Spinner in C
5lorenzTerminal-based 3D ASCII rendering of the Lorenz attractor
6knotTerminal-based 3D ASCII torus-knot animation in C
7emberTerminal-based recreation of the PSX DOOM fire effect in C
8tracerA simple real-time 2D ray tracer written entirely in C.
9lifeConway's Game of Life in C.
10horizonSchwarzschild Black Hole in C.
11mandelMandelbrot infinite-zoom animation.
12barsSorting Algorithm Visualizer in C.
13binTreeBinary Search Tree Visualiser in C.
14casterDOOM-style raycaster rendered as ASCII, in C.
15plasmaOld-school demoscene plasma effect in C.
16allocatorA malloc/free implementation built from scratch in C.
17pngdecoderA from-scratch PNG decoder with chunk parsing and inline DEFLATE decompression.
18filtersA command-line PPM image filter tool in C.
19dbkeyA persistent key-value store with a hash map backend and binary file persistence.
20compilerA tiny but complete compiler implemented in a single C file.
21httpserverA minimal HTTP/1.1 static file server in a single C file.
22dnsA real DNS resolver that speaks the DNS wire protocol over UDP, in C.
23cubeSpinning 3D wireframe cube rendered as ASCII in C.
24mazeAn animated maze generator using recursive-backtracker carving, in C.
25warpWarp-speed starfield animation in the terminal, in C.
26tunnelDemoscene tunnel effect rendered in the terminal, in C.
27chaosSierpinski triangle drawn with the chaos game, in C.
28rippleWater-ripple height-field simulation in the terminal, in C.
29boidsBoids flocking simulation in the terminal, in C.
30antLangton's ant cellular automaton in the terminal, in C.
31llvAn interactive doubly-linked list visualiser with full operation support, in C.
32md2htmlA single-pass Markdown to HTML5 converter in C.
33chessA fully legal terminal chess engine in C.
34cmusicA real-time ASCII music spectrum analyser that reads raw PCM audio from stdin, in C.
35braindeadBrainfuck interpreter with a live tape view, in C.
36snakeClassic Snake game in the terminal, in C.
37tacUnbeatable Tic-Tac-Toe with a minimax AI, in C.
38pongPong with a simple AI opponent in the terminal, in C.
39jsontreeJSON parser that prints the parse tree, in C.
40blocksTetris in the terminal, written in C.
41relayTCP relay / echo server in C.
42cshellMinimal Unix shell with pipes and redirection, in C.
43hexviewHexdump clone: hex + ASCII view of any file, in C.
44tiles2048 sliding-tile game in the terminal, in C.
45trexA kilo-style terminal text editor implemented in a single C file.
46sandFalling-sand cellular simulation in the terminal, in C.
47rainMatrix-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 tracerPublic

    ► Real-time ray tracer in C.

    C 1

  2. ember emberPublic

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

    C 1

  3. horizon horizonPublic

    ► Schwarzschild black hole simulator.

    C

  4. mandel mandelPublic

    ► Mandelbrot infinite-zoom animation.

    C

  5. donut donutPublic

    ► Donut In C

    C

  6. lorenz lorenzPublic

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

    C

Repositories

Showing 10 of 48 repositories

Top languages

Loading…

Most used topics

Loading…