From 25615d16f93ffafcb19d0940cfab75e1f374b3b9 Mon Sep 17 00:00:00 2001 From: Sadeep Madurange Date: Fri, 7 Nov 2025 21:07:12 +0800 Subject: Improve writing. --- _site/projects/matrix-digital-rain/index.html | 30 +++++++++------------------ 1 file changed, 10 insertions(+), 20 deletions(-) (limited to '_site/projects/matrix-digital-rain/index.html') diff --git a/_site/projects/matrix-digital-rain/index.html b/_site/projects/matrix-digital-rain/index.html index ad4bb97..1b941c7 100644 --- a/_site/projects/matrix-digital-rain/index.html +++ b/_site/projects/matrix-digital-rain/index.html @@ -43,36 +43,26 @@

THE MATRIX DIGITAL RAIN

12 JANUARY 2024

-

The famous digital rain from the movie The Matrix implemented in C for -the Unix terminal without using any GUI/TUI kits:

+

The famous digital rain from The Matrix, implemented in C.

-

Domsson’s Fakesteak inspired -this project. I added the following features while trying to keep the original -project’s simplicity intact as much as possible:

+

This project is a fork of Domsson’s beautiful Fakesteak.

-
    -
  • Customize the rain color to match the theme of the setup.
  • -
  • Support for UTF-32 characters.
  • -
  • The ghosting effect of old monochrome displays.
  • -
  • The rain more closely resembles the original from the first movie.
  • -
+

There are three color settings: head, tail, and background. They are configured +by setting the 24-bit RGB channels using COLOR_*_RED, COLOR_*_GRN, and +COLOR_*_BLU definitions. The ghosting effect of old monochrome screens is +achieved by scaling the RGB channels. This results in a rain effect that +closely resembles the original from the first Matrix movie.

-

To use them, you need a terminal emulator that supports 24-bit RGB colors and -Unicode characters.

- -

The background, head, and tail colors of the rain can be configured via -COLOR_BG_*, COLOR_HD_*, and COLOR_TL_* settings. The UNICODE_MIN and -UNICODE_MAX values control the character set used for the rain. For instance, -use 0x30A1 and 0x30F6 for Katakana:

+

In addition, this implementation supports UTF-32 character sets. The +UNICODE_MIN and UNICODE_MAX controls the Unicode block used. For +instance, setting them to 0x30A1 and 0x30F6 rains Katakana:

-

Happy ricing!

-

Files: source.tar.gz

-- cgit v1.2.3