     c.doubleFramebuffer('grid', size: size)
     c.doubleFramebuffer('particles', size: size)
     c.doubleFramebuffer('velocities', size: size)
-
-    eachCell (i, j, k) ->
-      c.framebuffer("accessor_#{i}_#{j}_#{k}", size: size)
+    eachCell (i, j, k) -> c.framebuffer("accessor_#{i}_#{j}_#{k}", size: size)
 
     # Bootstrap
     c.pass(p.fill, 'back particles')

      # Sorting
      sortSpread = 2
      while sortSpread <= count
        c.pass(p.bitonic, 'switch grid', {
          target: 'auto grid'
        }, ({prog}) ->
          prog.sendFloat 'spread', sortSpread


  }, {

    # Constants
    pi        : 3.14.toFixed(8)

    # World dimensions
    factor    : factor.toFixed(8)
    lobound   : 0.toFixed(8)
    hibound   : factor.toFixed(8)
    sizex     : size[0].toFixed(8)
    sizey     : size[1].toFixed(8)
    count     : count.toFixed(8)
    grid_size : (factor / h).toFixed(8)

    # SPH parameters
    h         : h.toFixed(8)
    m         : m.toFixed(8)
    h2        : Math.pow(h, 2).toFixed(8)
