Hello. I'm Joey Lee.

I create spatial and digital media.
Currently in Stuttgart, Germany.





Cartogram.js sketch glitch


About

As a geo/map person, I’ve always been into cartograms, despite how hard they are to read, the lines are just lovely. Cartograms are computationally pretty fancy and until recently most of the cartogram algorithms were clunky scripts or wrapped up in desktop tool. However, there are smart people out there who’ve made all that stuff accessible in javascript for people like me.

This was just a little P5.js sketch using cartogram.js by Shawnbot that distorts voter data from New Zealand beyond it’s borders. I thought the animation and deformation looked intriguing and wanted to document it.

My sketch.js is total spaghetti, but I figure I can clean it up later…maybe a geo-cartogram glitch series is in my future…


See the sketch here: https://joeyklee.github.io/cartogram-glitch-series/

NOTE: you might have to clear your browser cache to see the sketch. At least, that’s what I’ve found useful in the past. Like I said, it’s spaghetti!