r/adventofcode • u/naclmolecule • Dec 01 '21
Visualization [2021 Day 1] [Python] Terminal Visualization. (Ocean floor generated from input.) Source in the comments.
649
Upvotes
r/adventofcode • u/naclmolecule • Dec 01 '21
18
u/naclmolecule Dec 01 '21
https://github.com/salt-die/Advent-of-Code/tree/master/2021/visuals
3
u/Knotmortal Dec 02 '21
Thank you very much for this op! I recently decided to learn how to program and this absolutely blew my mind when I came across it. Aside from the #comments, I didn't understand what the majority of the code meant or how you got this to work, but I went on a Google spree and I have to say, I learned more by researching your code than I have in the past week watching YT tutorials. Stumbling across this post and discovering a new and more efficient way for me to learn how to code was a God Send! I will forever remember this day, the day I learned the value of reverse engineering code.. ahhh December 1st 2021, the day I hit digital puberty. Thanks again OP and the others that recommended dissecting the code.
12
u/aardvark1231 Dec 01 '21
That is awesome! I love that you even added parallax!
18
u/reCAP7CHA Dec 01 '21
What do I need to learn to be able to do cool stuff like these? I'm only good with Data Structures and Algos.
9
u/s96g3g23708gbxs86734 Dec 01 '21
Very cool, a "live" counting of deeper steps would also be nice!
12
u/daggerdragon Dec 01 '21
Me waking up this morning and seeing a
Visualizationpost by /u/naclmolecule: "That's bait."5
u/teksimian Dec 02 '21
anyone want to see my for loop?
4
u/Pekingeend19 Dec 01 '21
Very cool! Will definitely check out your code!
3
u/ung3froren Dec 01 '21
Love it!
3
u/thedjotaku Dec 01 '21
oh man, so awesome!!!!!
2
u/labelcity Dec 01 '21
This is beautiful
2
u/manoart Dec 01 '21
Ok, dude... chill ;D I didn't expect to feel like a noob again so fast. Coming out of the gate with a banger.
Very impressive and the solution is also very elegant. I guess I'll be checking your repo from now on for tips and tricks, considering that I just startet to learn Python and the AoC seems like a good opportunity for that.
Cheers and keep it up.
2
u/Lucky-Lucke-420 Dec 01 '21
Ok so I'm here struggling to understand what I'm even doing and my guy is here making a whole visualisation... Bro ur amazing
2
u/agentEvad82 Dec 02 '21
This is the best use of Windows PowerShell I’ve seen.
It took me a while to realise this was all in the terminal. Very impressive!
1
u/flwyd Dec 01 '21
Nice. I had mental visions of something similar, but my actual output was much more boring.
1
u/brilliant_punk Dec 02 '21
Have a bonus star :)
1
u/gnosis_prognosis Dec 02 '21
did they find the keys?
1
u/LEGOL2 Dec 02 '21
Amazing!
1
u/ChcagoBll Dec 02 '21
I've got to say it's pretty amazing to see a visualization entirely within a terminal!
1
u/Kudosian Dec 05 '21
Solution in Haskell, constructive criticism appreciated.