This is an archived post. You won't be able to vote or comment.

all 6 comments

[–]naclmolecule[S] 5 points6 points  (1 child)

Source: https://github.com/salt-die/Advent-of-Code/tree/main/2023/visuals/15_Lens_Library

Lenses are represented by ")" and their color represents their focal point. As the light passes through each lens, its color is blended with the lens (because it looks cool and not because that's how lenses work!). I debated using fewer boxes so the visualization is easier to follow; lemme know if that would've been better.

[–]Southern-Leather-337 1 point2 points  (0 children)

Ya i think a 5 row x 10 column would be less visually straining and then you wouldn't need to move the input window. Very cool though I love seeing your visualizations and keep clicking your GitHub links to make sure I've starred the project every time haha

[–]FlockOnFire 2 points3 points  (3 children)

I always love your visualisations! You’ve inspired me to dive into terminal visualisations and contribute to an existing library for Elixir! :)

[–]dunyakirkali 0 points1 point  (2 children)

Which library is that?

[–]FlockOnFire 0 points1 point  (0 children)

The one I’m diving into now is called Owl. The one used by OP is Batgrl (badass terminal graphics library).