Log In  

Cart #58876 | 2018-11-08 | Code ▽ | Embed ▽ | No License

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:

Cart #58874 | 2018-11-08 | Code ▽ | Embed ▽ | No License

P#58875 2018-11-08 12:07 ( Edited 2018-11-11 03:31)

This is cool, my younger sisters might enjoy this

P#58927 2018-11-10 20:19 ( Edited 2018-11-11 01:19)

Thanks !

P#58928 2018-11-10 22:31 ( Edited 2021-12-21 18:38)

[Please log in to post a comment]

Follow Lexaloffle:          
Generated 2023-03-29 18:59:09 | 0.007s | Q:19