squares.wps (310B)
1 % based on the JavaScript example from 2 % https://developer.mozilla.org/samples/canvas-tutorial/5_1_canvas_savestate.html 3 4 0 0 150 150 .gbox 5 6 q 7 0 0 m 0 0 150 150 re f 8 q 9 0 0.4 1 rg 10 0 0 m 15 15 120 120 re f 11 q 12 1 1 1 rg 13 0.5 .setGlobalAlpha 14 0 0 m 30 30 90 90 re f 15 Q 16 0 0 m 45 45 60 60 re f 17 Q 18 0 0 m 60 60 30 30 re f 19 Q