A newer feature in Cringe is support for generating tiles of seamless noise that can tile with any other in their set. This library also provides some pre-made noise textures in the folder docs/noiseOmni/. This page shows how they work.
With single-edge, or omni-tiling, noise, the type of edge doesn't matter, and you can select any tiles you want in a grid and have them tile seamlessly. To contrast with Wang tilings, which have two kinds of edges, this shows all edges as pink, to indicate all horizontal seams are compatible and all vertical seams are compatible. The index for a noise texture is written below that texture. All the examples here use Perlue noise, but Perlin and Value noise are also provided.
![]() | ![]() | ![]() | ![]() | ||||
| Noise 0 | Noise 1 | Noise 2 | Noise 3 | ||||
![]() | ![]() | ![]() | ![]() | ||||
| Noise 4 | Noise 5 | Noise 6 | Noise 7 | ||||
![]() | ![]() | ![]() | ![]() | ||||
| Noise 8 | Noise 9 | Noise 10 | Noise 11 | ||||
![]() | ![]() | ![]() | ![]() | ||||
| Noise 12 | Noise 13 | Noise 14 | Noise 15 | ||||
![]() | ![]() | ![]() | ![]() | ||||
| Noise 16 | Noise 17 | Noise 18 | Noise 19 | ||||
![]() | ![]() | ![]() | ![]() | ||||
| Noise 20 | Noise 21 | Noise 22 | Noise 23 | ||||
![]() | ![]() | ![]() | ![]() | ||||
| Noise 24 | Noise 25 | Noise 26 | Noise 27 | ||||
![]() | ![]() | ![]() | ![]() | ||||
| Noise 28 | Noise 29 | Noise 30 | Noise 31 | ||||
![]() | ![]() | ![]() | ![]() | ||||
| Noise 32 | Noise 33 | Noise 34 | Noise 35 | ||||
![]() | ![]() | ![]() | ![]() | ||||
| Noise 36 | Noise 37 | Noise 38 | Noise 39 | ||||
![]() | ![]() | ![]() | ![]() | ||||
| Noise 40 | Noise 41 | Noise 42 | Noise 43 | ||||
![]() | ![]() | ![]() | ![]() | ||||
| Noise 44 | Noise 45 | Noise 46 | Noise 47 | ||||
![]() | ![]() | ![]() | ![]() | ||||
| Noise 48 | Noise 49 | Noise 50 | Noise 51 | ||||
![]() | ![]() | ![]() | ![]() | ||||
| Noise 52 | Noise 53 | Noise 54 | Noise 55 | ||||
![]() | ![]() | ![]() | ![]() | ||||
| Noise 56 | Noise 57 | Noise 58 | Noise 59 | ||||
![]() | ![]() | ![]() | ![]() | ||||
| Noise 60 | Noise 61 | Noise 62 | Noise 63 |
Here are the above textures as one merged image, which can be split up into TextureRegions:
The images are provided with up to 3 octaves; here's FBM with 3 octaves, for a cloudy look:
There are also 3 modes provided; FBM looks cloudy, Billow has dark lines, and Ridged has light lines.
Here's Billow with 2 octaves:
Here's Ridged with 1 octave:
You can use the PointHasher class to get seeded pseudo-random indices for the 64 tiles here, which can be
connected in any order. PointHasher.hash256(x, y, seed) & 63 will get a valid index.
You can also use WangTiler.selectSingleEdge(), which is the same as above, or WangTiler.selectSingleEdgeSeparated(),
which won't repeat as often in medium-sized grids.