If you've read the previous posts discussing Visualisations as a Service, you will know that at this point I think it is probably not a viable project to put up on the internet for free.
However, I think it would be quite cool to see visualisations of other people's puzzle input, and also, the graphics they choose to use to represent them.
So, I'm going to quickly summarise how you can generate your own visualisations using my code if you wish to. At this point, I have 3 MonoGame based visualisations available.
Essentially, if you want to create your own visualisations, clone the repository and make the changes described below.
2018, Day 13
This visualisation works for part 1 and 2, as they are different enough to be worthwhile.
- Replace the data in AoC.Solutions\Solutions\2018\13\input.txt with your input.
- Edit the PNG files in AoC\AoC.Visualisations\_Content\2018\13 if you wish to customise the graphics.
2018, Day 17
This visualisation only works for part 1 of the puzzle as part 2 is exactly the same, just with a different counting method.
- Replace the data in AoC.Solutions\Solutions\2018\17\input.txt with your input.
- Edit the PNG files in AoC\AoC.Visualisations\_Content\2018\17 if you wish to customise the graphics.
2020, Day 20
This visualisation only works for part 1 of the puzzle as part 2 wouldn't really benefit from one.
- Replace the data in AoC.Solutions\Solutions\2020\20\input.txt with your input.
- Edit the PNG files in AoC\AoC.Visualisations\_Content\2020\20 if you wish to customise the graphics.
Notes on Running these Visualisations
Keep the graphics and tiles the same size as the originals. For instance, 2018.17 uses tiles of 8 × 8 pixels to create the map. 2020.20 requires the final image to be 900 × 900 pixels.
Run the visualisation by executing AoC.Visualisations.exe.
The first parameter is the puzzle you would like to visualise, so for 2018 day 13 part 1, you would write the command:
AoC.Visualisations.exe 2018.13.1
From within the folder where the project has been built, obviously.
If you want to automatically generate an AVI, simply add a second parameter with the output file name.
AoC.Visualisations.exe 2018.13.1 woah-cool.avi
That's pretty much it. The visualisations I've recorded so far were done using OBS for the console based ones and Windows' built-in Xbox game bar for the MonoGame ones. This is because I've only just added the auto-AVI output functionality.
If you do create visualisations with this code (and especially if you've customised the graphics), I'd love to see it. Please do let me know.