Braden Evans

All projects

Haunted CLI

gameshipped

in plain words

A fake terminal. A coding agent starts building a little Rive scene, and partway through, something else starts typing.

under the hood

How it works

  • The agent wrote the scene in RML through the Rive CLI.
  • The terminal renders to an offscreen GPU Canvas and runs through a CRT shader I wrote in WGSL.
  • A state machine and some Luau scripts handle the typing.
  • One data-bound number, possession, runs it all. As it climbs, the text, cursor, shader and preview window go wrong together.
  • I animated the preview by hand in the Rive Editor.

Stack

Rive CLI
The agent wrote the scene in RML through it
Rive GPU Canvas
The terminal renders to an offscreen GPU Canvas
WGSL
A CRT shader the terminal runs through
Luau
Scripts that, with a state machine, handle the typing
Rive data binding
One bound number, possession, drives the text, cursor, shader and preview
Rive Editor
The preview animations, done by hand

The longer version

Entry for the Rive Halloween Challenge.