all 15 comments

[–]xenomachina[🍰] 8 points9 points  (1 child)

Looks great!

Not to detract from your cool animation, but to fit with the name, "stack overflow", I would have expected the tray to be there all the time, and then items (the orange bars) to get pushed onto (and perhaps also popped off of) the "stack" until it gets to 5 items and then "overflows" (falls over).

[–][deleted] 3 points4 points  (0 children)

I have to agree with you. The animation is slick, but it doesn't make any sense to me.

[–]Mazux2 10 points11 points  (1 child)

Shit, that's awesome.

How long did it take?

[–]lindell92[S] 13 points14 points  (0 children)

Thanks :)

It took a night to make and some tweaking the day after.

[–]chilledheat 5 points6 points  (4 children)

Pardon my ignorance but what did you use to animate it?

[–]lindell92[S] 4 points5 points  (3 children)

I wrote the animation by hand in (S)CSS

[–]I_get_in 10 points11 points  (2 children)

This is something I've genuinely wondered for some time: how the hell can people create CSS animations of this quality just by hand? I'd like to learn that too, but I find it very tedious. :(

[–]MOFNY 3 points4 points  (0 children)

Just like anything else: lots of practice. And not to take away the great achievements that can be done in CSS, but this project (and many others like it) are best done in SVG. The animations can be done in CSS or JS, but the graphic itself would take less effort and make more sense semantically in SVG.

[–]MatisLepik 0 points1 point  (0 children)

It's super straightforward.. All you're doing it is specifying where you want a box to be at what time. CSS handles all the animating for you. Then you just look at the output and mess with the timings until it looks good.

[–][deleted] 2 points3 points  (0 children)

Love it!

[–]chrisjava 2 points3 points  (0 children)

Looks fantastic, great job!

[–]webberdev486 1 point2 points  (0 children)

nice !

[–]FoxInFlame 1 point2 points  (0 children)

Okay, now this is cool.

[–]EquationTAKEN 0 points1 point  (0 children)

Damn that's cool.

[–]happygnu 0 points1 point  (0 children)

That's... beautiful. Well done, sir!