Peripheral drift illusion: Difference between revisions
Content added Content deleted
Thundergnat (talk | contribs) m (Thundergnat moved page Peripheral Drift Illusion to Peripheral drift illusion: Capitilzation policy) |
Thundergnat (talk | contribs) m (→{{header|Raku}}: clean up some stray white space) |
||
Line 273: | Line 273: | ||
my $x = $X * 75; |
my $x = $X * 75; |
||
my $y = $Y * 75; |
my $y = $Y * 75; |
||
:use[ |
:use['xlink:href' => '#block', 'transform' => "rotate($r,$x,$y) translate($x,$y)"] |
||
} |
} |
||
Line 283: | Line 283: | ||
:g[ |
:g[ |
||
:id<block>, |
:id<block>, |
||
:polygon[ |
:polygon[:points<-25,-25,-25,25,25,25>, :style<fill:white;stroke:white>], |
||
:polygon[ |
:polygon[:points<25,25,25,-25,-25,-25>, :style<fill:black;stroke:black>], |
||
:rect[:x<-20>, :y<-20>, :width<40>, :height<40>, :fill<#3250ff>] |
:rect[:x<-20>, :y<-20>, :width<40>, :height<40>, :fill<#3250ff>] |
||
] |
] |