summaryrefslogtreecommitdiffstats
path: root/_site/projects/matrix-digital-rain/index.html
diff options
context:
space:
mode:
Diffstat (limited to '_site/projects/matrix-digital-rain/index.html')
-rw-r--r--_site/projects/matrix-digital-rain/index.html81
1 files changed, 81 insertions, 0 deletions
diff --git a/_site/projects/matrix-digital-rain/index.html b/_site/projects/matrix-digital-rain/index.html
new file mode 100644
index 0000000..ce87e73
--- /dev/null
+++ b/_site/projects/matrix-digital-rain/index.html
@@ -0,0 +1,81 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <meta charset="utf-8">
+ <title>The Matrix digital rain</title>
+ <head>
+<meta charset="utf-8">
+ <title>The Matrix digital rain</title>
+ <link rel="stylesheet" href="/assets/css/main.css">
+ <link rel="stylesheet" href="/assets/css/normalize.css">
+ <link rel="stylesheet" href="/assets/css/skeleton.css">
+</head>
+
+
+ </head>
+ <body>
+
+ <div class="container">
+ <ul id="navlist" class="left">
+ <li >
+ <a href="/">hme</a>
+ </li>
+ <li >
+ <a href="/projects/">tnk</a>
+ </li>
+ <li >
+ <a href="/about/">abt</a>
+ </li>
+ <li><a href="/feed.xml">rss</a></li>
+ </ul>
+</div>
+
+
+
+ <main>
+ <div class="container">
+ <h2 class="brand center" id="title">THE MATRIX DIGITAL RAIN</h2>
+
+ <h6 class="center">12 JANUARY 2024</h5>
+
+ <br>
+
+ <div class="threecol justify"><p>The famous digital rain from the movie The Matrix implemented in C for
+the Unix terminal without using any GUI/TUI kits:</p>
+
+<video style="max-width:100%;" controls="" poster="thumb.png">
+ <source src="matrix.mp4" type="video/mp4" />
+</video>
+
+<p>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:</p>
+
+<ul>
+ <li>Customize the rain color to match the theme of the setup.</li>
+ <li>Support for UTF-32 characters.</li>
+ <li>The ghosting effect of old monochrome displays.</li>
+ <li>The rain more closely resembles the original from the first movie.</li>
+</ul>
+
+<p>To use them, you need a terminal emulator that supports 24-bit RGB colors and
+Unicode characters.</p>
+
+<p>The background, head, and tail colors of the rain can be configured via
+<code class="language-plaintext highlighter-rouge">COLOR_BG_*</code>, <code class="language-plaintext highlighter-rouge">COLOR_HD_*</code>, and <code class="language-plaintext highlighter-rouge">COLOR_TL_*</code> settings. The <code class="language-plaintext highlighter-rouge">UNICODE_MIN</code> and
+<code class="language-plaintext highlighter-rouge">UNICODE_MAX</code> values control the character set used for the rain. For instance,
+use <code class="language-plaintext highlighter-rouge">0x30A1</code> and <code class="language-plaintext highlighter-rouge">0x30F6</code> for Katakana:</p>
+
+<p><img style="width: 100%;" src="katakana.png" /></p>
+
+<p>Happy ricing!</p>
+
+<p>Files: <a href="source.tar.gz">source.tar.gz</a></p>
+</div>
+
+ <p class="right italics">by W. D. Sadeep Madurange</p>
+ </div>
+ </main>
+
+ </body>
+</html>