Skip to content

Menu/Screensaver: Add Matrix Digital Rain effect#19152

Open
ShigeakiAsai wants to merge 1 commit into
libretro:masterfrom
ShigeakiAsai:matrix_digital_rain_screen_saver
Open

Menu/Screensaver: Add Matrix Digital Rain effect#19152
ShigeakiAsai wants to merge 1 commit into
libretro:masterfrom
ShigeakiAsai:matrix_digital_rain_screen_saver

Conversation

@ShigeakiAsai

@ShigeakiAsai ShigeakiAsai commented Jun 27, 2026

Copy link
Copy Markdown
Contributor

Description

This PR introduces the "Matrix Digital Rain" animation to the menu screensaver options.

As requested by @RobLoach in Lakka-LibreELEC#2230 (comment), I am bringing this effect upstream so that it can be enjoyed by all RetroArch users across other platforms.

Key Implementation Details

  • Memory Safety: Implements a dedicated rendering logic using 230 active particles to ensure complete memory safety and isolate it from other effects.
  • Font Isolation: Maps 17 custom character symbols exclusively to the Unicode Private Use Area (PUA) to prevent interference with stock ASCII font buffers.
  • Visuals: Features downward moving particles with randomized speeds, glitching character swaps, and smoothly fading trails in pure green.

Related Pull Requests

Note

This Pull Request requires a companion update to the retroarch_assets repository for the pkg/osd-font.ttf asset to display correctly.

Thanks
ASAI, Shigeaki

This adds a new "Matrix Digital Rain" animation to the menu screensaver options.

* Implements a dedicated rendering logic using 230 active particles to ensure memory safety and isolate it from other effects.
* Maps 17 custom character symbols exclusively to the Unicode Private Use Area (PUA) to prevent interference with stock ASCII font buffers.
* Features downward moving particles with randomized speeds, glitching character swaps, and smoothly fading trails in pure green.

This Pull Requests is from Lakka (libretro/Lakka-LibreELEC#2230)
This Pull Requests needs retroarch_assets pkg/osd-font.ttf update.
@ShigeakiAsai ShigeakiAsai force-pushed the matrix_digital_rain_screen_saver branch from f2b6f57 to f73236d Compare June 27, 2026 11:58
@ShigeakiAsai ShigeakiAsai marked this pull request as ready for review June 27, 2026 12:12
fpscan pushed a commit to libretro/retroarch-assets that referenced this pull request Jun 27, 2026
Updates `pkg/osd-font.ttf` to include 17 custom character glyphs mapped to the Unicode Private Use Area (PUA) range U+E000 - U+E010.

This is a required asset update for the upcoming "Matrix Digital Rain" menu screensaver feature in RetroArch.
libretro/RetroArch#19152
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant