Random, noise and dithering
Noise
Quasimondo - Mario Klingemann's Flash Blog: Optimizing Perlin Noise - see http://www.quasimondo.com/examples/OptimizedPerlin.as
implementation - How is Perlin-noise in flash implemented? - Stack Overflow - "Flash implementation is [...] based on integer calculations rather than floats. This would explain why the rendering is fast"
Humus - 3D - Perlin noise in a fragment program
Inigo Quilez :: fractals, computer graphics, mathematics, demoscene and more - advanced value noise
4D Noise Visualizer - 4D noise with GLSL shader. Use a cube with 50x50x50 vertices
http://www.connectedpixel.com/blog/texture/wood
Curl Noise
Aka 3D noise
https://github.com/cabbibo/glsl-curl-noise
Sinusoids combination
Could use Diamond-square algorithm to do the same effect, but often use a combination of multiple sinusoids
Dithering
[Sphere surface uniform random sampling](Sphere surface uniform random sampling.html) - see Román Cortés » Furbee - My Js1k Spring ‘13 entry
Atkinson dithering:
Random
Aka random number, pseudo random number (PRN)
See also Noise
unsigned 32-bit seed
n,n*=0x9e3779b1;(0x9e3779b1is just a large prime number specified in hexadecimal). See 14 Character Random Number GeneratorInigo Quilez :: fractals, computer graphics, mathematics, demoscene and more - float, small and random
Random points on the sphere surface (see also Sphere Point Picking):
The way to correctly generate a random point on the surface of a unit sphere is not to pick uniform distributions θ in [0,2π) and φ in [0,π), but instead choose u and v from uniform distributions on [0,1). Then
Suffle
Aka randomize, random permutation
3D volume distribution
Procedural
Texturing and Modeling: A Procedural Approach — David S. Ebert 978-1558608481
https://watabou.itch.io/medieval-fantasy-city-generator
Visual representation of MD5 hash
Last updated
Was this helpful?