I built a similar (but less cool) project that builds these kinds of shapes out of a bunch of dots: https://jse.li/s-h-a-n-p-e-s/frontend/