dth * height
    wh4 = wh &lt;&lt; <span class="number">2</span>
    pixels = []

    pixels[i] = imagePixels[i] <span class="keyword">for</span> i <span class="keyword">in</span> [<span class="number">0.</span>..wh4]
      
    currentIndex = <span class="number">0</span>
    steps = blurLevels
    blurLevels -= <span class="number">1</span>

    <span class="keyword">while</span> steps-- &gt;= <span class="number">0</span>
      iradius = (radius + <span class="number">0.5</span>) | <span class="number">0