This code creates a matrix rain animation with a black background, and a green color. The animation displays random letters that drop down the canvas like the "matrix" effect. The color can be toggled to a gradient color by double mouse click or double finger tap on touch devices.
The matrix rain animation using canvas API
https://github.com/sumitKcs/matrix-effect.git && cd matrix-effect
open index.html
3. On your device, double click the mouse cursor to toggle between colors or tap your finger twice around the screen on touch devices to see the color change in matrix rain effect.
Goto the Matrix Rain Effect Live Preview