Crates.io | cfluid |
lib.rs | cfluid |
version | 0.1.0 |
source | src |
created_at | 2023-02-01 11:24:07.485685 |
updated_at | 2023-02-01 11:24:07.485685 |
description | Terminal-based 2D fluid simulator |
homepage | |
repository | https://codeberg.org/yvt/cfluid |
max_upload_size | |
id | 773505 |
size | 112,640 |
A very fast terminal emulator supporting 24bpp colors (e.g., Alacritty). Normal ones like macOS Terminal and GNOME Terminal will not cut it.
A fast, unmetered network connection to the host machine if you want to run it remotely over SSH (not recommended due to excessive network traffic generated).
rustup to build the program.
# Monotone particles (use mouse to disturb)
cfluid
# Monotone particles on very thick fluid
cfluid -v 1e5
# Particles with trails colored by velocity
cfluid --heatmap velocity --trails
# Cool screensaver
cfluid --heatmap velocity --trails -s
[Stam01] Stam, Jos. (2001). "A Simple Fluid Solver based on the FFT." Journal of Graphics Tools. 6. 10.1080/10867651.2001.10487540.
[Green11] Green, D.A. (2011). "A colour scheme for the display of astronomical intensity images." Bulletin of the Astronomical Society of India, vol.39, pp.289--295. 10.48550/arXiv.1108.5083.
This program is licensed under GNU General Public License v3.0 or later.