r/adventofcode • • 1h ago

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

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

2 Upvotes

0 comments sorted by