r/adventofcode • • 2d 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

12 Upvotes

2 comments sorted by

3

u/daggerdragon 1d ago

Actually coloring the waypoints is *chef's kiss*

Excellent visualization, as always! <3

1

u/cramplescrunch2 2d ago

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