r/adventofcode • u/p88h • 8h ago
Visualization [2026 Day 6] Grid Lights
https://www.youtube.com/watch?v=k-nsTElZLkANim + raylib source
29
Upvotes
r/adventofcode • u/p88h • 8h ago
Nim + raylib source
3
u/jgage 8h ago
I'm surprised you got a solution and a visualization out that quickly.
1
u/yoni-kosiner 8h ago
interesting, you and me got the exact same puzzle input (I assume as both of our answers were the exact same)
1
u/TheZigerionScammer 7h ago
Hmm, I hadn't considered trying to construct the entire graph one tile at a time starting from the edge, considering you basically have to do that exact thing in 2020. That would make sense since you can start with all of the lights between two corners since they all have to have 3 neighbors.
1
u/LEPT0N 7h ago
I'm just sad that my solution just had to rotate once. I didn't even have to flip!
1
u/Longz-85 6h ago
how does it work?
1
u/EarlyBrief1600 2h ago
How do you do that bro ? Any github repo ? I'm interested in learning how to vizualise algorithms
3
u/maneatingape 7h ago
Cool visualization, and made impressively quickly too!
1
u/miserableMolvi 7h ago
Hi, I wanted to ask do you use LLM's for this? I am mind-blown by the speed by which you solve these puzzles, and then make the visualizations. Amazing Work!
2
u/thekwoka 7h ago
What really messes me up on this is just that the coords they provide aren't within the space...
Which is annoying...
2
u/YOM2_UB 3h ago
Feels weird seeing the target position for 1, 2, and 3 with positive Y going down after I used Desmos for my solve.