Skip to content

v0.2.3 — The Time That Is Given Us

Choose a tag to compare

@github-actions github-actions released this 23 Oct 18:34
· 19 commits to main since this release
4edc533

"All we have to decide is what to do with the time that is given us." Stop typing for ten seconds and RIFT finds something to do with yours.

v0.2.3 adds koi in two moments: the RIFT logo turns into a pond when you go quiet, and small koi swim past the composer while you type. It also fixes one flag and puts the licence files in the downloads.


Still Water: the logo turns into koi

Leave the startup screen alone for ten seconds. The banner holds still while the blue behind its letters drains away. Then the chrome letters break into specks, the specks stream across the screen and build the koi, and the koi swim off. That takes about six seconds. After it, a pond fades in behind the interface: koi drifting between lily pads, or two of them circling one pad. Which scene you get is random.

  • Typing ends it, nothing else does. The first key or paste sends the pond away on the next frame, and the logo is back exactly as it was. The mouse neither stops it nor delays it, so you can scroll up through a conversation while the koi swim.
  • It sits behind everything. The pond is only painted into cells the interface left empty. Text, the composer and the panels are never covered, and the logo stays hidden for as long as the pond is out.
  • RIFT's colors only. The black canvas, the neutral greys, and the azure from the logo. There is no other hue anywhere in it, and it follows the theme if the theme changes while it plays.
  • It costs nothing while you work. Until the ten seconds are up there is one timer. While the pond plays, a frame takes roughly 1 to 3 ms of the 16 ms a 60 fps frame allows. It is not redrawn at all while the terminal is in the background, and a long idle session does not grow in memory.
  • It needs a 60 by 14 terminal. Anything smaller stays as it is. Resize a pond that is playing and it is rebuilt for the new size once you let go of the window edge.
  • If anything inside it ever fails, it stops for good for that session and the interface carries on. It cannot freeze the screen.

Turn it off with the "Disable animations" command, the animations_enabled setting, or RIFT_NO_ANIMATION=1.

The way the koi move, their shapes, and the logo-to-koi intro are a port of koi-screensaver by Erik Johansson, MIT licensed, redrawn in terminal cells and RIFT colors. His copyright notice and the licence text are in THIRD_PARTY_NOTICES.md. Thank you for making something worth porting.


Ripples: koi while you type

The first character you type on the home screen opens a strip of water just above the composer, and small koi swim through it. They come in from one side, drift between lanes and leave by the other. The faster you type, the more they dart, and now and then one touches the surface and leaves a ring. About two and a half seconds after your last keystroke no more come, and the ones still there fade out.

Only typing calls them. The mouse, shortcuts, arrow keys and Enter do not. The strip is painted behind the logo, the tagline and the composer, in the same empty-cell way as the pond, and it follows the same switches: animations_enabled and RIFT_NO_ANIMATION=1.


Odds and ends

  • RIFT_NO_ANIMATION=0, false, no and off now leave animations on. Until now any value at all, even 0, turned off the rift upgrade walk. Empty and these four count as "not set"; any other value still turns animations off, for the upgrade walk and the pond alike.
  • Release archives and npm packages now include LICENSE and THIRD_PARTY_NOTICES.md. Shipping code from koi-screensaver means shipping its licence next to it.

Install

curl -fsSL https://raw.githubusercontent.com/Datum-Collective/RIFT-coding-agent/main/opencode/install | bash

Already on RIFT? rift upgrade. Then wait ten seconds.