Hero image

Rotating Checkerboard

What the code does

In this demo we make a single 4 x 4 pixel checkerboard texture and draw it to the screen simultaneously in four separate positions. Each checkerboard is colour modulated, rescaled by 50x and rotated. This drawing can all be accomplished in a single line of code.

Visualisation

The code

Instagram image Instagram image Instagram image Instagram image Instagram image Instagram image