Physics · Information

Element Pixels

A pixel is a stack of element slots, and a stack is a number. This page uses that as an instrument: type text, and it becomes bytes, then one integer written in base Nk, then a strip of element pixels. The strip is decoded back and compared with the input, so what you see is the data.

A pixel is a material

One slot holds one element. Each extra layer multiplies the pixel's state space by the size of the palette.

One pixel

1 layer
States per pixel—
Bits per pixel—
Raw 4K frame—

Encode data into pixels

Text goes in as bytes; the bytes become one integer, written in base Nk and read out as element stacks. The pixels are decoded back and compared with the input, so the image is the data, not an illustration of it.

Each tile is one pixel; each band is one element slot. The first pixel carries the payload length.

Decoded

Payload bytes0
Pixels0
Bits carried0
Bits used0

How the variations add up

Capacity is just log2 of the number of distinguishable element combinations.

Layers Distinct pixels Bits per pixel Raw 4K frame

A 4K frame is 3840 × 2160 = 8,294,400 pixels; MB is 106 bytes. The figures count distinguishable element combinations and say nothing about how such a pixel could be written or read.

Sandbox: elements reacting

A separate toy, not part of the codec: element pixels rain in and fall, and two neighbours bond where the valence rules allow it, becoming one product pixel — a paired glow, cation on the left, anion on the right. Every pixel in the field is one substance, drawn with the identity that makes it one: an element carries its symbol, a compound its formula. Water droplets fall with them, and a group 1 metal that touches one tears it apart, leaving hydroxide and hydrogen. Violent pairs flash and dump heat that spreads and fades; most other contacts do nothing. Products dissolve, so the pile keeps cycling. The one-bit version is on Binary Pixels.

8 steps/s
No bonds yet.

Who bonds with whom

Group 1, 2 and 13 metals give electrons away (Na+, Ca2+, Al3+); groups 15, 16 and 17 take them (N3−, O2−, Cl−), and hydrogen is treated as H−. Charges balance by cross-multiplying, so Ca2+ with Cl− gives CaCl2, and Al3+ with O2− gives Al2O3. Water is the one reagent that is not an element: a droplet next to a group 1 metal is torn apart at once, leaving that metal's hydroxide and hydrogen.

Who sits it out

Noble gases have full shells, so they fall through without bonding. Transition metals, lanthanides and actinides have no single ionic valence here, so they pass through too — in reality they alloy and form variable-valence compounds this model ignores.

Not thermodynamics

Only the charge arithmetic and the inertness come from chemistry. Heat is a stand-in: a reactivity score from group and period (alkali metals grow more violent down the group, halogens milder down theirs) sets how eagerly a pair bonds and how much it dumps. The heat index in the HUD is arbitrary units, not kelvin; there are no real energies, ignition thresholds or reversibility. The water reaction uses the same stand-in, with lithium the mildest group 1 metal and caesium the hottest.

What a pixel can hold

A pixel with one element slot has 118 states, so it carries log2 118 ≈ 6.88 bits. Four slots carry four times that, 27.5 bits — a little more than the 24 bits of an 8-bit-per-channel RGB pixel, whose three subpixels each have 256 levels. Six slots reach 41.3 bits. Capacity grows with the logarithm of the variations, which is why multiplying states is hard work: to add one bit to a pixel you must roughly double the number of combinations it can take.

The comparison with real displays is worth stating plainly. An LCD or OLED pixel is not a choice of material; it is one material driven to different states, and the driving is fast, reversible and cheap. This page swaps that for the periodic table: the alphabet is the element, not the voltage. The Binary Pixels page does the same thing with the smallest possible alphabet — one bit, two states — and lets a rule move them around.

States, not symbols

An element pixel would not display its letter. The element is the state; the symbol and atomic number in the tile above are only our labels for it. Reading the pixel back means identifying the material, not decoding a glyph.

Isotopes widen the space

The same element with different neutron counts is physically distinguishable — hydrogen alone comes as 1H, 2H and 3H — so isotopes would multiply the variations again. They are also nearly identical chemically, which makes them far harder to separate, let alone to write into a pixel.

Not a display technology

Nobody can deposit 118 elements into micron-scale pixels. Elements differ wildly in melting point, reactivity and the temperatures at which they survive; a real pixel must be writable, readable, and stable for years. The arithmetic here bounds distinguishable states, not a bill of materials.

Why the table stops at 118

The number of element choices is not a design decision. It is 118 because that is how many elements have been confirmed: the heaviest, oganesson, has a half-life measured in fractions of a millisecond, and elements 119 and beyond have been searched for and not found. Any pixel built from elements inherits that ceiling — its capacity is bounded by what nuclei can exist, not by imagination.