Watch me try this year's Advent of Code challenges in Go! Try them yourself here: https://adventofcode.com/
Gist: https://gist.github.com/echojc/7ac688...
At 11:35, I say I store the "point" as the key; this is a mistake and I meant I store the "translation vector" as the key.
Check out / adventofcode for hints and other solutions.
#adventofcode #golang #go
0:00 Intro
1:45 Part 1: Concept of my solution
2:42 Calculating rotations
3:40 Matrix and vector multiplication
5:25 Example of rotating a set of points
7:16 Importance of high level concepts when reasoning about a problem
7:58 (Interlude: data types I'm using for this problem)
9:10 Implementing the solution concept
14:42 Running on example input (part 1)
15:57 Part 2
16:23 Gotcha in part 2
17:24 Musings
Order of operations matter in 3D transformations