Show HN: Perlin noise Wang tile generator
7 by gollum999 | 0 comments on Hacker News.
This is a little script I wrote a while ago to help generate sprites for a game I was working on. You can use it to build a seemingly-infinite aperiodic noise texture that is actually composed of a relatively small number of tiles. For example, imagine a large grassy field or body of water in a 2D pixel art game, but without the obvious repeated patterns that arise from simple tiling. The use case is pretty niche (for example, in many cases you could just evaluate the perlin noise function directly in a shader) but I thought it was a cool idea regardless.
7 by gollum999 | 0 comments on Hacker News.
This is a little script I wrote a while ago to help generate sprites for a game I was working on. You can use it to build a seemingly-infinite aperiodic noise texture that is actually composed of a relatively small number of tiles. For example, imagine a large grassy field or body of water in a 2D pixel art game, but without the obvious repeated patterns that arise from simple tiling. The use case is pretty niche (for example, in many cases you could just evaluate the perlin noise function directly in a shader) but I thought it was a cool idea regardless.