// This workspace is tied to the following webVR morph (select the line and press CMD+d):
morph.show();
// The render state is defined below. Note that it is required to have the
// function initialize and animate defined.
// You can rebuild the entire scene when you press CMD+s. To execute individual
// expressions select it and press CMD+d. CMD+p will also print the result.
// The "show vars" button on the top left will reveal all definitions in this workspace.
// Click on a definition to jump to its source.
// Here is the code for scene "my new scene":
var logger = $morph("webvrLogger");
var morph = this;
var ex = morph.getExtent();
var morphWidth = ex.x;
var morphHeight = ex.y;