r/javascript • u/magenta_placenta • Jan 31 '19
CSS LEGO Minifigure Maker
https://codepen.io/joshbader/full/MZMzjr11
5
4
u/DanteMontovano Jan 31 '19
This is awesome!! I noticed when you explode and implode the head goes behind the neck. It should go in front of the neck for a more seamless experience.
3
2
2
u/AxonTheSolution Feb 01 '19
This is really well made, the JS is concise and easy to understand.
It just irritates me that the hips don't line up with the torso
1
1
1
1
1
1
1
-5
0
Jan 31 '19
[deleted]
15
u/Cerothen Jan 31 '19
The head is still randomized actually, the lego figure is just surprised that you exploded him. When you unexplode him you see the new face. A small but awesome feature. haha
41
u/basically_alive Jan 31 '19
That's pretty incredible. Was any program used to generate the CSS? So many gradients.