Munching Square Thresholds

Initializing live version
Download to Desktop

Requires a Wolfram Notebook System

Interact on desktop, mobile and cloud with the free Wolfram Player or other Wolfram Language products.

The color of each pixel is determined by comparing the bit XOR (exclusive or) of its row and column indices with the selected threshold.


The bit XOR of two numbers and can be constructed as follows: Represent and as binary numbers and . For each pair , , construct a bit , or, in words, is 0 if and only if exactly one of , is 1. Form the number from the binary digits .


Contributed by: Michael Schreiber (March 2011)
Open content licensed under CC BY-NC-SA




Feedback (field required)
Email (field required) Name
Occupation Organization
Note: Your message & contact information may be shared with the author of any specific Demonstration for which you give feedback.