Three.js "mixed mode": DOM element with shadow and shine.

var camera, root, scene, renderer, renderer2, windowHalfX, windowHalfY; var mouseX = 0, mouseY = 0; var sphere; var light var lightMovementAmplitude = 200 init(); animate(performance.now()); function init() { windowHalfX = window.innerWidth / 2; windowHalfY = window.innerHeight / 2; camera = new THREE.PerspectiveCamera( 45, window.innerWidth / window.innerHeight, 0.1, 4000 ); camera.position.set(

Actions
Connections