David Smith highlights an example of the luminance illusion:
Colin created this animation in R using the gganimate package (available on GitHub from author Thomas Lin Pederson), and the process is delightfully simple. It begins with a chart of 10 “points”, each being the same grey square equally spaced across the shaded background. Then, a simple command animates the transitions from one point to the next, and interpolates between them smoothly:
library(gganimate) gg_animated <- gg + transition_time(t) + ease_aes('linear')
Check it out, both as a parlor trick and a way of getting a grip on the gganimate package.
Comments closed