vi.lilac.chaser {animation} | R Documentation |
Stare at the center cross for a few (say 30) seconds to experience the phenomena of the illusion.
vi.lilac.chaser(np = 16, col = "magenta", bg = "gray", p.cex = 7, c.cex = 5)
np |
number of points |
col |
color of points |
bg |
background color of the plot |
p.cex |
magnification of points |
c.cex |
magnification of the center cross |
Just try it out.
NULL
In fact, points in the original version of ‘Lilac Chaser’ are blurred, which is not implemented in this function.
Yihui Xie
Examples at https://yihui.org/animation/example/vi-lilac.chaser/