Procedural Textures with Simple Hash Functions: A Playground of Patterns

This article explores the surprising complexity achievable with a simple hash function for generating procedural textures. The core is a concise equation: $(c_x x + c_y y + c_{xy} xy + c_{x^2} x^2 + c_{y^2} y^2) mod m < τm$. By tweaking parameters, a vast array of visually rich patterns emerges. The author delves into the mathematical underpinnings, explaining how different terms influence the resulting texture. An interactive playground allows readers to experiment and create their own designs, making this relevant to game development and digital art.
Read more