Featured Post

After more than 25 years of leading research in areas such as differential equations, special functions, and computational physics, Edgardo's role with Maplesoft will shift at the end of 2024 as he returns to academic research. At Maplesoft, he will transition into the position of Research Fellow Emeritus. In this role, Edgardo will remain engaged with many of his cherished projects, though he will not have as much time to maintain the intense level of activity that characterized his work for so many years.

Many of you know Edgardo personally or have interacted with him here or on the Maple Beta Forum. I hope you'll join me in wishing him the very best as he begins this new chapter.

Featured Post

A checkerboard... that moves?



This recreation of an optical illusion was made using Maple Learn. For an interactive version where you can zoom into the plot and change the colors, check it out here: Optical Illusion: Moving Image. The buttons in the document were made possible by deploying the canvas from Maple using this Maple script.

Changing the colors creates cool visuals - and the motion of the image is apparent using some color schemes more than others.

   

   

 

How Does It Work?

If you zoom really far into the image, you can see that it is made up of a checkerboard in the background, with crosses (plus signs) covering each of the corners:

The checkerboard is made up of unit squares, and to create a cross with hieght=6d, centered at (x,y), polygons were used:

Polygon(
  [x+d,y+3d], [x+d,y+d], [x+3d,y+d],
  [x+3d,y-d], [x+d,y-d], [x+d,y-3d],
  [x-d,y-3d], [x-d,y-d], [x-3d,y-d],
  [x-3d,y+d], [x-d,y+d], [x-d,y+3d]
)

The key to the motion of the image lies in the alternating 1-1-2-1-1-2 pattern of the light/dark crosses along the diagonals.