Trees Grow

Constrained minimum spanning trees as shape fills, the moving version of my earlier post The Name of the Node. . . . → Read More: Trees Grow

Roll Over, Delaunay: Voronoi Library Goes Open-Source

I’ve released the as3delaunay library on github! . . . → Read More: Roll Over, Delaunay: Voronoi Library Goes Open-Source

Implementing Enumerated Types in ActionScript 3

This is about implementing an enum in AS3 with value restriction ( i.e. the programmer should be unable to diminish or add to the set of values) and type safety.

We’ll implement the data type as a Class. In order to keep the programmer from adding to the set of values, we need to disallow invocation . . . → Read More: Implementing Enumerated Types in ActionScript 3

Crystals, Evil Rangers, and Voronoi without an Engine

In Flash we can HARNESS THE POWER OF BITMAPDATA (as it might be put in a conference session blurb) to grow Voronoi regions under differing conditions, without doing any algebra. Click on the image to launch the Voronoi Generator.

Variations on Voronoi Diagrams, from Geometry in Action:

One way of getting Voronoi diagrams is by growing . . . → Read More: Crystals, Evil Rangers, and Voronoi without an Engine

Marching Squares: Boundary detection

A little code for a change. . . . → Read More: Marching Squares: Boundary detection

Mona Voronita

Click on the image to see 1000 Voronoi points in motion. Keyboard controls as in the Voronoi Toy.

If the popup won’t go away when you click the X, click in the movie and hit “s” to stop the moving points.

I couldn’t . . . → Read More: Mona Voronita

Props from the Master

Jim Armstrong, the Flash community’s primary math whiz, has encouraged me in the past, and today he did so publicly. I’m very grateful for this recommendation.

Here’s the crass part: I’m available for contract or permanent work, locally or remotely. I live in New York City. CV, references, and samples of my work . . . → Read More: Props from the Master

The Name of the Node: Image Fill with Spanning Trees

I’ve rendered some images using the Voronoi Toy from my last post.

I’ve used my logo 結 (as in 結點 “node”) as the input image, run Sakri Rosenstrom’s image segmentation algorithm on it, dropped 10,000 random points into the segments, and drawn the minimum spanning tree of each set of points, thus creating a sort of space-filling . . . → Read More: The Name of the Node: Image Fill with Spanning Trees

Relaxing in the Plane: A Voronoi Toy

relax, v.
10. Chiefly Physics. To return towards a state of equilibrium. (OED)
. . . → Read More: Relaxing in the Plane: A Voronoi Toy

Displace My Shiny Metal Ass

… in which it is revealed that Bender’s Big Score was actually to provide full floating-point precision to the DisplacementMapFilter! . . . → Read More: Displace My Shiny Metal Ass