UPDATED 11-08-18 (11:45am)
Years ago when I started writing business software for the IBM, I rarely ever used the mouse, thinking it to be slow and cumbersome. And as such, I would often write a little sparkle routine should you ever press down the button and drag it across the screen. And back then screens were 640x480 so the glitter was really quite pretty at its tiny size.
I never actually sat down just to write this glitter method all by itself, until now.
The code I wrote years ago would sparkle where the mouse is when the button was pressed, then fade, showing the business app beneath. This particular version is actually one you can draw pictures in with. Young kids and those young at heart might really enjoy doing this.
Use the mouse, press the LEFT button to draw a "glitterific" line or plot.
To test it, try writing the first 4-letters of your name, or maybe a symbol like a heart or diamond.
Press (X) to animate the glitter.
Hold (O) to slowly erase the glitter so you can start a new picture.
Change DEBUG=0 to turn off the number counters at the top.
If you like, post some of your own glitterific pictures to show the world.
Enjoy !
Below is original version:
[Please log in to post a comment]