nl_tokens: Init the scene
pl_tokens: function init ( ) { /**
     * Animation loop
     */ function animate ( ) { // render controls . update ( ) ; renderer . render ( scene , camera ) ; // request new frame requestAnimationFrame ( function ( ) { animate ( ) ; } ) ; } // renderer threeD = document . getElementById ( 'r3d' ) ; renderer = new THREE . WebGLRenderer ( { antialias : true , } ) ; renderer . setSize ( threeD . clientWidth , threeD . clientHeight ) ; renderer . setClearColor ( 0x212121 , 1 ) ; threeD . appendChild ( renderer . domElement ) ; // scene scene = new THREE . Scene ( ) ; // camera camera = new CamerasOrthographic ( threeD . clientWidth / - 2 , threeD . clientWidth / 2 , threeD . clientHeight / 2 , threeD . clientHeight / - 2 , 0.1 , 10000 ) ; // controls controls = <mask> ControlsOrthographic ( camera , threeD ) ; controls . staticMoving = true ; controls . noRotate = true ; camera . controls = controls ; animate ( ) ; }