These are optional options which can be passed to all of the renderers in JavaScript.

The options below are available for every renderer, but some of them have additional options (see below).

{ showOutlines: false, // Debugging - Show bounding boxes showAxes: false, // Debugging - Show the scene's axes showGrid: false, // Debugging - Show coordinate grid autoResize: false, // Whether to automatically resize the canvas controls: { enabled: true, // Toggle controls zoom: true, // Toggle zooming rotate: false, // Toggle rotation pan: true // Toggle panning }, camera: { // Camera position x: 20, y: 25, z: 30, target: [0, 0, 0] // Where the camera should look }, canvas: { // Dimensions the canvas starts off with (undefined -> use window size) width: undefined, height: undefined }, pauseHidden: true // Whether to pause animations that aren't currently visible };