BLOBS (or FIREFLIES) IN A JAR
xml compliantThis 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 '*'.

Copyright notice: All scripts are © copyright mf2fm.com. You can use them wherever and whenever you wish, however the copyright notice at the start of the script should remain intact and a link back to this page would be appreciated. The address for this page is: http://www.mf2fm.com/rv/dhtmlblobs-in-a-jar.php.

This page has been viewed 154 times. It was last viewed on Sat 23 Nov, 2024 at 02:14