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

Earth previewEarth preview

Tutorial #5: The IP-mapping globe

| 3 Comments | Published on April 24, 2008

Humans love maps. They love the mapping of any type of information, not strictly geographical. Maps are bursting with information. They transcend the boundaries of language. Maps are good. I’m going to make a map today. Well, a globe. It’s going to be a very basic extension of our icosahedron-based… Read More

Tutorial #3: The icosahedron-based geodesic sphere

| 6 Comments | Published on April 17, 2008

This quick tutorial will show a more reasonable alternative to the electronsphere, which addressed the problem of distributing points evenly on a sphere. We’ll be creating a geodesic sphere (like at the Epcot center) using a subdivided icosahedron. It’s a relatively simple script and inexpensive in terms of CPU usage…. Read More

Tutorial #1: More than one way to skin a sphere

| 2 Comments | Published on April 7, 2008

This first tutorial will address the question of how to evenly distribute points on a sphere. It’s not as simple as it sounds. I’ll be addressing one method today, which I’ll be calling the electronsphere. The idea is this: treat each point as if it were an electron – repelling… Read More

Paul Bourke

| No Comments | Published on April 6, 2008

I should give a nice big link of thanks to Paul Bourke and his excellent website, which has been helping novice programmers like me find answers to their geometry questions for many years. Paul Bourke was one of the first people to publish clear, concise, down-to-earth solutions to common math… Read More

Building blocks

| No Comments | Published on April 5, 2008

I’ve written a very brief introduction to Processing. Hopefully people found it so tantalizingly uninformative that they resolved to visit the Processing website and learn the basics of the language via the tutorials there. Today, I introduce my generic classes: the building blocks on which I’ll be creating some exciting… Read More