The Pre-Cambrian DOOM animation in the terminal!
Go to file
2020-09-17 19:03:57 +00:00
sub remove ccommon dependency 2020-03-09 11:38:20 -05:00
.gitignore udpate 2019-12-12 17:08:59 -05:00
.gitmodules remove ccommon dependency 2020-03-09 11:38:20 -05:00
args.h add animation_speed control 2020-09-17 18:34:19 +00:00
bool.h it's working! :) 2019-12-12 21:18:56 -05:00
colors.h Allow user to have finer control on fire params 2020-09-17 18:01:40 +00:00
COPYING update license 2020-09-17 18:59:10 +00:00
draw.c fix truecolor suport 2020-09-17 18:40:38 +00:00
draw.h style changes 2020-09-17 12:04:12 +00:00
main.c update help messge 2020-09-17 18:41:57 +00:00
makefile Allow user to have finer control on fire params 2020-09-17 18:01:40 +00:00
output.h typo: types.h => stdint.h 2020-09-17 11:42:48 +00:00
README.md README.md: update 2020-09-17 19:03:57 +00:00

fire

The ancient DOOM fire animation in the terminal!

what?

fire is a remake of the PSX DOOM fire animation in the terminal, as seen in the ly display manager. It's described nicely by Fabien Sanglard on his blog.

where?

supported platforms

  • Linux (musl/glibc) (tested and supported)
  • Windows (should work, but not tested)
  • (Dragonfly|Net|Free|Open)BSD: (not tested, might work)

building from source

You will need:

  • git
  • a c99 compiler (gcc or clang)
  • gmake (bmake is untested, but might work.)

Retrieve the source:

$ # via git:
$ git clone https://github.com/lptstr/fire --recurse

Build:

$ make

and install:

# make install

Uninstall, if you wish:

# make uninstall

how?

$ fire                     # no args for default animation
$ fire -h                  # help message
$ fire -Rw0 -f100          # matrix effect
$ fire -l2 -w2             # small fire with wind blowing east
$ fire -Rw0 -f1000000      # california animation
$ fire -t -l2 -f3          # truecolor!

why?

I'm bored

credits

This code was originally based on ly's animation code.

license

This project is licensed under the MIT license. View the COPYING file for more information.