 Shader = require "./shaders/sdf"
 xtend = require 'xtend'
 createOrbitViewer = require('three-orbit-viewer')(THREE)
-
 
 class Main
     SCALE_TEXT = 0.005

        document.body.appendChild( @renderer.domElement )

        @camera = new THREE.PerspectiveCamera( 70, window.innerWidth / window.innerHeight, 1, 1000 )
        @camera.position.z = -4
        @camera.position.x = -1
        @camera.position.y = 0
        @camera.lookAt new THREE.Vector3(-1,0,0)

        lineObject = new THREE.Object3D()
        lineObject.add.apply(lineObject, letterObjects)
        lineObject.position.y = -index * line_layout.height
        lineObject._line = _line
        lineObject

    addChain: (text) =>
