ber">1</span>
          imagePixels[idx] = pixels[idx]
          imagePixels[idx + <span class="number">1</span>] = pixels[idx + <span class="number">1</span>]
          imagePixels[idx + <span class="number">2</span>] = pixels[idx + <span class="number">2</span>]
      currentIndex++

    <span class="keyword">return</span> @

  Caman.Filter.register <span class="string">"tiltShift"</span>, (opts) -&gt;
    defaults =
      center:
        x: <span class="property">@dimensions</span>.width / <span class="n