Skip to main content

AAFire-style terminal fire in pure Python + curses.

Project description

onfire

A tiny aafire-style terminal flame effect in pure Python + curses, with optional 256-color gradients and Unicode shading blocks.

Installation

Simply install with pipx:

pipx install onfire

Run (dev)

python -m venv .venv
source .venv/bin/activate
pip install -e .
onfire

Or without installing:

python -m termsite.onfire

Keys

  • q / Esc: quit
  • s: cycle character sets (shade → solid → ascii)
  • c: toggle color on/off
  • [ / ]: decrease/increase wind (left/right)

Options

  • --fps: target render rate (frames per second)
  • --speed: simulation speed (steps per frame), independent of FPS; fractional values slow things down, larger values accelerate the fire diffusion
  • --special cpu|ram: scale speed and visible flame height based on live CPU or RAM usage percent

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

onfire-0.1.0.tar.gz (13.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

onfire-0.1.0-py3-none-any.whl (14.8 kB view details)

Uploaded Python 3

File details

Details for the file onfire-0.1.0.tar.gz.

File metadata

  • Download URL: onfire-0.1.0.tar.gz
  • Upload date:
  • Size: 13.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.16 {"installer":{"name":"uv","version":"0.9.16","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Nobara Linux","version":"43","id":"","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for onfire-0.1.0.tar.gz
Algorithm Hash digest
SHA256 0f4a65ca729fbd4e4df69468b9bf32b3cf17d69483e0ad60321a71e53c7eaa83
MD5 083a46b59c4cc4d51db4805dc4910f5e
BLAKE2b-256 2e949995cf434a13c487954ec85ecb5c93396d3fae3616bee8c0c50e7acde2f8

See more details on using hashes here.

File details

Details for the file onfire-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: onfire-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 14.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.16 {"installer":{"name":"uv","version":"0.9.16","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Nobara Linux","version":"43","id":"","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for onfire-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e35c05972fe1c3b9dda35f74bce2320d21cc644326fb90d39264a4dfba4103a6
MD5 24bdd89c9b568cd74dc6aa0d22d9320e
BLAKE2b-256 310283b0bc6d9d437131b4ac1d45c1fd567f9765b366c999e715739cb7577c0f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page