The Universal Image

Generating every image possible. Or, limiting the infinite.

A small piece of code is powerful enough to generate whatever could happen in the perceived reality. Explore the boundaries of computation, permutation, and the visualization of every conceivable moment.

The Mathematics of Reality

All possible Images = Cartesian product of participating pixels.

  • Black and White - 8 bits per Pixel
  • RGB Version - 24 bits per pixel - Reverse Lookup enabled.

The 3x3 Generator Concept


// A small piece of code is powerful
function generateAll3x3() {
    const pixels = 9;
    const colors = 7; // Or 256 for B&W
    const totalImages = Math.pow(colors, pixels);
    
    for(let i = 0; i < totalImages; i++) {
        renderImage(i.toString(colors).padStart(pixels, '0'));
    }
}

Imagine owning every photo that has ever been taken...

The Concept

The core philosophy of this project rests on a deeply profound digital truth: everything we witness, every core memory we build, and every majestic horizon we will ever explore can be boiled down to a specific arrangement of colored dots. By viewing an image not simply as a static piece of media, but as a deterministic mathematical grid, this simulation transforms visual reality into a searchable universe. We built a simulation that treats a blank canvas as a physical space holding every possible configuration of light and color.

Inside this code resides an absolute tapestry of existence—the construction of the pyramids, your very first steps, undiscovered masterpieces, and breathtaking, unseen alien oceans—all waiting to be unmasked simply by changing the order of the pixels. It is a living visual archive of potentiality.

The Numbers

The scale of this digital cosmos is defined by staggering, unfathomable mathematics. Our simulation utilizes a modest 100x100 pixel matrix. With 3 color channels (RGB) per pixel, the canvas holds a total of 30,000 individual color values. By compressing the standard color depth down to 8 distinct shades per channel (0–7) to create a beautifully focused environment, the total number of unique visual variations becomes an astronomical 8^30,000.

This number doesn't just dwarf the total number of atoms in the observable universe—it absolutely redefines the boundaries of human comprehension. It is a vast digital landscape where every single integer corresponds to a completely unique, standalone reality waiting to flicker into existence.

The Generation

To navigate this infinite void, our code assigns a unique, sequential BigInt index number to every possible frame, counting upward from a fixed, universal moment in time: our GENESIS_EPOCH on June 29, 2026. The engine runs a precise base-8 mathematical conversion loop; it takes the current master time-index and systematically deconstructs it into a massive array of color values, mapping them instantly onto the canvas at a steady, rhythmic frame rate.

As the simulation ticks forward, it physically renders a real-time timeline, seamlessly pushing newly generated combinations into a visual "past" track while continuously pulling the next mathematical permutation from the infinite queue of the "future."

Limiting Infinity

While our simulation successfully builds a bridge to this universal library, it also highlights the miraculous nature of structure. Because meaningful shapes—like a human face, a green forest, or a starry sky—require highly organized, non-random pixel placement, they are statistically precious needles in a cosmic desert. As you watch this simulator run, the vast majority of what passes before your eyes will be pure, chaotic white noise.

By anchoring our project to a manageable grid and a controlled 8-shade color palette, we have deliberately put walls(even with some precesion round offs) around infinity. Yet, even with these strict computational limits, the simulation proves that while all of time and space is technically trapped inside this grid, it reminds us just how rare, beautiful, and special organized visual reality truly is.

— Inspired by Adrian Cooney