ServerConfiguration/Calla/Calla-Lib/basic/index.js
/**
 * When the video conference has started, we can start 
 * displaying content.
 * @param {string} id
 * @param {string} displayName
 * @param {InterpolatedPose} pose
 */
When the video conference has started, we can start
displaying content.
When the video conference has started we can start displaying content .
function startGame(id, displayName, pose) {
    controls.leave.disabled = false;
    timer = requestAnimationFrame(update);
    addUser(id, displayName, pose, true);
    setPosition(Math.random() * (controls.space.clientWidth - 100) + 50, Math.random() * (controls.space.clientHeight - 100) + 50);
}
function startGame ( id , displayName , pose ) { controls . leave . disabled = false ; timer = requestAnimationFrame ( update ) ; addUser ( id , displayName , pose , true ) ; setPosition ( Math . random ( ) * ( controls . space . clientWidth - 100 ) + 50 , Math . random ( ) * ( controls . space . clientHeight - 100 ) + 50 ) ; }
When the video conference has started, we can start
 displaying content.
When the video conference has started we can start displaying content .
// Enable the leave button once the user has connected // to a conference. // Start the renderer // Create a user graphic for the local user. // For testing purposes, we place the user at a random location  // on the page. Ideally, you'd have a starting location for users // so you could design a predictable onboarding path for them.