pserey / doom-fire-curses

The fire rendering algorithm from Doom implemented in python curses

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Doom Fire in Curses

I implemented the fire rendering algorithm from Doom in python curses. It uses an ASCII characters gradient palette.

I've read about the algorithm but never tought of implementing it until I saw @felipedeschamps's video about it. And since I've been wanting to learn about python curses, here it is.

My first contact with the algorithm was here in Fabien Sanglard's Website.

Running in your terminal

For getting it running in your terminal make sure to zoom out, else it might return an error!

Besides that, you just have to download and run it with Python 3. No extra libraries needed.

python3 doom-fire.py

About

The fire rendering algorithm from Doom implemented in python curses


Languages

Language:Python 100.0%