Share your repls and programming experiences

← Back to all posts
Matrix Rainfall
cgolden15 (187)

I haven't seen a decent matrix rainfall in python in a while. I managed to work on a few older versions of rainfalls and came up with this. Any suggestions on how to improve it or anything?

Commentshotnewtop
AlphaWarhead (5)

I've hacked into their mainframe and disabled their algorithms

WYLDYR (29)

@AlphaWarhead swings chair around "I'm in."

cgolden15 (187)

@WYLDYR I know what you've been doing... why you hardly sleep, why you live alone, and why night after night, you sit by your computer. ...

AJSullivan (2)

This would help me fall asleep.

cgolden15 (187)

@AJSullivan Glad to help out! If you would like to change the color of the rainfall, feel free to fork the repl and change it yourself. Just no stealing please.

AJSullivan (2)

Oh thanks @cgolden15, I will make sure to not steal the code.

cgolden15 (187)

@AJSullivan No problem, just an FYI, to change font color, change the hex on line 47(shown below)

cgolden15 (187)

@AJSullivan Yeah, I think so too. I would recommend a soft red to help with sleep if you're serious. Possibly "#ff5465" or something around there.

AJSullivan (2)

thanks @cgolden15 this really helps!

JordanDixon1 (271)

Way better than just using a gif cause it's not the same thing over and over again

cgolden15 (187)

@JordanDixon1 Definitely, that's probably one of the best things about it.

cgolden15 (187)

@JordanDixon1 Not really, I haven't spent the time to learn it, why do you ask?

JordanDixon1 (271)

@cgolden15 I was wondering if you would like to work on a project with me.

cgolden15 (187)

@SilentShadows12 Actually no, I started this myself and went onto my discord server and requested help from some friends. They might have used that to assist them, but I do not believe it was used directly. Sorry for any confusion this may have caused you.

idonteatcats (5)

Maybe use more exotic characters and put some easter eggs in the rainfall

idonteatcats (5)

@cgolden15 Arabic, Greek, Ukrainian, and Asian Characters for more text as the rainfall. Lenny faces appearing in the background but their extremely dim

cgolden15 (187)

@idonteatcats alright, cool. I'll look into that. Thanks

sugarfi (267)

You guys are all wrong I translated the text in the code and got this

cgolden15 (187)

@sugarfi There is no translation of it, it's just a few characters from the Russian language.

sugarfi (267)

@cgolden15 What do you mean? You must have translated it wrong.

ipastrano (96)

Cool! can you make it go across the whole screen though (works in a new tab, but when viewing it from the box, it is cut off.)

cgolden15 (187)

@ipastrano In theory, I could do that. However, I intended for this to be used in a new tab full screen as a screen saver or whatever else the user desired.

ipastrano (96)

@cgolden15 oh ok, cool, it's not just for repl viewing purposes :D

AlexanderTarn (224)

why does it use russian characters and numbers?

AdCharity (1112)

@AlexanderTarn because we're in the matrix

AlexanderTarn (224)

@AdCharity Хорошо, я взломал их мейнфрейм и отключил их алгоритмы

AdCharity (1112)

@maazzubair99 lmao I didn't want to go out of my way to find out it was some Russian cuss words

AgastyaSandhuja (88)

@AlexanderTarn
Хорошо, я взломал их мейнфрейм и отключил их алгоритмы. Я также получил пароль для их интернета.

cgolden15 (187)

@AlexanderTarn It looks good, but if you check the files, I have other options listed in a .txt that can replace the Russian if you wish.