Janne Mattila

From programmer to programmer -- Programming just for the fun of it

Advent of Code 2023 Day 10 part 2 visualization

Posted on: December 10, 2023

Just two weeks ago I wrote about Advent of Code 2023 and mentioned that I don’t typically do visualizations.

But day 10 part 2 was so fun puzzle that I had to do it!

First, here is the start state of the puzzle:

Here is the state after doing the full loop around the pipes:

Here I have marked red all the possible tiles that might be enclosed by the loop:

Here I have “zoomed” in to double the resolution:

And finally, here are the tiles that are enclosed by the loop:

Let’s see if I’ll do any more visualizations in the future.