Wolfram Function Repository
Instant-use add-on functions for the Wolfram Language
Function Repository Resource:
Create an image of a checkerboard pattern
ResourceFunction["CheckerboardImage"][checkersize,imagesize] generates a checkerboard image of size imagesize consisting of checkersize-pixel squares. | |
ResourceFunction["CheckerboardImage"][checkersize] generates an an 8×8 checkerboard image consisting of checkersize-pixel squares. |
Generate a 100×100 image with 10-pixel squares:
In[1]:= |
Out[1]= |
If only the checker size is given, an image of 8×8 squares is generated:
In[2]:= |
Out[2]= |
Wolfram Language 11.3 (March 2018) or above
This work is licensed under a Creative Commons Attribution 4.0 International License