Автор: Marco Varesio
Год: 2021
Издатели: Marco's Retrobits
Языки:
Формат:
Требования:
Ссылки:
Скриншоты:
Описание:
Matrix Digital Rain — это демо для ZX Spectrum 48k, созданное Марко Варезио под брендом Marco's Retrobits в 2020 году. Демо вдохновлено культовым эффектом цифрового дождя из серии научно-фантастических фильмов «Матрица». Этот визуальный эффект характеризуется падающими зелеными символами на черном экране, имитируя вид компьютерного кода.
Программа позволяет пользователям испытать эффект цифрового дождя в различных режимах. Пользователи могут переключаться между режимами «стандартный», «инверсные капли» и «женщина в красном», каждый из которых предлагает уникальный визуальный опыт. Режим «женщина в красном» включает битмап-изображение, добавляя интересный поворот к классическому эффекту.
Пользователи также могут настраивать цвет дождя, нажимая цифровые клавиши, выбирая из синего, красного, пурпурного, зеленого, цианового и желтого. Эта настройка добавляет уровень интерактивности, позволяя пользователям персонализировать свой опыт цифрового дождя.
Matrix Digital Rain был написан на языке C и скомпилирован с использованием z88dk и компилятора ZSDCC. Его можно запускать на ZX Spectrum или через эмуляторы, такие как FUSE, а также в веб-браузерах через эмулятор JSSpeccy. Демо демонстрирует технические возможности ZX Spectrum, привнося часть кинематографической истории в мир ретро-вычислений.
-------------------------------------------
Matrix Digital Rain for the ZX Spectrum 48k
-------------------------------------------
By Marco Varesio (Marco's Retrobits) 2020
retrobits.altervista.org
Coded for the Matrix Challenge, organized by Retro Programmers Inside
Facebook
www.facebook.com
This is my implementation of the well known Digital Rain (also referred to as
Raining Code) effect, featured in The Matrix science fiction movies.
Watch the video:
Load the "coderain.tap" file in your ZX Spectrum or your favorite emulator.
A good emulator available for many platforms is FUSE:
You can even try Matrix Digital Rain in your web browser
(powered by JSSpeccy emulator):
While the code rain animation is running, you can change the effects
by pressing the following numeric keys:
7: set mode to "inverted drops"
8: set mode to "standard" (default)
9: set mode to "woman in red"
You can change the colour by pressing the following numeric keys:
1: blue
2: red
3: magenta
4: green
5: cyan
6: yellow
Implementation details
----------------------
The adopted technique is to initially fill the screen with random characters
(or with a bitmap image for the "woman in red"), making them not visible
(black ink on black paper).
Then, within an endless loop, the rain effect has been implemented by altering
the screen attributes memory area, to make the "drop" and its trail visible.
The “drops” start falling at random position and each “drop” falls at a
random speed and leaves a trail with random length.
In the "standard" and "inverted drops" mode, the trail is brighter immediately
after the “drop” and becomes darker as the “drop” slides down; moreover,
random characters at random positions are periodically printed to the screen.
The Matrix Digital Rain for the ZX Spectrum has been coded in C language and
built with z88dk using the ZSDCC compiler.
Source files:
coderain.c: the actual program
udg.c: the custom characters
woman.c: the "woman in red" bitmap
Compile with:
zcc +zx -vn -startup=1 -clib=sdcc_iy -lm woman.c udg.c coderain.c -o coderain -create-app
Matrix Digital Rain for the ZX Spectrum 48k
-------------------------------------------
By Marco Varesio (Marco's Retrobits) 2020
marco's retrobits: retrocomputing, retrogaming and retroprogramming
Welcome to marco's retrobits! Here You'll find video games I've written for old computers like the ZX Spectrum, as well as other retro-stuff.
Coded for the Matrix Challenge, organized by Retro Programmers Inside
This is my implementation of the well known Digital Rain (also referred to as
Raining Code) effect, featured in The Matrix science fiction movies.
Watch the video:
Load the "coderain.tap" file in your ZX Spectrum or your favorite emulator.
A good emulator available for many platforms is FUSE:
You can even try Matrix Digital Rain in your web browser
(powered by JSSpeccy emulator):
While the code rain animation is running, you can change the effects
by pressing the following numeric keys:
7: set mode to "inverted drops"
8: set mode to "standard" (default)
9: set mode to "woman in red"
You can change the colour by pressing the following numeric keys:
1: blue
2: red
3: magenta
4: green
5: cyan
6: yellow
Implementation details
----------------------
The adopted technique is to initially fill the screen with random characters
(or with a bitmap image for the "woman in red"), making them not visible
(black ink on black paper).
Then, within an endless loop, the rain effect has been implemented by altering
the screen attributes memory area, to make the "drop" and its trail visible.
The “drops” start falling at random position and each “drop” falls at a
random speed and leaves a trail with random length.
In the "standard" and "inverted drops" mode, the trail is brighter immediately
after the “drop” and becomes darker as the “drop” slides down; moreover,
random characters at random positions are periodically printed to the screen.
The Matrix Digital Rain for the ZX Spectrum has been coded in C language and
built with z88dk using the ZSDCC compiler.
Source files:
coderain.c: the actual program
udg.c: the custom characters
woman.c: the "woman in red" bitmap
Compile with:
zcc +zx -vn -startup=1 -clib=sdcc_iy -lm woman.c udg.c coderain.c -o coderain -create-app