3 ms·
If you're like me you probably spent hours as a kid watching scrolling random text on an x86 PC that you coded up. This was before the Matrix, so when you saw t
by graderjs 4y ago
If you're like me you probably spent hours as a kid watching scrolling random text on an x86 PC that you coded up. This was before the Matrix, so when you saw that rain in the Matrix, you were like, "OH MY GOD how'd they get my idea? Have they been watching me", in full-Neo style.
I finally found the right font to rediscover and replay this experience from my youth, on the web, and share it with you all.
I made a write up about my journey here: https://github.com/crisdosyago/random https://github.com/crisdosyago/random
And a special inside track I'll give you all the Easter Eggs:
swipe up/down - pause flow
swipe opposite on pause - unpause
click - toggle pause
spacebar - toggle pause
+ : increase speed
- : decrease speed
-------
I don't know about you but I really love watching this kind of text, get all soft focus, peripheral vision about it, it's just really relaxing. It's true random, too, none of that Math.random stuff, it uses crypto.getRandomValues.
Hope you can enjoy! :) ;p xx ;p
- graderjs 4y agoOops I see a little bug. I forgot that on mobile instead of the wheel event you need to look for the touch move event because I think if you're not actually moving the screen then you don't get a wheel event on mobile and maybe you don't get one at all. Sorry forgot about that little quirk between mobile and desktop browsers. I should kind of know because I've dealt with that before but anyway I'll add some touch event handlers to implement the swipe stuff on the mobile... damn, must have been kind of annoying for you people who saw swipe and then. Sad, sorry :(