Matrix digital rain (raining code) with a message emerging i

Version 1.22.0.0 (3,8 KB) von Yifan Gu
This file generates a video just like the Matrix digital rain with a message emerging in the end.
689 Downloads
Aktualisiert 24. Jul 2019

Lizenz anzeigen

You can embed any message you want for your special one within the cool Matrix digital rain. The code is fully customizable and fully vectorized (with a single for-loop). Remember to flip the video file horizontally afterwards to get the mirrored characters! Here is an example of the generated video (https://youtu.be/Y_LXY7TGnWA).
To reproduce the visual effect of the Matrix digital rain, the following features are incorporated:
(1) Randomized rain length
(2) Randomized rain falling speed
(3) Head effect: the first 3 characters of each rain are brighter and whiter
(4) Tail effect: the brightness of the trailing characters of each rain fade gradually
(5) Randomized tail length
(6) Rain characters change randomly at a given rate
(7) Rain characters have randomized brightness
The rendering with the default parameters take about 20 mins, so be patient. Matlab text() function is not fast.

Zitieren als

Yifan Gu (2024). Matrix digital rain (raining code) with a message emerging i (https://www.mathworks.com/matlabcentral/fileexchange/61454-matrix-digital-rain-raining-code-with-a-message-emerging-i), MATLAB Central File Exchange. Abgerufen .

Kompatibilität der MATLAB-Version
Erstellt mit R2011a
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS Linux
Kategorien
Mehr zu Dates and Time finden Sie in Help Center und MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Veröffentlicht Versionshinweise
1.22.0.0

Fix a bug specific to most recent Matlab versions.
Disable display when generating video file for performance consideration.

1.21.0.0

Some clean up.

1.2.0.0

(1) Fully vectorize the code: there is only one for-loop left.
(2) Pre-generate the text objects and update them instead of generating new objects at every time step. This brings a performance improvement by a factor of 2. Drawnow() is slow.

1.1.0.0

Add the screen shot and a youtube link to the video example.

1.0.0.0