Direct Control for Hex Machine

Requires a Wolfram Notebook System

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

Requires a Wolfram Notebook System

Edit on desktop, mobile and cloud with any Wolfram Language product.

A machine that returns four bits for four bits is called a hex machine.


An initial 2D array of bits is partitioned into square arrays of size 2. Each quartet of bits is transduced into the same number of bits at new quartet positions according to a rule given by 16 base-16 digits. The rules for this transduction are set by the controls at the left. The array is then shifted to perform a similar transduction by the rules defined by the controls at the right side and shifted back.

A byte machine rule is conservative if the number of 1-bits in each rule digit is equal to the number of 1-digits in its Wolfram rule-order digit-position.

Green backgrounds for controls indicate that a particular rule is conservative. You can select identity rules, random rules, conservative rules, or copy rules between the controls on the left and right.


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.