4 /circle { % context radius -- context
6 0 0 rot 0 math.2pi arc h
9 /circles { % context #circles -- context
10 1 1 rot { circle } for
15 << /width SIZE /height SIZE >> surface context
16 1 1 1 set-source-rgb paint
18 //EVEN_ODD set-fill-rule
21 /n SIDE 1.5 mul r div integer def
23 SIZE SIDE div dup scale
45 /target get (out.png) write-to-png pop