See the Pen dmyMzz by Héctor (@hector39) on CodePen.
We have combined webgl and three.js to create this code. three.js: It is a lightweight library written in JavaScript to create and display computer animated graphics in 3D in a Web browser and can be used in conjunction with the canvas element of HTML5, SVG or WebGL. The source code is hosted in a repository on GitHub.