4RH1T3CT0R7

A 3D raycasting engine running inside a TrueType font's hinting virtual machine

23
1
100% credibility
Found Apr 07, 2026 at 23 stars -- GitGems finds repos before they trend. Get early access to the next one.
Sign Up Free
AI Analysis
Python
AI Summary

This repository creates a playable DOOM-style raycasting game embedded in the hinting instructions of a TrueType font file, rendered by browsers or font engines.

How It Works

1
🔍 Discover the magic

You stumble upon a fun project that squeezes a classic Doom-style game right into a font file, making letters draw 3D mazes.

2
🎮 Play instantly in your browser

Click the play button and dive into the maze using your keyboard to move, turn, and shoot enemies while walls render live.

3
💾 Bring it home

Download the special font and game files to try it on your own computer for smoother play.

4
Pick your play style
🌐
Browser fun

Load the page and enjoy the full game with enemies, shooting, and sounds right in your web browser.

🐍
Local viewer

Start a quick app to see the font draw the 3D view perfectly on your screen.

5
Watch the font come alive

Move around the maze and see the letter 'A' transform into walls, floors, and perspectives before your eyes.

🚀 Your mini-Doom adventure unlocked

You've got a tiny, working 3D shooter powered by font magic, ready to share or tweak for endless maze fun.

Sign up to see the full architecture

4 more

Sign Up Free

Star Growth

See how this repo grew from 23 to 23 stars Sign Up Free
Repurpose This Repo

Repurpose is a Pro feature

Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.

Unlock Repurpose
AI-Generated Review

What is ttf-doom?

ttf-doom compiles a Python DSL into TrueType bytecode that runs a Doom-style raycasting engine inside a font's hinting virtual machine. The resulting 6.5 KB doom ttf font renders 3D walls by repositioning glyph contours based on player position fed via font-variation-settings. Browser JS or Python hosts handle input, enemies, shooting, and HUD overlays for a fully playable doom font ttf demo.

Why is it gaining traction?

It squeezes a raycasting engine programming tutorial into a Turing-complete font VM from 1991, beating raycasting engines in C++ or JavaScript with absurd constraints like no loops and broken MUL. Developers dig the browser-playable raycasting tutorial github artifact—load the ttf-doom font, tweak axes, watch 3D emerge. Zero runtime deps beyond font rendering makes it a perfect raycasting engine python showcase.

Who should use this?

Graphics hackers experimenting with raycasting voxel engines or font hinting hacks. Demo creators needing a compact raycasting engine programming download for talks. Python devs seeking a raycasting engine tutorial beyond standard C raycasting engine in c implementations.

Verdict

Fun proof-of-concept with solid browser/Python hosts, but 19 stars and 1.0% credibility signal early-stage maturity—docs are README-only, no broad tests. Fork and play if weird tech hooks you; skip for production raycasting engine c++.

(198 words)

Sign up to read the full AI review Sign Up Free

Similar repos coming soon.