Better HN
topnewbestaskshowjobs
Log inSign up

4RH1T3CT0R

30 karma · joined Apr 4, 2026 (7mo ago) · 9 submissions

Submissions

comment 4mo ago · link · parent

https://github.com/4RH1T3CT0R7/doom-regex

2.

Doom running on a computer made of regex find-and-replace(4rh1t3ct0r7.github.io ↗)

3 points · by 4RH1T3CT0R · 4mo ago · 1 comment

comment 7mo ago · link · parent

Thanks!

comment 7mo ago · link · parent

Then only windows :(

comment 7mo ago · link · parent

technically yes, most constrained-platform ports (as I remember) do the same though (DOOMQL, the TI-84 version, the Excel one) since BSP is hard to fit into a limited VM. "DOOM-style" here is more about the genre than the rendering technique

comment 7mo ago · link · parent

This is a FreeType issue - it uses auto-hinter by default on Linux and doesn't run the TT bytecode. No fix from CSS side unfortunately. Works on Windows/macOS where DirectWrite/CoreText run the bytecode

comment 7mo ago · link · parent

Frame rate depends on the browser - Chrome gives around 30-60fps on my machine, but the bottleneck is actually Chrome deciding whether to re-run hinting at all (had to add axis jitter to force it). The TT bytecode itself executes fast, it's maybe a few thousand instructions per frame

  The recursive FDEF thing is the worst part honestly. Every while loop is a function that calls itself, and FreeType kills you at ~64 deep. So you're constantly juggling how many columns vs how many ray steps you can afford

8.

Show HN: TTF-DOOM – A raycaster running inside TrueType font hinting(github.com ↗)

68 points · by 4RH1T3CT0R · 7mo ago · 12 comments