       scope.init()
       scope.animate()
       return
-])+])

          else
            currentPointcloudAngle = 90*(Math.PI/180)

          geometry = new THREE.BufferGeometry()
          geometry.dynamic = true

          new_positions = new Float32Array(points.length*3)
          new_colors = new Float32Array(points.length*3)


            positions = scope.Float32Concat(positions,new_positions)
            colors = scope.Float32Concat(colors,new_colors)

          geometry = new THREE.BufferGeometry()
          geometry.dynamic = true
          geometry.addAttribute( 'position', new THREE.BufferAttribute( positions, 3 ) );
          geometry.addAttribute( 'color', new THREE.BufferAttribute( colors, 3 ) );

          if !pointcloud
            material = new THREE.PointsMaterial({size: 0.1, vertexColors: THREE.VertexColors })
            pointcloud = new THREE.Points(geometry, material)
          else
            pointcloud.geometry.dispose()
            pointcloud.geometry = geometry


          degree =  360/resolution
