Advent of Code 2020
- Date
Update: I’ve rewritten the visualization and documented the process.
Every year, I attempt to complete the Advent of Code. It’s a series of programming challenges that gives me an opportunity excise my coding ability in new and unique ways.
I was unable to complete this year. Life sometimes just gets in the way. I did most of my work in Swift on the command line. The solutions can be found on my GitHub page. I rewrote my animation code to also exist as a live preview window. This allowed me to watch my solutions in real time, as opposed to waiting for the result to be muxed and written to disk.
The Animator still relies on CoreGraphics and AVFoundation for rendering, encoding, and muxing. A RenderableWorkView has been added, using SwiftUI and Metal, to allow for the previews.