Opus Motion ★ Star on GitHub

Image looks · ascii-image-grid

ASCII image grid (phosphor CRT)

An image or procedural scene rebuilt as amber phosphor glyphs on a strict monospace grid: brightness becomes glyph ink density and dim/normal/bold attributes, dark areas stay empty; rows type in, then the sample window slowly pushes in under constant-size glyphs.

A free, MIT-licensed image effect from the Opus Motion Library — 616 motions for Remotion, React and plain HTML.

ASCII image grid (phosphor CRT): three frames of the image effect, start, middle and end
ASCII image grid (phosphor CRT) — start, middle and end of the 5.0-second motion.

What ASCII image grid (phosphor CRT) is for

A logo, product or photo in a terminal aesthetic for dev tools, hacker, retro-computing and data brands.

  • ascii
  • ascii art
  • terminal
  • crt
  • phosphor
  • amber
  • retro computing
  • glyphs
  • monospace
  • hacker
  • dev tools
  • image effect
  • text art
  • vt323
  • typing

Details

Category
Image looks & photo effects
Length
5.0 s (150 frames at 30 fps)
Formats
16:9, 1:1, 9:16
Weight
medium
Transparent overlay
no
Seamless loop
no
Text props
title
Colour props
phosphorLo phosphorMid phosphorHi background
Image props
src
Mood
photo, pixel, night
Roles
backdrop

Use ASCII image grid (phosphor CRT) in Remotion, React or HTML

Remotion project

terminal
# copy this motion into your Remotion project
node cli/mgl.mjs add ascii-image-grid --to ../my-app/src

# render an mp4 (run in the library folder)
node cli/mgl.mjs render ascii-image-grid --props '{"title":"HARBOUR.LOG","phosphorLo":"#FF6605","phosphorMid":"#FFB000","phosphorHi":"#FFEBB8","background":"#090604","src":""}'

# or export for apps / editors: mp4 | webm-alpha | prores-alpha | gif | png | poster
node cli/mgl.mjs export ascii-image-grid --as mp4 --props '{"title":"HARBOUR.LOG","phosphorLo":"#FF6605","phosphorMid":"#FFB000","phosphorHi":"#FFEBB8","background":"#090604","src":""}'

React / Next.js

tsx
import {MotionPlayer} from 'opus-motion-library/web';

<MotionPlayer
  motion="ascii-image-grid"
  props={{
    title: 'HARBOUR.LOG',
    phosphorLo: '#FF6605',
    phosphorMid: '#FFB000',
    phosphorHi: '#FFEBB8',
    background: '#090604',
    src: '',
  }}
  playOnView
  loop="auto"
/>

Plain HTML / WordPress

html
<script src="opus-motion.element.js" defer></script>

<opus-motion motion="ascii-image-grid"
  props='{"title":"HARBOUR.LOG","phosphorLo":"#FF6605","phosphorMid":"#FFB000","phosphorHi":"#FFEBB8","background":"#090604","src":""}'>
</opus-motion>

Compose spec (multi-scene video)

json
{
  "width": 1920,
  "height": 1080,
  "fps": 30,
  "scenes": [
    {
      "motion": "ascii-image-grid",
      "props": {
        "title": "HARBOUR.LOG",
        "phosphorLo": "#FF6605",
        "phosphorMid": "#FFB000",
        "phosphorHi": "#FFEBB8",
        "background": "#090604",
        "src": ""
      }
    }
  ]
}

ASCII image grid (phosphor CRT) props

14 parameters — change any of them to make the motion yours.

PropDefaultWhat it does
src""public/ image to convert (empty = procedural plate)
seed2procedural plate seed
palette"dusk"procedural plate palette
cols132grid columns in landscape (portrait uses ~62 %); 80–240
charset""restrict glyphs to these characters, e.g. a sentence ("a picture made only of these words"); empty = full density ramp
phosphorLo"#FF6605"dim phosphor colour (amber #FF6605, green P1 #1F8F3A)
phosphorMid"#FFB000"mid phosphor colour
phosphorHi"#FFEBB8"overexposed phosphor colour
background"#090604"unlit glass colour (warm near-black)
reveal"rows"rows = typed top to bottom, random = cells pop in, none = already on
revealFrames40reveal duration
push1.18grid-camera push over the whole duration (1 = none)
dither0.65Bayer + hash dither amount (0.6–0.7 in the source)
title"HARBOUR.LOG"typed terminal title top-left with block cursor (empty = none)

Notes & credits

Technique sources:

  • lemo-opuscar styles/ascii-crt demo/term.js makeRamp, pick, cellsFromImage (MIT, LemoLab)
  • analysis/sources/lemo-styles-a.md §3 ascii-image-grid