Wolfram Computation Meets Knowledge

CheckerboardImage

Contributed by: Jon McLoone

Create an image of a checkerboard pattern

ResourceFunction["CheckerboardImage"][checkersize,imagesize]

generates a checkerboard image.

Examples

Basic Examples

Generate a 100 x 100 image with 10 pixel squares:

In[1]:=
ResourceFunction["CheckerboardImage"][10, {100, 100}]
Out[1]=

Scope

If only the checkersize is given, an image of 8 x 8 squares is generated:

In[2]:=
ResourceFunction["CheckerboardImage"][10]
Out[2]=

Resource History