Modifica as dimensións da praza cos esvaradores

Formiga

m = 30 (slider from 1 to 30, step 1)
n = 7 (slider from 1 to 30, step 1)
ancho: x(Corner[3] - Corner[4])
alto: y(Corner[4] - Corner[1])
A: Corner[4] + (ancho, (-alto)) / 8
inc = Min((0.8 * ancho / m), (0.8 * alto / ((2 * n))))
lista1 = Sequence(Segment[A + (inc * (s, 0)), A + (inc * (s, ((-2) * n)))], s, 0, m)
lista2 = Sequence(Segment[A + (inc * (0, ((-2) * s))), A + (inc * (m, ((-2) * s)))], s, 0, n)
Paseo = Segment(A, A + ((m, ((-2) * n)) * inc))
lista3: {Polygon[A, A + ((m, 0) * inc), A + ((m, ((-2) * n)) * inc), A + ((0, ((-2) * n)) * inc)]}