Advertise here with Carbon Ads

This site is made possible by member support. 💞

Big thanks to Arcustech for hosting the site and offering amazing tech support.

When you buy through links on kottke.org, I may earn an affiliate commission. Thanks for supporting the site!

kottke.org. home of fine hypertext products since 1998.

Beloved by 86.47% of the web.

🍔  💀  📸  😭  🕳️  🤠  🎬  🥔

kottke.org posts about Dan Malec

Graphs Built With Townscaper Buildings

Townscaper Dataviz

This is neat: Clive Thompson built a little app that converts tabular data into a bar chart using houses from the video game Townscaper. Says Thompson:

A few days ago I was placing houses in a long row, with varying heights. And when I looked at the jagged result I thought:

Hey, that looks like a bar chart!

That made me wonder, hmmm, could I use Townscaper as a dataviz tool? Could I write code that takes data and turns it into a row of buildings?

See also Dan Malec’s algorithmic Townscaper towns.