   controls = new THREE.TrackballControls  camera
 
   controls.rotateSpeed = 1.0
-  controls.zoomSpeed = 2.2
+  controls.zoomSpeed = 3.2
   controls.panSpeed = 0.8
 
   controls.noZoom = false

      taskId: taskId
    dummy = new THREE.Object3D
    @taskId2dummyChunks[taskId] = dummy
    return [dummy, taskId]
    
  _receiveChunk: (blueprint, taskId)->
    chunk = @taskId2dummyChunks[taskId]

scene = undefined
renderer = undefined
controls = undefined
curves = undefined    
stepsPerMs = 10 / 1000

visibilityDistance = 10000

#Parameter of the splitted processing of tube packs: minimal time between adding separte groups of tubes.
# When time is big, tubes are added by big portions, which is fast, but animation becomes jerky.
# When too slow, tubes could lag.
minTimePerTube = 1000/30 #100 parts/second

palette = [0xfe8f0f, 0xf7325e, 0x7dc410, 0xfef8cf, 0x0264ed]

