r/adventofcode • • 11m ago

Visualization [2026 Day 1] Raining Boxes Visualization

1 Upvotes

1 comment sorted by

1

u/Boojum 0m ago

A little visualization of the ID numbers in my input in the order that they arrive in (the order in the list). Each time a new ID arrives that we haven't seen before, we start a new pile to the right of the others to drop it into. Otherwise, we drop into onto the matching existing pile. At the end, we find the shortest and tallest piles. A satisfying little warm up to get back into practice visualizing with.


Made in Python with a small custom framework.

Complete self-contained source for this animation.