1 from math
import sin
, cos
, radians
5 factor
= 1.0 / (cos(radians(angle
)) + sin(radians(angle
)))
8 cc
.stroke(path
.rect(-2, -2, 4, 4))
12 c
.insert(cc
, [trafo
.rotate(i
*angle
), trafo
.scale(factor
**i
)])
13 c
.writeEPSfile("insert")
14 c
.writePDFfile("insert")
15 c
.writeSVGfile("insert")