Play my pipes game: https://hexapipes.vercel.app/play
I like the mix of hexagons, triangles and squares - hexapipes.vercel.app/rhombitrihex...
And the triangular grid is just pure minimalism - three distinct tiles and that's it hexapipes.vercel.app/triangular/5
I like the mix of hexagons, triangles and squares - hexapipes.vercel.app/rhombitrihex...
And the triangular grid is just pure minimalism - three distinct tiles and that's it hexapipes.vercel.app/triangular/5
Day 20 Race Condition used to take almost 2s before I gave it some numpy love.
#python solutions and animations code here: github.com/gereleth/aoc...
Day 20 Race Condition used to take almost 2s before I gave it some numpy love.
#python solutions and animations code here: github.com/gereleth/aoc...
#AdventOfCode Day 23 LAN Party
#AdventOfCode Day 23 LAN Party
Showing millions of cheats is tricky so this one turned out a little weird =). In part 2 it repaints the points by their total possible cheat gains. Pretty neat structure shows up.
#py5 animation code: github.com/gereleth/aoc...
Showing millions of cheats is tricky so this one turned out a little weird =). In part 2 it repaints the points by their total possible cheat gains. Pretty neat structure shows up.
#py5 animation code: github.com/gereleth/aoc...
The robots almost broke my brain this morning, this was super hard for some reason.
But at least the solution works pretty much instantly.
#python solution code: github.com/gereleth/aoc...
#py5 animation code github.com/gereleth/aoc...
The robots almost broke my brain this morning, this was super hard for some reason.
But at least the solution works pretty much instantly.
#python solution code: github.com/gereleth/aoc...
#py5 animation code github.com/gereleth/aoc...
Some dynamic programming if not dynamic visuals.
No idea how to show full input, there's 400 sequences there =).
Some dynamic programming if not dynamic visuals.
No idea how to show full input, there's 400 sequences there =).
I did a binary search in part 2 in my actual solution but watching how the path rebuilds after every new obstacle is pretty fun too.
I did a binary search in part 2 in my actual solution but watching how the path rebuilds after every new obstacle is pretty fun too.
Looks full of holes but it is a thorough search.
#python solution: github.com/gereleth/aoc... (same priority queue powered search I throw at every optimization problem)
#py5 animation code: github.com/gereleth/aoc...
Looks full of holes but it is a thorough search.
#python solution: github.com/gereleth/aoc... (same priority queue powered search I throw at every optimization problem)
#py5 animation code: github.com/gereleth/aoc...
Checking density anomalies for fun and profit.
I love how the vertical density chart itself sometimes looks like half a christmas tree.
Checking density anomalies for fun and profit.
I love how the vertical density chart itself sometimes looks like half a christmas tree.
But something finally works even for the crazier shapes like this one.
#AdventOfCode
But something finally works even for the crazier shapes like this one.
#AdventOfCode
So here's my iterative approach for a change. One simple counter trick to save an astronomical amount of repeated work =).
github.com/gereleth/aoc...
So here's my iterative approach for a change. One simple counter trick to save an astronomical amount of repeated work =).
github.com/gereleth/aoc...
Good luck with your solving =).
Good luck with your solving =).