59

Wrote Python version of CMatrix (the classic program to simulate the display fro...

 6 years ago
source link: https://www.reddit.com/r/linux/comments/7rp91m/wrote_python_version_of_cmatrix_the_classic/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

Wrote Python version of CMatrix (the classic program to simulate the display from "The Matrix" in terminal.) This one uses half-width katakana Unicode characters by default (like in the movies), but can use custom character sets. Accepts keypresses to change speed/color while running. Come try it!

Go to linux
r/linux

We are private in protest of the API changes. https://www.theverge.com/2023/6/8/23754780/reddit-api-updates-changes-news-announcements

Don't message us for access, everyone is blocked out site-wide.

See http://redd.it/1476ioa for more info.


845K Members 1.3K Online
• 5 yr. ago
Wrote Python version of CMatrix (the classic program to simulate the display from "The Matrix" in terminal.) This one uses half-width katakana Unicode characters by default (like in the movies), but can use custom character sets. Accepts keypresses to change speed/color while running. Come try it!
Sort by: Log in to sort by top, controversial, or new
80 comments
[deleted]
• 5 yr. ago

Add an asciinema link to your showcase ;)

https://asciinema.org/

Report

Is it also japanese recipes, like in the original?

Report

This is awesome. I recently also discovered somebody made a "No More Secrets" terminal script to get that letter-jumbling/"We've broken their encryption!!" movie-effect from the classic Robert Redford movie Sneakers. It's pretty cool: https://github.com/bartobri/no-more-secrets

Report

isn't it mirrored katakana in the movies?

Report

# 2017/01/19

Old news, or did you forget we're in 2018 already? ;)

Report

Nice ! I get no colors, though...is there a compatibility option I am missing ?

Report

Okay, it works much better than cmatrix, and the colours and different sets are a welcome one.

I did notice one thing when I switch from speed 99 to 100, it goes from smooth to rather jagged. Is this intended?

Report
• 5 yr. ago

looks awesome. I will try this when i get home. I was looking for a gif or video of it but saw there wasnt one on the readme page. Maybe you can consider adding one? I think short gifs showing quickly what a program does can be nice to add to the readme so it appears on the github project page.

Report
• 5 yr. ago

Installation instructions to curl straight into usr/local/bin?

Ambitious, OP!

Cool code, thanks for sharing!

Report

I don't want to open a PR only for README, but you have a typo in the -s option: 100 uses a 1 second delay, 100 uses none (first one should be zero). Also, it says from 0 to 100 but later suggest using negative values to slow it down even more.

Report

hmm, how to make this the desktop background... hmm...

Report
[deleted]
• 5 yr. ago

You sir, you know what our weaknesses are. Take my upvote.

Report

Is it on AUR already?

Report
[deleted]
• 5 yr. ago

For people interested, there is this one too.

Report
• 5 yr. ago

I wonder if it would make sense to have a version that can run as a privileged process and have the visual state be determined by ram activity or disk I/O. Just for the fun of it.

Report

Great work. Interestingly, Leap 42.3 on Windows can't display the katakana characters; they all just appear as a boxed question mark.

Report

I love the attention to detail you have put in this. Bravo.

Report
• 5 yr. ago

This reminds me of something I did in college. I took CMatrix and mapped the telnet port on my Linux machine to respond with the output of CMatrix. So if someone port scanned me and found my telnet port open, they found the famous falling green characters in response. I doubt many people found my easter egg, but I got a kick out of it.

Report

Nice.

Report
• 5 yr. ago

This is really cool, thanks for making this.

Report

Recommend

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK