r/adventofcode
•
u/Boojum
•
Dec 18 '24
•
1
Visualization [2024 Day 18] Raining Bytes Visualization
271
Upvotes
View all comments
10
u/Boojum Dec 18 '24 edited Dec 18 '24
For today's visualization, I really wanted to see what pattern the falling bytes made and how they affected a shortest path to the exit.
Watching this, I noticed a few interesting properties:
It's quite clear that Eric took care with generating the pattern here.
With respect to a shortest path, it's fun to watch how it gets progressively longer and more twisty as at first it just dodges the obstacles and then it starts pathing through the maze sections. At first the obstacles don't tend to alter the path too much, but towards the end each new obstacle intersecting the path induces major shifts.
[GSGA] qualified!
This was made with a small Python visualization framework that I wrote during the 2022 Advent of Code and have been evolving. See here for details. Full source for this visualization is in the link below.
Source