Reverse engineering vine-like growth and meandering cameraReverse engineering vine-like growth and meandering camera

Reverse engineered metamorphosis – Part I

| 1 Comment | Published on October 13, 2008

So Glenn Marshall’s metamorphosis video has been getting some rave reviews lately. The video consists of a 2d recursive vine-like growth, lots of butterflies, and some nice finishing effects. It is very pretty. Unfortunately, Glenn’s been a little – hmm – reluctant to share his code. That’s a pity, because,… Read More

Least-used letter pairs

| 1 Comment | Published on July 11, 2008

Curiobot is in the middle of a structural makeover and this morning I decided that the code needed a little condensing. Most popular Javascript applications simplify function and variable names to just a few letters, and some CSS-heavy pages use a similar unique identifier to cut down on bandwidth. This… Read More

Voronoi previewVoronoi preview

Tutorial #7: Voronoi diagrams

| 8 Comments | Published on May 4, 2008

Sunday is looking a little overcast, a little gloomy, and a lot like a good day to tackle a complicated tutorial: Voronoi diagrams. I’m sure you’ve seen them before. Given a set of points, a Voronoi diagram defines a series of cells surrounding each point. Each cell contains all points… Read More

Tutorial #6: Colliders

| No Comments | Published on April 29, 2008

Here’s another brief tutorial. This one relates to object collisions and velocity transfers. Basically, we’re making simulated billiard balls: objects that bounce off each other and the sides of the applet. Not too much else to introduce, so I’ll just get started… What it looks like Here are the files:… Read More