- Examples
- Noise.ino, NoisePlusPalette.ino, and SmartMatrix.ino.
Definition at line 1000 of file funky.cpp.
1000 {
1002 int ioffset =
scale * i;
1004 int joffset =
scale * j;
1006 }
1007 }
1009
1010}
UISlider speed("Speed", 1.0f, -20.0f, 20.0f, 0.01f)
UISlider scale("Scale", 1.0f, 0.0f, 1.0f, 0.01f)
uint8_t noise[NUM_LAYERS][WIDTH][HEIGHT]
uint8_t inoise8(uint16_t x, uint16_t y, uint16_t z)
8-Bit, fixed point implementation of Perlin's noise.
References inoise8(), MAX_DIMENSION, noise, scale, speed, x, y, and z.
Referenced by NoiseExample1().