nojvek / matrix-rain Goto Github PK
View Code? Open in Web Editor NEWThe famous Matrix rain effect of falling green characters in a terminal
License: MIT License
The famous Matrix rain effect of falling green characters in a terminal
License: MIT License
Does it support on Electron js or Browser ?
Line 101 in 19869ba
btw, it is 'katakana' range (https://en.wikipedia.org/wiki/Katakana_(Unicode_block))
U+30F6 - U+30FF is a dangerous range. I am not sure but sometimes I see that symbols once I increase window size
➜ ~ npm install -g matrix-rain
/Users/Nicholas/.nvm/versions/node/v4.2.2/bin/matrix-rain -> /Users/Nicholas/.nvm/versions/node/v4.2.2/lib/node_modules/matrix-rain/matrixRain
[email protected] /Users/Nicholas/.nvm/versions/node/v4.2.2/lib/node_modules/matrix-rain
➜ ~ src
➜ ~ matrix-rain
zsh: /Users/Nicholas/.nvm/versions/node/v4.2.2/bin/matrix-rain: bad interpreter: /usr/local/bin/node: no such file or directory
looks like main/bin in your package.json is messed up
I think the latest build changed the name to "kanji" but its still kana
Great utility. Unfortunately I can't get it to display with the Matrix-style green. Is there an opt for that?
Thanks for the terrific work :P Really had fun with it
One thing I'm noticed: every time I exit the process, the cursor is always at the very top of the console.
I would have to hit enter multiple times to bring my cursor back to the original position to start typing again. I think this is related to how renderFrame
works? Maybe we need to save the cursor position at the start and restore it with cursorTo
before exit?
I'd be willing to fix this myself, just in a few days :D
Update. For some reason I can't reproduce in my console. I'm on MacOS and the above demo uses the VS Code terminal, but when I use the system's native terminal the cursor behaves correctly, so still investigating
Really happy about the introduced font color option.
It looks like my zsh theme (or something else) makes the background gray, but i want black.
Could you please add background color option and use it to clear screen before frame rendering?
Line 4 in fa85e94
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.