/span>..radiusPlus1]
          stack.r = pr
          stack.g = pg
          stack.b = pb
          stack = stack.next
          
        <span class="keyword">for</span> i <span class="keyword">in</span> [<span class="number">1.</span>..radiusPlus1]
          p = yi + ((<span class="keyword">if</span> widthMinus1 &lt; i <span class="keyword">then</span> widthMinus1 <span class="keyword">else</span> i) &lt;&lt; <span class="number">2</span>)
          r_sum += (stack.r = (pr = pixels[p])) * (rbs = radiusPlu