r/adventofcode • u/CoconutJJ • Dec 13 '21
Upping the Ante [Day 13 2021] Input Generator
Created an input generator where you can enter any message and it will give you a corresponding puzzle input that encodes it: https://davidyue.live/aoc/app/foldcode.html
Probably will also add a few knobs to adjust number of folds and points...
1
5
1
u/ExuberantLearner Dec 13 '21
This is really nice. I wanted to do it.
Some minor comments based on my observation:
There are two extra space after the list of points and before the folding instructions begin (In my solution, I assumed there was one empty line and wrote the input parser by that logic :))
After running my solution, there are extra
.s (dots) to the right and to the bottom. I guess you need more folding instruction to show only the text.
1
u/CoconutJJ Dec 13 '21
there are extra .s (dots) to the right and to the bottom
Ahh, yeah, that's because the character bitmaps I use are also like them. I generated the ascii art through the
bannercommand (https://en.wikipedia.org/wiki/Banner_(Unix)) so there might be some padding afterwards.
2
u/Abject-Panic4951 Dec 15 '21
For me there is no scrambeling at all... I am missing the "noise"....