mirror of
https://github.com/RGBCube/DOOM-fire-zig
synced 2025-07-29 10:07:45 +00:00
Make doomfire cross-platform
This commit is contained in:
parent
add37add17
commit
100a2abef5
3 changed files with 291 additions and 273 deletions
|
@ -1,5 +1,5 @@
|
|||
# DOOMFIRE
|
||||
Test your TTY might!
|
||||
## Test your TTY's might!
|
||||
|
||||

|
||||
|
||||
|
@ -8,7 +8,10 @@ The doom-fire algo can push upwards of 180k a frame - results may vary! It is,
|
|||
As a comparable, 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...unsure if it will work on Win or Linux, sadly, due to TIOCGWINSZ flag. No third party dependencies!
|
||||
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.
|
||||
|
||||
|
||||
```
|
||||
$ git clone https://github.com/const-void/DOOM-fire-zig/
|
||||
|
@ -22,6 +25,7 @@ $ zig build run
|
|||
* kitty.app - great
|
||||
* Terminal.app - poor -- seems to drop framerates
|
||||
* VS Code - great
|
||||
* Alacritty (artix linux) - great
|
||||
|
||||
# Inspiration / Credits
|
||||
* doom fire - https://github.com/filipedeschamps/doom-fire-algorithm, https://github.com/fabiensanglard/DoomFirePSX/blob/master/flames.html
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue