Solutions for Advent of Code 2018
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
day-01
day-02
day-03
day-04
day-05
day-06
day-07
day-08
day-09
day-10
day-11
day-12
day-13
day-14
day-15
day-16
day-17
day-18
day-19
day-20
day-21
README.md
go.mod
go.sum

README.md

Advent of Code 2018

Solutions for Advent of Code 2018 written in Go.

Some interesting Plots

Day 6: Chronal Coordinates Day 11: Chronal Charge
Day 6 Day 11
Day 18: Settlers of The North Pole
Day 18

Animation

Plot each generation (usually with an Image() *image.RGBA function) and use ffmpeg to gule them together. See day 18 for an example.

$ ffmpeg -framerate 30 -i out/%d.png -vf "scale=iw*5:-1" -sws_flags neighbor -y out.mp4