Giter Site home page Giter Site logo

rudxain / rgb-digital-rain Goto Github PK

View Code? Open in Web Editor NEW
14.0 1.0 3.0 3.34 MB

The Matrix "falling code/letter rain" animation but RGB. No more monochromatic green!

Home Page: https://rudxain.github.io/RGB-digital-rain/

License: GNU Affero General Public License v3.0

JavaScript 88.12% HTML 9.81% CSS 2.07%
animation the-matrix digital-rain falling-code rgb canvas-api code-rain matrix-rain pwa rygcbm

rgb-digital-rain's Introduction

RGB-DR

RYGCBM colored vertical stripes

▶️Demo

⚙️Features

  • ⚡️Real-time auto 🔆light/🌙dark theme switching, with transitioning ✨️
  • 👆Interactive: droplet spawning on 🖱click/touch
  • 💻Responsive: efficient resizing, and native full-screen resolution

ℹUsage

You can go to the website (minified), or ⬇download this branch (cutting-edge). If you downloaded the branch, then extract it, then open src/index.html on any 🌐browser.

Naming?

If you don't believe me, the "official" name is "Digital Rain", even though the standard-de-facto is "falling code".

Why I did this

Everything started when a family member (I haven't asked permission to reveal their identity, yet) sent me a link to this article, and I was interested in learning how it worked, because the code was so simple yet the result was so cool and complete! I also wanted to learn because I always wanted to make a canvas/image processing in some programming lang, specially if it involved animations.

I downloaded the source, started editing in VS-Code to make some minor improvements, and realized I could update the font color for each individual char being displayed, so I decided to implement the feature using a color table sorted like a 🌈rainbow (like those RGB gaming PC setups, lol). I searched on the web to see if someone has done the exact same thing and only found this video, which is similar but not the same idea, because it has a limited color palette (update: found this app). So I decided to post my little project on GH for anyone to see and give me feedback.

Later I realized GH allowed anyone to create web{page/site}s, so I started setting everything up, while also breaking my head trying to understand exactly what I had to do, lol. Some parts of the docs said I had to install 3 different packages, other parts told me to do other things. But in the end I realized it was much simpler than I thought.

⭐Credits

  1. Original source code by 👤Ganesh Prasad: https://codepen.io/gnsp/pen/vYBQZJm
  2. My family member for sending me the article.
  3. Inspiration by RGB PC setups like this one which looks similar to my animation.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.