September 08, 2005
Flash 8: Bubblegum

I always wanted to do blobs (or metaballs as they are also called) in flash - the problem is that while it's easy to calculate them in a pixel based program it's quite difficult to build them with vectors. Well, now that we have access to pixels I'm finally able to build something that is not exactly metaballs, but at least it feels a bit like it. Gaussian Blur meets Threshold filter - and I somehow the Bevel filter slipped in again:




Download the source files here.

Posted at September 08, 2005 07:10 PM | Further reading
Comments

beautiful! I wanna poke the blobs!

Posted by: felix on September 8, 2005 08:13 PM

Yeah - make it interactive and it'll be cool - let us poke the blobs about a bit.

Posted by: Jon B on September 8, 2005 10:43 PM

Coming from someone who hasn't had any chance to play with some of the new features, can we see some explanation of how this works?

Lovely work BTW!

L

Posted by: Liamegan on September 9, 2005 12:25 AM

It works like this: at the base are some circle movieclips that meander around the center and change their sizes - pretty standard particle motion kind of stuff. In the next step I blur this screen with a big radius. Then I use the new threshold filter to turn all pixels that a darker as a certain grey-level to black and all the brighter ones to transparent. This results already in the classical "blob" outline. Then I add a very fine black glow in order to remove the staircase look of the borders. As a final touch I use the bevel filter to give it the 3d look. That's it.

Posted by: Mario Klingemann on September 9, 2005 10:08 AM

Nice, but not very practical it uses 90% of my CPU continously!

Posted by: Ozute on October 28, 2005 09:28 AM
Post a comment
Name:


Email Address:


URL:


Comments:


Remember info?



Thank you!

Most Visited Entries
Sketches, Works & Source Code
Lectures
Contact
Backlog
In Love with
Powered by
Movable Type 2.661

© Copyright Mario Klingemann

Syndicate this site:
RSS 1.0 - RSS 2.0

Quasimondo @ flickr
Quasimondo @ LinkedIn
Quasimondo @ Twitter
Quasimondo @ Facebook
Quasimondo @ MySpace
Quasimondo is a Bright
Citizen of the TRansnational Republic
My other blog in german
Impressum


My family name is written Klingemann,
not Klingelmann, Klingeman, Klingaman, Kingemann,
Kindermann, Killingaman, Klingman, Klingmann, Klingonman
Klingemman, Cleangerman, Klingerman or Kleangerman

profile for Quasimondo at Stack Overflow, Q&A for professional and enthusiast programmers