BLOBS (or FIREFLIES) IN A JAR
|
|
This script has been tested on and shown to work with the following browsers:
- Internet Explorer version 10 and above
- Google Chrome version 4 and above
- Mozilla Firefox version 3 and above
- Apple Safari version 5 and above
- Opera version 10 and above
|
|
23-Jul-2020: Support for Internet Explorer versions lower than 10 removed. Change to using CSS 'blur'. Blobs now try to avoid each other and avoid the mouse, unless they are mating! 11-Jun-2013:Internet Explorer support improved. 02-Jan-2012: First release.
|
STEP 1: Copy and paste the code below so that it sits between the <head> and </head> tags at the top of your web-page:
CLICK HERE to select all the above text
|
STEP 2: Change the colour (and other parameters) at the start of the script you just copied to the settings you require.
|
THAT'S IT When your page loads, blobs (or fireflies) will dart around your screen as if you had put them in a jar and screwed down the lid. For a firefly, try making the colour yellow and the blob into a '*'.
|