Why does RandomArt look like THAT?
Date: 2025-11-26What is RandomArt?
It's a system that generates an image from a seed string. The seed string is hashed and fed into a pseudo-RNG. This PRNG is used to expand branches of a Probabilistic Context Free Grammar to generate a mathematical expression. This expression is of the form $f(x,y) = (r,g,b)$. The pixel coordinates ($x,y$) are fed into this function to generate the color ($r,g,b$) of the pixel.