June 27th, 2024

Show HN: Perlin noise Wang tile generator

The GitHub repository offers a Python script merging Perlin Noise and Wang Tiles to create unique non-periodically tileable noise images. Dependencies include `more_itertools`, `numpy`, `Pillow`, and `vectormath`. Users can access the script, examples, and guidelines for generating noise patterns.

Read original articleLink Icon
Show HN: Perlin noise Wang tile generator

The GitHub repository offers a script that produces non-periodically tileable noise images by utilizing Perlin Noise and Wang Tiles. This innovative approach merges Perlin Noise and Wang Tiles to craft distinct noise designs. The script, coded in Python, necessitates `more_itertools`, `numpy`, `Pillow (PIL)`, and `vectormath` as dependencies. For those intrigued by generating these noise images, the repository provides access to the script, along with examples and guidelines on its application. By delving into the repository, users can uncover comprehensive information on the script's functionality and how to effectively employ it for creating unique noise patterns.

Link Icon 2 comments
By @swayvil - 7 months
Given a deterministic 2d noise generator (perlin or whatever). That is to say, for any seed (X,Y) you will always get noise value Z. And given the virtually infinite 2d coordinate space. You have implied a continent, or a planet, or some kind of really large space full of nonrepeating, pretty unique, forms. And putting it through the wang filter makes these forms palatable to humans. A little more organization and you've got no mans sky.
By @laszlokorte - 7 months
Such a nice idea. I saw the same idea of wang tiling in a youtube video of a conference talk a few weeks ago and found it quite fascinating.

You might also like my interactive implementation of the void ans cluster algorithm for generating blue noise [1]

[1]: https://static.laszlokorte.de/blue-noise/