Portable Game Notation (or PGN) is a format for recording the moves of a chess game. I was learning how to work with it for a different project when I had the idea for this sketch: could you abstractly visualize a chess game?
If you ask me, the answer is “probably?” The visualization I came up with is not particularly interesting but it wasn’t really trying to be. I wanted to see if I could parse the file and make something happen. It would be interesting to revisit this and build a more thoughtful visualization.
The game seen here is known as Kasparov’s Immortal. The PGN was sourced from
chess.com’s page for the game. This sketch includes code from
@mliebelt/pgn-parser. See pgn-parser.js for details.