     state = @isim.getInterpolatedState()
     for line, i in @lines
       i2 = i*2
-      line.flow state[i2]*@scale, state[i2+1]*@scale
+      line.flow (state[i2]-16)*@scale, (state[i2+1]-16)*@scale
       #if i is 0
       #  console.log "Point 0: #{state[i2]}, #{state[i2+1]}"
     return


    #Create geometry
    @segments = 1000
    @scale = 10
    state = @isim.getInterpolatedState()
    z0 = -200
    z1 = 200
    @group = new THREE.Object3D
    @lines = for i in [0...state.length] by 2
      line = new FlowingLine @segments
      line.initial state[i]*@scale, state[i+1]*@scale, z0, z1
      @group.add line.mesh
      line
    console.log "Created #{@lines.length} lines"

  requestAnimationFrame animate
  render()
  stats.update()
  for i in [1..20]
    curves.step()
  geometryTime += 0.001
  return
  
