A Pen created at CodePen.io. You can find this one at https://codepen.io/billimarie/pen/mJLeBY.

 Three.js CanvasRenderer + CSS gradient background-color

(can also be used with WebGLRenderer)