# 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

# 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 #4: A tree made of letters

| 1 Comment | Published on April 22, 2008

A couple of years ago I was walking home from work and thinking about how writing to a blog is often a one-way process. Like talking to a wall. The most important part of the process, for most bloggers, is the creation of an entry: the release of words. The… 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 #2: Recursive trees

| No Comments | Published on April 10, 2008

Today’s tutorial is going to be shorter and sweeter than the last. The problem we’ll address is how to structure a tree-like object in a way that’s similar to a real-life tree. It must contain a set of user-defined variables that affect the “species” of tree, but still allow some… 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

# Introduction to Processing

| No Comments | Published on March 25, 2008

It’s time to get the real content started. Processing is an open source programming language and environment for people who want to program images, animation, and interactions. The Processing website states it pretty clearly. Processing is a tool used primarily for visualizing data. It is based on Java, but uses… Read More