9772

Conservative Hex Drift Machine

A machine that returns four bits for translated hexadecimals while keeping the number of 1-bits constant is called a conservative hex drift machine.
An initial 2D array of bits is translated according to a drift vector that specifies shifts along the two axes. The array is then partitioned into square arrays of size 2. Without drift local quartets evolve in isolation.
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. These 16 digits of the rule are represented by a rule icon that represents each base-16 digit by the hue of a pixel.
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. Choose permutations of conservative replacement rules which mix all possible loops or select a list of rules from the wider ranges of arbitrary conservative replacements. Try to direct the drift vector while compensating its visual effect.
The fourteen rule icons between the controls and the main image are ordered and divided according to their digit-sums. This subdivision of the rule icons corresponds to the effects of the controls which select from loop rules or ordinary conservative rules. The selected 1-loop rule specifies what permutation of all the 24 permutations of the four digits in the binary number 1000 defines the particular rules for each hex containing just one 1-bit. Similarly an 11-loop rule specifies one permutation of all the permutations of the bits in the binary number 1100, etc. The non-loop rules permit arbitrary selections of four right-hand-side hex configurations from the 24 permutations of the digits in binary number 1000, thus allowing selective rules that, for instance, take all hex values with only one 1-bit to only one particular one 1-bit hex configuration.

THINGS TO TRY

SNAPSHOTS

  • [Snapshot]
  • [Snapshot]
  • [Snapshot]

DETAILS

There are driftable hex machines. Among those 18446744073709551616 rules, the number of distinct conservative rules is 3057647616. The number of loop rules is 24×720×24 = 414720.
    • Share:

Embed Interactive Demonstration New!

Just copy and paste this snippet of JavaScript code into your website or blog to put the live Demonstration on your site. More details »

Files require Wolfram CDF Player or Mathematica.









 
RELATED RESOURCES
Mathematica »
The #1 tool for creating Demonstrations
and anything technical.
Wolfram|Alpha »
Explore anything with the first
computational knowledge engine.
MathWorld »
The web's most extensive
mathematics resource.
Course Assistant Apps »
An app for every course—
right in the palm of your hand.
Wolfram Blog »
Read our views on math,
science, and technology.
Computable Document Format »
The format that makes Demonstrations
(and any information) easy to share and
interact with.
STEM Initiative »
Programs & resources for
educators, schools & students.
Computerbasedmath.org »
Join the initiative for modernizing
math education.
Step-by-step Solutions »
Walk through homework problems one step at a time, with hints to help along the way.
Wolfram Problem Generator »
Unlimited random practice problems and answers with built-in Step-by-step solutions. Practice online or make a printable study sheet.
Wolfram Language »
Knowledge-based programming for everyone.
Powered by Wolfram Mathematica © 2014 Wolfram Demonstrations Project & Contributors  |  Terms of Use  |  Privacy Policy  |  RSS Give us your feedback
Note: To run this Demonstration you need Mathematica 7+ or the free Mathematica Player 7EX
Download or upgrade to Mathematica Player 7EX
I already have Mathematica Player or Mathematica 7+