Skip to main content

Crate termzzz

Crate termzzz 

Source
Expand description

Terminal-based screensavers and visual effects.

Modules:

ModuleDescription
inkInteractive generative field you pour ink into
antsLangton’s ants sharing one board
aquariumA side-view fish tank: shoaling fish, light shafts, click to feed
blankBlank screen — no-op placeholder
boidsBoids flocking simulation
bufferTerminal cell buffer for colored output
canvasDouble-buffered drawing surface and diff-and-commit
checkTerminal event checking (input, resize)
clockA large clock, with a rule showing the seconds
commonShared traits and types (TerminalEffect)
configTOML configuration loading and options
solarsystemA 3D orrery: planets on tilted orbits, real periods
crabASCII crab walking animation
cube3D rotating cube in ASCII
donut3D rotating donut in ASCII
dvdBouncing DVD logo
errorError types for the crate
fireFire simulation effect
flyoverFirst-person flight over a fractal height field
hostThe running effect, and swapping it
lifeConway’s Game of Life
mandelbrotEscape-time Mandelbrot set, zooming
mazeMaze generation and animation
newtonNewton’s method, coloured by which root each sample reaches
physarumSlime-mould agents building a transport network
pipesPipe maze animation
plasmaPlasma color wave effect
playlistTimed playlist with blank-wipe transitions
rainMatrix-style digital rain
renderSub-cell renderers: braille, half-block, dithering
registryThe effect table: ids, names, durations
rippleInterfering waves from a few point sources
runtimeRuntime input and frame context
sessionTerminal setup, teardown and panic safety
terrainTerrain 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