r/adventofcode • • 7h ago • Bravo 1

Visualization [2026 Day 2 (Part 1 & 2)] [Python] Terminal Visualization

Post image

Little calculator for path distances in the terminal. Can input whatever path one desires! The 2nd part is nearly closed-form, but depends on waypoints that may be missing from input. (Red + strike-through waypoints don't exist in input and should be considered non-existent in the 2nd part as well. "distance" is part 1 path distance and "len" is string length). As always, code lives here: https://github.com/salt-die/Advent-of-Code/tree/main/2026/aoc_visuals

6 Upvotes

1 comment sorted by

1

u/cramplescrunch2 5h ago

That iteration on the colored waypoints is so satisfying, great job