DEV Community

Discussion on: Matrix raining code effect using JavaScript

marzelin profile image
Marc Ziel

Nice, but the start of the animation is a bit ugly, imho. Here's a quick fix:

const rainDrops = Array.from({ length: columns }).fill(canvas.height);
Enter fullscreen mode Exit fullscreen mode
javascriptacademy profile image
Adam Nagy Author

Yes, this is a nice way to start it 😊. I left it because it is felt like a cool intro to me, something that signals that something big and awesome is coming.

lpm0073 profile image
Lawrence McDaniel

likewise. i originally added Marc's fix but then changed it back to your original bc i like the flicker effect.

lpm0073 profile image
Lawrence McDaniel • Edited on

You're welcome to do a PR on with your fix :)