Skip to main content

Spume

A python terminal-based fluid simulator with ASCII visualisations and minimal dependencies (no rendering dependencies).

Features

  • Minimal ascii, completely cli-based visualisation
  • Minimal external dependencies
  • Interactive; click to disperse, WASD to move spawn point
  • Highly extensible; diverse CLI flags to customise physics and visualisation

Installation

pip install spume
spume -h # Look at possible options

Usage

WASD to move the spawner around, left mouse click (with drag) to disperse fluid, q to exit.

You can also use the CLI flags to customise the simulation, e.g. spawner size, sim maxiter / tolerance (depending on how beefy your laptop is), etc.

Enjoy!

Contributing

What I really need right now is good names; I wanted plume, but that was taken on pypi; so I went for spume, but it doesn't seem as poetic. Any ideas?

Download files

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

Source Distribution

spume-0.1.2.tar.gz (17.4 kB view details)

Uploaded Source

Built Distribution

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

spume-0.1.2-py3-none-any.whl (19.2 kB view details)

Uploaded Python 3

File details

Details for the file spume-0.1.2.tar.gz.

File metadata

  • Download URL: spume-0.1.2.tar.gz
  • Upload date:
  • Size: 17.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.14.7

File hashes

Hashes for spume-0.1.2.tar.gz
Algorithm Hash digest
SHA256 4540d88c7bdb2de6a09841d220bae68018781d03cb1fbbad8368bdc3c0b5fecd
MD5 d315d753599265203414e289c16e4f52
BLAKE2b-256 65345d0409300e00fe35c1e47e0d35c49b66a3810ee3ede5b203e7b1a4eafb69

See more details on using hashes here.

File details

Details for the file spume-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: spume-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 19.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.14.7

File hashes

Hashes for spume-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 1cce9f6e2686499dbb5d4de02e1d9f7cb1800fcc204465b879c2617b292f1217
MD5 0c239eab979877ff2a45e85388d93820
BLAKE2b-256 06b2a4637dd4d524637fb22b5a58bf597c954bb8cb5c5d8303d1cb9dda72a85b

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1.2 This release

2 files

0.1.1

2 files

0.1.0

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page