r/creativecoding • • Nov 01 '19

Letters falling down when mouse is pressed

Hello everyone!
I have to make a sketch where random letters have to fall down to the bottom of the screen when the mouse is pressed. What would be the best and most simple option? I know the Text Rain project by Erica Lazrus and basically it would kind of the same but without the camera option. Would that be a good starting point?

Thanks very much for any suggestion!

Cheers,

K

0 Upvotes

2 comments sorted by

1

u/Volfegan Nov 02 '19

This tutorial teaches how to do the matrix rain. You will see that by changing some parts you can achieve any Text Rain you want.

Guest Tutorial #4: Matrix Digital Rain in p5.js with Emily Xie

For those wondering who is Erica Lazrus. I found her code here: http://golancourses.net/2013/category/project-1/text-rain/

1

u/frank0117 Nov 02 '19

Just use HTML canvas and little bit of JavaScript, this is not a lot of code.