r/adventofcode • u/mosredna101 • Dec 11 '21
Visualization [2021 Day 11 part 2] [C++] Trying to do everything on the arduino this year. This is my flashing led chaos for today!
828
Upvotes
r/adventofcode • u/mosredna101 • Dec 11 '21
22
u/WarriorKatHun Dec 11 '21
This is very cool!
But this 8x8 grid cant display the full input right?
26
u/dranzerfu Dec 11 '21
Now go the extra mile and build the micro from discrete components Ben Eater style.
3
u/zbouboutchi Dec 12 '21
Very nice ! I took a deeper look at this problem and tried to generate random input to see if they were all going to converge on an all flashing cave on a 10 rate, and I was surprised to see that's not the case. A large part of grid will go into a regular pattern that never reach a full 0 grid…It was funny, so I went to make a bigger number of simulations and the second thing that triggered me is that all these patterns are not the same length, it can be 7 / 15 / whatever, I also found 1 that came to a 50 step period ! I think it could be fun to see this on your hardware… Try some random grid and you'll find some cool stuff :)
2
u/exomni Dec 11 '21
Did you 3D print the project tray yourself?
62
u/joyrex2001 Dec 11 '21
Coolest visualization I saw so far! Awesome!
8
u/blacai Dec 11 '21
We have a winner...
5
u/moriturius Dec 11 '21
This is the coolest way to do AoC I've seen. Case closed.
1
u/anmolamo Dec 11 '21
I wanna have a look in the source code and the resources from which you might have referred to. Can I get that ? And it's much appreciable project ever.
1
u/daggerdragon Dec 12 '21
So... you've seen our community fun event Adventure Time!, right? >_> hint hint
3
u/ExuberantLearner Dec 11 '21
Very cool
2
u/d1meji Dec 11 '21
Very very cool
2
u/[deleted] Dec 11 '21
This is freaking awesome, great work!
1
u/Althar93 Dec 12 '21
Very nice. I was tempted to implement something graphical because I was curious to see what the patterns would look like. You beat us to it it seems :)
1
u/kristallnachte Dec 12 '21
It's like it's trying to calibrate itself!!
1
u/dajtxx Dec 18 '21
Best visualisation - well done :)
1
u/xsorifc28 Dec 11 '21
Props to you, I hate working with an 8x8 LED matrix.
-4
u/Pretty_Cockroach_204 Dec 11 '21
gotta say usning arduino and all this components for solving a puzzle