Share your repls and programming experiences

← Back to all posts
Matrix Rainfall
cgolden15

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?

Voters
Tristant21
CSARex
esotelo2
KZspy
outplayed
Dwebbjcg
slin02
DeBeast591
AJSullivan
LordPancake
Comments
hotnewtop
AlphaWarhead

I've hacked into their mainframe and disabled their algorithms

cgolden15

@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. ...

DeBeast591

That is amazing!

cgolden15

@DeBeast591 Thanks!

AJSullivan

This would help me fall asleep.

cgolden15

@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

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

cgolden15

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

AJSullivan

Oh that is so cool @cgolden15!

cgolden15

@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

thanks @cgolden15 this really helps!

JordanDixon1

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

cgolden15

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

JordanDixon1

@cgolden15 do you know any flask?

cgolden15

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

JordanDixon1

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

SilentShadows12

I am guessing u used this as a tutorial??
https://code.sololearn.com/Wj7ZWBg5m2OG/?ref=app#html

cgolden15

@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

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

cgolden15

@idonteatcats suggestions?

idonteatcats

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

cgolden15

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

sugarfi

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

cgolden15

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

sugarfi

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

oignons

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

@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.

oignons

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

AlexanderTarn

why does it use russian characters and numbers?

AdCharity

@AlexanderTarn because we're in the matrix

AlexanderTarn

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

AdCharity
AdCharity

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

AgastyaSandhuja

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

AlexanderTarn

@AgastyaSandhuja
хорошо хорошо

cgolden15

@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.

AJSullivan