1 unstable release
0.1.0 | Feb 1, 2023 |
---|
#10 in #particles
58KB
1K
SLoC
Prerequisites
-
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.
Usage
# 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
Bibliography
[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.
License
This program is licensed under GNU General Public License v3.0 or later.
Dependencies
~11–20MB
~304K SLoC