Expand description
Terminal-based screensavers and visual effects.
Modules:
| Module | Description |
|---|---|
ink | Interactive generative field you pour ink into |
ants | Langton’s ants sharing one board |
aquarium | A side-view fish tank: shoaling fish, light shafts, click to feed |
blank | Blank screen — no-op placeholder |
boids | Boids flocking simulation |
buffer | Terminal cell buffer for colored output |
canvas | Double-buffered drawing surface and diff-and-commit |
check | Terminal event checking (input, resize) |
clock | A large clock, with a rule showing the seconds |
common | Shared traits and types (TerminalEffect) |
config | TOML configuration loading and options |
solarsystem | A 3D orrery: planets on tilted orbits, real periods |
crab | ASCII crab walking animation |
cube | 3D rotating cube in ASCII |
donut | 3D rotating donut in ASCII |
dvd | Bouncing DVD logo |
error | Error types for the crate |
fire | Fire simulation effect |
flyover | First-person flight over a fractal height field |
host | The running effect, and swapping it |
life | Conway’s Game of Life |
mandelbrot | Escape-time Mandelbrot set, zooming |
maze | Maze generation and animation |
newton | Newton’s method, coloured by which root each sample reaches |
physarum | Slime-mould agents building a transport network |
pipes | Pipe maze animation |
plasma | Plasma color wave effect |
playlist | Timed playlist with blank-wipe transitions |
rain | Matrix-style digital rain |
render | Sub-cell renderers: braille, half-block, dithering |
registry | The effect table: ids, names, durations |
ripple | Interfering waves from a few point sources |
runtime | Runtime input and frame context |
session | Terminal setup, teardown and panic safety |
terrain | Terrain generation — scrolling landscape |
The list of effects, their names, help text and default playlist durations
is registry::EFFECT_SPECS. It is not repeated here or in the docs,
because a second copy is a second thing to forget to update.
Modules§
- ants
- aquarium
- blank
- boids
- buffer
- canvas
- A double-buffered drawing surface, and the only place the diff-and-commit sequence is written.
- check
- clock
- common
- config
- crab
- cube
- donut
- dvd
- error
- fire
- flyover
- host
- The effect that is currently running, and the ability to change it.
- ink
- life
- mandelbrot
- maze
- newton
- physarum
- pipes
- plasma
- playlist
- rain
- registry
- render
- Shared renderers for drawing at sub-cell resolution.
- ripple
- runtime
- session
- Terminal setup and teardown, shared by the screensaver loop and check mode.
- solarsystem
- terrain