27

Everyone loves a good visualisation, share any visualisations that you have created here.

top 31 comments
sorted by: hot top new old
[-] mykl@lemmy.world 6 points 1 year ago* (last edited 1 year ago)

If took more code to animate this than it did to solve the problem...

Looks very nice for the test data:

And...okay...for the live data:

[-] strlcpy@programming.dev 3 points 1 year ago

I like the coloring, really cool!

[-] mykl@lemmy.world 2 points 1 year ago

Thanks, 'Tis the season.

[-] CameronDev@programming.dev 2 points 1 year ago
[-] mykl@lemmy.world 2 points 1 year ago

That certainly doesn't reflect my mood today.

[-] hades@programming.dev 5 points 1 year ago
[-] CameronDev@programming.dev 1 points 1 year ago

Thats cool! What are the colours meant to signify?

[-] hades@programming.dev 2 points 1 year ago

Christmas, I guess :) (I just pick a random colour each time a roll is removed)

[-] CameronDev@programming.dev 4 points 1 year ago* (last edited 1 year ago)

Day 7 - Colourised, single image.

[-] CameronDev@programming.dev 2 points 1 year ago

Video of each path (for the short example, dont think i can do the long one) https://youtube.com/shorts/jLpiUOSIiNw

[-] hades@programming.dev 2 points 1 year ago
[-] CameronDev@programming.dev 3 points 1 year ago

Its all a blur...

[-] CameronDev@programming.dev 1 points 1 year ago* (last edited 1 year ago)
[-] CameronDev@programming.dev 1 points 1 year ago

Colorised, but filling in from least photons to most: https://youtube.com/shorts/McM1yIn5UCw

[-] CameronDev@programming.dev 1 points 1 year ago

Showing the of it filling in a bit clearer (or less clearer, i dunno): https://youtube.com/shorts/dBYAdRyhCLU

[-] owenfromcanada@lemmy.ca 4 points 1 year ago* (last edited 1 year ago)

Apparently this is ~~wrong. Not sure what I'm missing here.~~ correct, my code was borked I guess (maybe an overflow or something?).

[-] CameronDev@programming.dev 2 points 1 year ago

First time I've seen a visualisation before solve :D

I took one look at pt2 and noped out, its a later problem I think...

[-] owenfromcanada@lemmy.ca 2 points 1 year ago

Correction, turns out doing it entirely in Excel was the answer for me. The points I found were correct, but the area calculation in my code was wrong.

I had to visualize it before I could even attempt to solve it. Still did it mostly intuitively based on the visualization.

[-] CameronDev@programming.dev 1 points 1 year ago

Ha, love an excel solution, please do share it in the solutions thread!

[-] Gobbel2000@programming.dev 3 points 11 months ago

The graph of Day 11, created with very little effort using the dot utility of graphviz. Because of a stupid parsing error I ended up with a cyclic graph, so this visualization helped in debugging.

[-] CameronDev@programming.dev 1 points 11 months ago

I was meaning to do that as well, but forgot. Nice!

[-] CameronDev@programming.dev 3 points 1 year ago
[-] hades@programming.dev 2 points 1 year ago

Apart from day 4 not much to visualise so far this year :/

[-] CameronDev@programming.dev 2 points 1 year ago* (last edited 1 year ago)

Yeah, Im hoping it picks up. No mazes yet :(

[-] hades@programming.dev 3 points 1 year ago* (last edited 1 year ago)

Day 7 (zoom to full screen): https://lgbt.earth/i/web/post/903381501524320591

I can probably improve this a lot, but I was afraid I'll be too lazy after getting this far, so posting as is. Still, lmk if you have any suggestions :)

[-] mykl@lemmy.world 3 points 1 year ago

Squeezing all spaces out of the grid (and plotting at right-angles to the other visualisation here) gives this evil shape, which will doubtless haunt my dreams tonight.

[-] CameronDev@programming.dev 3 points 1 year ago

Day 8: https://youtu.be/QiezRG4jiUM

Getting pretty close to having written my own game renderer, only slower and worse :D

[-] CameronDev@programming.dev 2 points 1 year ago* (last edited 1 year ago)

https://youtube.com/shorts/5V9vdWtuRAQ <- Rotation, super proud of this one

[-] abbadon420@sh.itjust.works 2 points 11 months ago* (last edited 11 months ago)

I made a quick visualisation of my input for day 9 with matplotlib. Still haven't solved part 2 though.

[-] CameronDev@programming.dev 1 points 11 months ago

Scales got a messy :D

[-] mr_satan@lemmy.zip 2 points 10 months ago

I know I'm late, but I'd thought, I'd share some of my day 12 visualizations I wanted to see.

this post was submitted on 06 Dec 2025
27 points (96.6% liked)

Advent Of Code

1278 readers
56 users here now

An unofficial home for the advent of code community on programming.dev! Other challenges are also welcome!

Advent of Code is an annual Advent calendar of small programming puzzles for a variety of skill sets and skill levels that can be solved in any programming language you like.

Everybody Codes is another collection of programming puzzles with seasonal events.

EC 2025

AoC 2026

Solution Threads

M T W T F S S
1 2 3 4 5 6
7 8 9 10 11 12

Visualisations Megathread

Rules/Guidelines

Relevant Communities

Relevant Links

Credits

Icon base by Lorc under CC BY 3.0 with modifications to add a gradient

console.log('Hello World')

founded 3 years ago
MODERATORS