 
   update: (elapsed) ->
     # update the particle size
-    @size -= @sizeOnBeat * elapsed / 3
-    @size = 0 if @size < 0
     @particles.material.size = @size
+    @chipLines.material.linewidth = @size * 0.15
 
     # add rotation speeds to to the torus rotation
     @particles.rotation.x += @rotationSpeedX * elapsed

          whitenings[vertIndex] = pitches[i]

  kill: ->
    @sizeOnBeat *= 4

  alive: ->
    @size > 0
    )


  onBeat: (beat) ->
    @shrink = !@shrink
    targetSize = if @shrink then @sizeOnBeat/2 else @sizeOnBeat

    new TWEEN.Tween(this)
      .to({size: targetSize}, beat.duration.ms)
      .easing(TWEEN.Easing.Sinusoidal[if @shrink then 'In' else 'Out'])
      .start()

  onSegment: (segment) ->
    pitches = segment.pitches
