DOOM's fire algo, in zig, for 256 color terminals w/no dependencies
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Zig 100.0%
27 1 0

Clone this repository

https://tangled.org/m17e.co/doom https://tangled.org/did:plc:2f7mndshqqlmdmjypop4p6oy/doom
git@tangled.org:m17e.co/doom git@tangled.org:did:plc:2f7mndshqqlmdmjypop4p6oy/doom

For self-hosted knots, clone URLs may differ based on your setup.

Download tar.gz
README.md

DOOMFIRE#

Test your TTY's might!#

demo

The doom-fire algo can push upwards of 180k a frame - results may vary! It is, to my surprise, a nice TTY stress test.

As a comparison, this is the younger sibling of a node variant ( https://github.com/const-void/DOOM-fire-node ).

INSTALL#

Tested on OX Monterey / M1 w/zig 0.9...

EDIT: Now tested on Artix Linux - links against libc to get the size of the TTY.

EDIT: 2024 - Now tested with Windows - Win32 Compatible, thank you @marler8997!

This means that the program does rely on libc, this shouldn't be a problem.

$ git clone https://github.com/const-void/DOOM-fire-zig/
$ cd DOOM-fire-zig
$ zig build run
...

Results#

  • iTerm.app - ok
  • kitty.app - great
  • Terminal.app - poor -- seems to drop framerates
  • VS Code - great
  • Warp - great
  • Alacritty (artix linux) - great
  • Powershell/CMD

Inspiration / Credits#