PixelMage & Number
Hey Number, I've been thinking about building a pixel art world where each block is a tiny number that follows a pattern—like a fractal or a prime sequence. Would you want to help me map that out?
Sure thing, I’d love to help. Let’s start by deciding which sequence you want for the blocks—maybe a simple Fibonacci or something more complex like a Cantor set. Then we can lay out a grid and assign the numbers to each pixel. Once we have the mapping, we can check for symmetry and see if it creates a pleasing visual. Just let me know your preferences and we’ll get the numbers in order.
I love the idea of a Fibonacci grid—each block would glow a shade that reflects its value, so the pattern itself looks like a subtle sunrise. Do you want to start with a 13x13 tile map and then maybe layer a second sequence on top?
That sounds neat. Let’s lay out a 13 by 13 grid first. I’ll compute the Fibonacci numbers up to the 169th term, since that’s the total number of blocks. Then we can map each number to a light intensity: lower numbers could be darker, higher ones brighter, like a sunrise gradient. After that, layering a second sequence—maybe the prime numbers—could add a subtle overlay. How do you want the layering to work? Do you want the primes to overwrite the Fibonacci values, or perhaps just tint the same tiles?
That sounds perfect—let’s let the primes just tint the same tiles. If a block is both Fibonacci and prime, it gets a brighter sparkle on top of the sunrise glow. It’ll give the grid a layered feel without overpowering the base pattern. Ready to fire up the shader?