Skip to content
kASCII
Esc
↑↓navigate↵open⌘Jpreview
On this page

Gallery

Every animated piece, where it comes from and how far along it is.

The gallery lives in kascii-gallery. Each piece is a public composable with a few typed parameters (speed, density, charset, colors), is deterministic for a given seed, pauses offscreen and shows a still frame under reduced motion. Browse them live in the demo, with the source next to each one.

Pieces that port a specific piece from ascii.rest say so in their KDoc and in the table below. The ascii.rest “Logos”, “Companies” and “Distros” groups are not ported: they are third-party trademarks.

Status

Status values are text frames reviewed (renders to a golden text grid on the JVM, nothing else checked) and done (the piece, its golden file and its tests exist). Neither means the piece was watched running on a device. Anything not listed under “Checked on” is unverified.

Source: src/commonMain/kotlin/com/jantursky/kascii/gallery/a/. Registry: galleryPiecesA in CatalogA.kt. Every piece is a xxxPiece(seed, ...) factory plus a composable wrapper that calls AsciiPieceView.

Piece Category Ported from Status Platforms checked
alpine dawn scenes Re-imagined from ascii.rest alpine-dawn (same scene, noise ridges instead of ray-marching) text frames reviewed JVM text grid only
hilltop night scenes original text frames reviewed JVM text grid only
donut shapes Ported from ascii.rest donut text frames reviewed JVM text grid only
cube shapes original text frames reviewed JVM text grid only
heart shapes original text frames reviewed JVM text grid only
starfield space original text frames reviewed JVM text grid only
solar system space original text frames reviewed JVM text grid only
pond ripples physics original text frames reviewed JVM text grid only
bouncing balls physics Ported from ascii.rest bouncing-balls (closed-form hop instead of a physics simulation) text frames reviewed JVM text grid only
rain nature original text frames reviewed JVM text grid only
campfire nature original text frames reviewed JVM text grid only
fractal tree nature Ported from ascii.rest fractal-tree (same fork-and-sway idea, own geometry) text frames reviewed JVM text grid only
interference field shaders original, in the spirit of asciicn.dev noise and interference fields text frames reviewed JVM text grid only

ascii.rest is MIT, Copyright (c) 2026 bas3line.

What is verified

  • JVM jvmTest: determinism at the still frame, non-blank frames, meta size against grid size, seed sensitivity, loop closure (render(t) == render(t + loop) for pieces that declare a loop), frames change over time, and a golden text snapshot per piece in src/jvmTest/resources/golden/a/. Regenerate with KASCII_UPDATE_GOLDEN=1.
  • Goldens were read by eye as text. That is a check of the glyph layout only.

UNVERIFIED

  • Every composable wrapper: they compile against AsciiPieceView but were never run, because its body was a stub.
  • All rendering: no pixels were drawn, so colors, contrast on the light theme and visual quality are unchecked. The pieces use plain ASCII glyphs only.
  • Android, iOS and wasmJs: not compiled or tested for this batch.
  • Reduced-motion behavior and offscreen pausing (owned by AsciiPieceView).
  • Cost per frame on a device (the donut samples about 20k points per frame, the interference field and the pond ripples touch every cell per source).

Thirteen pieces in src/commonMain/kotlin/com/jantursky/kascii/gallery/b/. Each file has a xxxPiece(...) factory returning an AsciiPiece and an AsciiXxx(...) composable that plays it with AsciiPieceView. galleryPiecesB in CatalogB.kt lists them for the catalog.

“Ported from” means the idea and the structure were re-implemented in Kotlin from the MIT-licensed ascii.rest source (Copyright (c) 2026 bas3line); no code was copied and nothing from its Logos, Companies or Distros groups was used.

Piece Category Ported from Status Platforms checked
Jellyfish creatures ascii.rest jellyfish done JVM text grid only
Owl creatures original done JVM text grid only
Analog clock objects original (drawn after ascii.rest analog clock) done, UTC by default JVM text grid only
Hourglass objects ascii.rest hourglass done JVM text grid only
Lava lamp objects ascii.rest lava lamp done JVM text grid only
Mandelbrot set generative ascii.rest mandelbrot done JVM text grid only
Glider gun generative ascii.rest glider gun done JVM text grid only
Langton’s ant generative ascii.rest langtons ant done JVM text grid only
Flames effects ascii.rest doom fire done JVM text grid only
Matrix rain effects ascii.rest matrix rain done JVM text grid only
Synthwave effects ascii.rest synthwave done JVM text grid only
Tunnel effects ascii.rest tunnel done JVM text grid only
CRT filter media original done JVM text grid only

Verified

  • Grid.toText() output of every piece on the JVM: determinism, size, seeds, call-order independence, loop closure (PiecesBTest) and golden frames (GoldenPiecesBTest, files in src/jvmTest/resources/golden/b). Regenerate the goldens with KASCII_UPDATE_GOLDEN=1.

Unverified

  • Everything drawn: the composables were compiled for the JVM target only and never rendered, because AsciiPieceView had no implementation yet.
  • Android, iOS and wasmJs: not built or run.
  • Per-cell colors and how they read on the light theme.
  • Frame time of the heavier pieces (Mandelbrot, tunnel, CRT filter) in a real renderer.

Notes

  • Stateful pieces (Langton’s ant, flames) step a cached state by frame index and replay from the start when asked for an earlier frame. The glider gun precomputes one 30 generation period and looks frames up. Matrix rain is a pure function of time.
  • The analog clock samples now (seconds since midnight) once when the piece is built and then counts with the piece’s time. The default reads the system clock in UTC, since common code has no time zone.

Four original animated scenes in src/commonMain/kotlin/com/jantursky/kascii/gallery/c/. Each file has a xxxPiece(...) factory returning an AsciiPiece and an AsciiXxx(...) composable that plays it with AsciiPieceView. galleryPiecesC in CatalogC.kt lists them for the catalog. The art and code are original; the motifs are common ones, drawn from scratch.

Piece Category Ported from Status Platforms checked
Lighthouse scenes original done JVM text grid only
Steam train scenes original done JVM text grid only
Sailboat sunset scenes original done JVM text grid only
Desert caravan scenes original done JVM text grid only

Verified

  • Grid.toText() output of every piece on the JVM: determinism, size, seeds, call-order independence, loop closure (PiecesCTest) and golden frames (GoldenPiecesCTest, files in src/jvmTest/resources/golden/c).
  • Every piece composes through AsciiPieceView under reduced motion (GalleryComposeTest).

Not verified

  • Colors on real light and dark pages, and frame times on any device.
  • The desert caravan’s first moments show only dunes, because the caravan walks in from off screen.

Four original animated scenes in src/commonMain/kotlin/com/jantursky/kascii/gallery/d/. Each file has a xxxPiece(...) factory returning an AsciiPiece and an AsciiXxx(...) composable that plays it with AsciiPieceView. galleryPiecesD in CatalogD.kt lists them for the catalog. The art and code are original; the motifs are common ones, drawn from scratch.

Piece Category Ported from Status Platforms checked
Aurora cabin scenes original done JVM text grid only
Rainy city scenes original done JVM text grid only
Cherry blossom scenes original done JVM text grid only
Rocket launch scenes original done JVM text grid only

Verified

  • Grid.toText() output of every piece on the JVM: determinism, size, seeds, call-order independence, loop closure (PiecesDTest) and golden frames (GoldenPiecesDTest, files in srd/jvmTest/resources/golden/d).
  • Every piece composes through AsciiPieceView under reduced motion (GalleryComposeTest).

Not verified

  • Colors on real light and dark pages, and frame times on any device.

Two original animated scenes in src/commonMain/kotlin/com/jantursky/kascii/gallery/e/. Each file has a xxxPiece(...) factory returning an AsciiPiece and an AsciiXxx(...) composable that plays it with AsciiPieceView. galleryPiecesE in CatalogE.kt lists them for the catalog. The art and code are original; the motifs are common ones, drawn from scratch.

Piece Category Ported from Status Platforms checked
Orbit sunrise scenes original done JVM text grid only
Volcano night scenes original done JVM text grid only

Verified

  • Grid.toText() output of every piece on the JVM: determinism, size, seeds, call-order independence, loop closure (PiecesETest) and golden frames (GoldenPiecesETest, files in src/jvmTest/resources/golden/e).
  • Every piece composes through AsciiPieceView under reduced motion (GalleryComposeTest).

Not verified

  • Colors on real light and dark pages, and frame times on any device.

Two original animated scenes in src/commonMain/kotlin/com/jantursky/kascii/gallery/f/. Each file has a xxxPiece(...) factory returning an AsciiPiece and an AsciiXxx(...) composable that plays it with AsciiPieceView. galleryPiecesF in CatalogF.kt lists them for the catalog. The art and code are original; the motifs are common ones, drawn from scratch.

Piece Category Ported from Status Platforms checked
Abyss lure scenes original done JVM text grid only
Witch moon scenes original done JVM text grid only

Verified

  • Grid.toText() output of every piece on the JVM: determinism, size, seeds, call-order independence, loop closure (PiecesFTest) and golden frames (GoldenPiecesFTest, files in src/jvmTest/resources/golden/f).
  • Every piece composes through AsciiPieceView under reduced motion (GalleryComposeTest).

Not verified

  • Colors on real light and dark pages, and frame times on any device.

Two original animated scenes in src/commonMain/kotlin/com/jantursky/kascii/gallery/g/, both 192 by 48 cells with a dark ground. Each file has a xxxPiece(...) factory returning an AsciiPiece and an AsciiXxx(...) composable that plays it with AsciiPieceView. galleryPiecesG in CatalogG.kt lists them for the catalog, and GKit.kt holds the small shared canvas, noise and palette helpers. The art and code are original.

Piece Category Ported from Status Platforms checked
Waking giant scenes original done JVM text grid only
Moon angler scenes original done JVM text grid only

Verified

  • Grid.toText() output of every piece on the JVM: determinism, size, seeds, call-order independence, loop closure and the allowed glyph set (PiecesGTest) and golden frames (GoldenPiecesGTest, files in src/jvmTest/resources/golden/g).

Not verified

  • Not yet wired into the demo gallery or GalleryComposeTest.
  • Colors on real light and dark pages, and frame times on any device.

Seven original animated landscape scenes in src/commonMain/kotlin/com/jantursky/kascii/gallery/h/, all 192 by 48 cells with a dark ground. Each file has a xxxPiece(seed) factory returning an AsciiPiece and an AsciiXxx(...) composable that plays it with AsciiPieceView. galleryPiecesH in CatalogH.kt lists them for the catalog, and HKit.kt holds the shared canvas, noise (including x-periodic noise for fields that drift a whole period per loop), palette and drawing helpers. The art and code are original.

Piece Category Ported from Status Platforms checked
Mountain lake scenes original done JVM text grid only
Windmill meadow scenes original done JVM text grid only
Jungle temple scenes original done JVM text grid only
Ice cave scenes original done JVM text grid only
Floating islands scenes original done JVM text grid only
Canyon river scenes original done JVM text grid only
Snow village scenes original done JVM text grid only

Verified

  • Grid.toText() output of every piece on the JVM: determinism, size, seeds, call-order independence, loop closure and the allowed glyph set (PiecesHTest) and golden frames (GoldenPiecesHTest, files in src/jvmTest/resources/golden/h).
  • Frames looked at as rasterized SVG previews at three moments each during development.

Not verified

  • Not yet wired into the demo gallery or GalleryComposeTest.
  • Colors on real light and dark pages, and frame times on any device.

Seven original animated scenes of built places and space in src/commonMain/kotlin/com/jantursky/kascii/gallery/i/, all 192 by 48 cells with a dark ground. Each file has a xxxPiece(seed) factory returning an AsciiPiece and an AsciiXxx(...) composable that plays it with AsciiPieceView. galleryPiecesI in CatalogI.kt lists them for the catalog, and IKit.kt holds the shared canvas, noise (with an optional x period, so cloud layers can scroll and still close their loop), palette, glow and star helpers. The art and code are original.

Piece Category Loop Ported from Status Platforms checked
Space station scenes 24 s original done JVM text grid only
Moon base scenes 20 s original done JVM text grid only
Observatory scenes 30 s original done JVM text grid only
Desert highway scenes 12 s original done JVM text grid only
Neon arcade scenes 8 s original done JVM text grid only
Clock tower scenes 36 s original done JVM text grid only
Airship sky scenes 30 s original done JVM text grid only

Notes:

  • Clock tower runs as a time-lapse: the minute hand turns twelve times per loop and the hour hand once, the only way both hands can close the loop.
  • Observatory star trails turn a sixth of a circle per loop over a six-fold symmetric star field, so the sky is evenly filled at every moment.

Verified

  • Grid.toText() output of every piece on the JVM: determinism, size, seeds, call-order independence, loop closure and the allowed glyph set (PiecesITest) and golden frames (GoldenPiecesITest, files in src/jvmTest/resources/golden/i).
  • Frames looked at as rasterised SVG exports during development; a frame renders in roughly 1 to 5 ms on a laptop JVM.

Not verified

  • Not yet wired into the demo gallery or GalleryComposeTest.
  • Colors on real light and dark pages, and frame times on any device.

Seven original animated creature scenes in src/commonMain/kotlin/com/jantursky/kascii/gallery/j/, all 192 by 48 cells with a dark ground. Each file has a xxxPiece(seed) factory returning an AsciiPiece and an AsciiXxx(...) composable that plays it with AsciiPieceView. galleryPiecesJ in CatalogJ.kt lists them for the catalog under the creatures category, and JKit.kt holds the small shared canvas, noise and palette helpers. The art and code are original.

Piece Category Ported from Status Platforms checked
Whale song creatures original done JVM text grid only
Fox in snow creatures original done JVM text grid only
Butterfly meadow creatures original done JVM text grid only
Dragon over castle creatures original done JVM text grid only
Koi pond creatures original done JVM text grid only
Firefly marsh creatures original done JVM text grid only
Sea turtle reef creatures original done JVM text grid only

Verified

  • Grid.toText() output of every piece on the JVM: determinism, size, seeds, call-order independence, loop closure and the allowed glyph set (PiecesJTest) and golden frames (GoldenPiecesJTest, files in src/jvmTest/resources/golden/j).
  • Common code compiles for wasmJs and iosSimulatorArm64.

Not verified

  • Not yet wired into the demo gallery or GalleryComposeTest.
  • Colors on real light and dark pages, and frame times on any device.

Six original shader-like animated visuals in src/commonMain/kotlin/com/jantursky/kascii/gallery/k/, all 192 by 48 cells with a dark ground. Each file has a xxxPiece(seed) factory returning an AsciiPiece and an AsciiXxx(...) composable that plays it with AsciiPieceView. galleryPiecesK in CatalogK.kt lists them for the catalog, and KKit.kt holds the shared canvas, noise and palette helpers (a copy of set G’s kit with K prefixes). The art and code are original.

Piece Category Ported from Status Platforms checked
Lightning storm effects original done JVM text grid and SVG preview
Fireworks harbor effects original done JVM text grid and SVG preview
Galaxy spiral space original done JVM text grid and SVG preview
Aurora ribbons effects original done JVM text grid and SVG preview
Liquid metal generative original done JVM text grid and SVG preview
Topographic contours generative original done JVM text grid and SVG preview

Verified

  • Grid.toText() output of every piece on the JVM: determinism, size, seeds, call-order independence, loop closure, motion across the loop and the allowed glyph set (PiecesKTest) and golden frames (GoldenPiecesKTest, files in src/jvmTest/resources/golden/k).
  • Common code compiles for WasmJs and iOS simulator.

Not verified

  • Not yet wired into the demo gallery or GalleryComposeTest.
  • Colors on real light pages, and frame times on any device.

Six original geometric studies in src/commonMain/kotlin/com/jantursky/kascii/gallery/l/, all 192 by 48 cells with a dark ground, each a lit and shaded 3D or 2D form rather than a scene. Each file has a xxxPiece(seed) factory returning an AsciiPiece and an AsciiXxx(...) composable that plays it with AsciiPieceView. galleryPiecesL in CatalogL.kt lists them for the catalog, and LKit.kt holds the shared canvas, noise and palette helpers (a copy of set K’s kit with L prefixes, plus a depth buffer, a cell lookup in width units and a line-glyph picker). The art and code are original.

Piece Category Ported from Status Platforms checked
Torus knot shapes original done JVM text grid and SVG preview
Icosphere shapes original done JVM text grid and SVG preview
Mobius strip shapes original done JVM text grid and SVG preview
Tesseract shapes original done JVM text grid and SVG preview
DNA helix shapes original done JVM text grid and SVG preview
Spirograph shapes original done JVM text grid and SVG preview

Verified

  • Grid.toText() output of every piece on the JVM: determinism, size, seeds, call-order independence, loop closure, motion across the loop, the allowed glyph set and the shapes category (PiecesLTest) and golden frames (GoldenPiecesLTest, files in src/jvmTest/resources/golden/l).
  • Common code compiles for WasmJs and iOS simulator.

Not verified

  • Not yet wired into the demo gallery or GalleryComposeTest.
  • Colors on real light pages, and frame times on any device. On a desktop JVM a frame takes about 2 to 10 ms; the torus knot, Mobius strip and DNA helix splat 50 to 60 thousand surface samples per frame and are the heaviest.

Six original generative and simulated animated visuals in src/commonMain/kotlin/com/jantursky/kascii/gallery/m/, all 192 by 48 cells with a dark ground. Each file has a xxxPiece(seed) factory returning an AsciiPiece and an AsciiXxx(...) composable that plays it with AsciiPieceView. galleryPiecesM in CatalogM.kt lists them for the catalog, and MKit.kt holds the shared canvas, noise and palette helpers (a copy of set K’s kit with M prefixes). The art and code are original.

Every piece loops exactly even where it simulates something: the state at a time is computed from that time and the seed alone, never accumulated frame by frame.

Piece Category How it loops Status Platforms checked
Reaction diffusion generative warped wave superposition cut by a drifting feed level; every phase turns a whole number of times per loop done JVM text grid and SVG preview
Boids flock physics each bird rides a closed path on a folding, twisting sheet; trails are past positions on the same paths done JVM text grid and SVG preview
Falling sand physics grains are dropped and rolled once when the piece is built and each place records when it filled; the pour, the drain crater and the falling grains are functions of time done JVM text grid and SVG preview
Voronoi cells generative seeds move on closed Lissajous paths done JVM text grid and SVG preview
Harmonograph generative two precomputed damped pendulum figures per loop, drawn, held and faded done JVM text grid and SVG preview
Double pendulum physics one RK4 run from rest, played forward, eased to a stop where it is nearest rest, played back; a run from rest is symmetric in time done JVM text grid and SVG preview

Verified

  • Grid.toText() output of every piece on the JVM: determinism, size, seeds, call-order independence, loop closure, motion across the loop and the allowed glyph set (PiecesMTest) and golden frames (GoldenPiecesMTest, files in src/jvmTest/resources/golden/m).
  • Common code compiles for WasmJs and iOS simulator.

Not verified

  • Not yet wired into the demo gallery or GalleryComposeTest.
  • Colors on real light pages, and frame times on any device.
  • The double pendulum and falling sand simulations are precomputed in floating point; frames on other platforms may differ in the last digits from the JVM goldens, though each platform is deterministic on its own.

Six original animated story scenes in src/commonMain/kotlin/com/jantursky/kascii/gallery/n/, all 192 by 48 cells with a dark ground. Each file has a xxxPiece(seed) factory returning an AsciiPiece and an AsciiXxx(...) composable that plays it with AsciiPieceView. galleryPiecesN in CatalogN.kt lists them for the catalog, and NKit.kt holds the shared canvas, noise, palette, glow and star helpers (a copy of set I’s kit with an N prefix, plus a rope-sag helper). The art and code are original.

Piece Category Loop Ported from Status Platforms checked
Pirate ship storm scenes 12 s original done JVM text grid only
Space elevator scenes 20 s original done JVM text grid only
Underwater city scenes 16 s original done JVM text grid only
Treehouse dusk scenes 12 s original done JVM text grid only
Wizard tower scenes 16 s original done JVM text grid only
Market street scenes 12 s original done JVM text grid only

Notes:

  • Pirate ship storm draws the galleon cell by cell in its own rotated frame, posed on the swell under it, so it pitches with the waves; water bands in front of it hide the hull below the waterline. Lightning strikes twice per loop.
  • Space elevator is seen from orbit: the planet is a sphere lit from behind the limb, so most of it is night side, and the climber grows as it rises toward the camera. It reaches the top edge exactly at the end of the loop.
  • Clouds and storm skies churn by moving the noise domain round a small circle once per loop, which closes the loop without a visible scroll seam.
  • Market street is a one-point perspective: facades, cobbles, stalls, lantern strings and people all map world coordinates through the same depth, and depth-sorted things are drawn back to front.

Verified

  • Grid.toText() output of every piece on the JVM: determinism, size, seeds, call-order independence, loop closure and the allowed glyph set (PiecesNTest) and golden frames (GoldenPiecesNTest, files in src/jvmTest/resources/golden/n).
  • Frames looked at as rasterised exports during development; a frame renders in roughly 1 to 11 ms on a laptop JVM.

Not verified

  • Not yet wired into the demo gallery or GalleryComposeTest.
  • Colors on real light and dark pages, and frame times on any device.

Six original animated scenes in src/commonMain/kotlin/com/jantursky/kascii/gallery/o/, each centred on one well-lit object or phenomenon, all 192 by 48 cells with a dark ground. Each file has a xxxPiece(seed) factory returning an AsciiPiece and an AsciiXxx(...) composable that plays it with AsciiPieceView. galleryPiecesO in CatalogO.kt lists them for the catalog, and OKit.kt holds the shared canvas, noise and palette helpers (a copy of set K’s kit with O prefixes, plus a tone helper that turns a light value into halftone dots or shaded blocks). The art and code are original.

Piece Category Ported from Status Platforms checked
Gear train objects original done JVM text grid and SVG preview
Candle flame nature original done JVM text grid and SVG preview
Snow globe objects original done JVM text grid and SVG preview
Lantern festival nature original done JVM text grid and SVG preview
Vinyl record objects original done JVM text grid and SVG preview
Ocean waves effects original done JVM text grid and SVG preview

Notes

  • Gear train: every gear advances 36 teeth per 18 s loop, a multiple of each gear’s teeth per spoke, so the loop closes after the common period; mesh phases are solved so a tooth always meets a gap.
  • Snow globe: each flake’s resting place is where its own fall ends, so the shake at the start of the loop lifts it from exactly where the previous loop left it.
  • Vinyl record: 10 turns per 18 s loop is 33 1/3 rpm.

Verified

  • Grid.toText() output of every piece on the JVM: determinism, size, seeds, call-order independence, loop closure, motion across the loop and the allowed glyph set (PiecesOTest) and golden frames (GoldenPiecesOTest, files in src/jvmTest/resources/golden/o).
  • Common code compiles for WasmJs and iOS simulator.

Not verified

  • Not yet wired into the demo gallery or GalleryComposeTest.
  • Colors on real light pages, and frame times on any device.

Phase 2 and later

Later phases add the rest of the ascii.rest catalogue (scenes, shapes, space, physics, nature, creatures, objects, generative, effects) re-implemented in Kotlin, plus city skylines, painted landscapes, simulations (boids, sorting, A*, cloth, n-body), interactive pieces, data and system widgets, an ANSI art viewer, QR code in Braille, seasonal pieces and glitch transitions between screens.

Was this page helpful?