Peripheral drift illusion: Difference between revisions
m
→{{header|Raku}}: Reduce image file size; remove a bunch of redundant information
Thundergnat (talk | contribs) m (→{{header|Raku}}: clean up some stray white space) |
Thundergnat (talk | contribs) m (→{{header|Raku}}: Reduce image file size; remove a bunch of redundant information) |
||
Line 270:
my @blocks = (1..15 X 1..10).map: -> ($X, $Y) {
my $x = $X * 75;
my $y = $Y * 75;
:use['xlink:href'=>'#block', 'transform'=>"{$a}translate($x,$y)"]
}
Line 283:
:g[
:id<block>,
:polygon[:points<-25,-25,-25,25,25,25>, :
:polygon[:points<25,25,25,-25,-25,-25>, :
:rect[:x<-20>, :y<-20>, :width<40>, :height<40>, :fill<#3250ff>]
]
|