The Pre-Cambrian DOOM animation in the terminal!
Go to file
Kiëd Llaentenn 3b1b65ad2b COPYING: update years 2021-02-18 23:41:41 +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
COPYING COPYING: update years 2021-02-18 23:41:41 +00:00
README.md README.md: update 2020-09-17 19:10:26 +00:00
args.h add farbfeld output 2020-09-19 12:59:55 +00:00
bool.h it's working! :) 2019-12-12 21:18:56 -05:00
colors.c add farbfeld output 2020-09-19 12:59:55 +00:00
colors.h add farbfeld output 2020-09-19 12:59:55 +00:00
draw.c add farbfeld output 2020-09-19 12:59:55 +00:00
draw.h add farbfeld output 2020-09-19 12:59:55 +00:00
ff.c add farbfeld output 2020-09-19 12:59:55 +00:00
ff.h add farbfeld output 2020-09-19 12:59:55 +00:00
main.c add farbfeld output 2020-09-19 12:59:55 +00:00
makefile add farbfeld output 2020-09-19 12:59:55 +00:00
output.h typo: types.h => stdint.h 2020-09-17 11:42:48 +00:00
terminfo.c add farbfeld output 2020-09-19 12:59:55 +00:00
terminfo.h add farbfeld output 2020-09-19 12:59:55 +00:00

README.md

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.

contributing

Prepare to see some of the worst C code in your life.