e y 6 e s : home interface panel : blobby
Download class files and documentation: 'blobby.zip'|
Download source code: 'blobbysrc.zip'
Blobby is an example of a common demo effect: 2D metaballs. The foreground and
background colors are chosen randomly from an internal list of combinations, and
smoothly swapped at regular intervals. The movement of each metaball is
controlled by three forces: a force compelling the metaballs to move towards their
common center of mass, an occasional impulse in the opposite direction,
and the reflecting force of the "walls."
The foreground and background colors are specifiable as applet parameters
(overriding those chosen from the list of default color combinations), as is the
effective radius of the blobs.