span class="c1"># Calculate the preferred rounding radius for the corners</span>
                <span class="n">corner_radius</span> <span class="o">=</span> <span class="mf">1.25</span> <span class="o">*</span> <span class="nb">max</span><span class="p">(</span><span class="n">vertex_builder</span><span class="p">[</span><span class="n">idx</span><span class="p">]</span><span class="o">.</span><span class="n">size</span> <span class="k">for</span> <span class="n">idx</span> <span class="ow">in</span> <spa