MCPcopy Create free account
hub / github.com/FastLED/FastLED / inoise8

Function inoise8

src/noise.cpp.hpp:575–581  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

573}
574
575fl::u8 inoise8(fl::u16 x, fl::u16 y, fl::u16 z) {
576 //return scale8(76+(inoise8_raw(x,y,z)),215)<<1;
577 fl::i8 n = inoise8_raw( x, y, z); // -64..+64
578 n+= 64; // 0..128
579 fl::u8 ans = qadd8( n, n); // 0..255
580 return ans;
581}
582
583fl::i8 inoise8_raw(fl::u16 x, fl::u16 y)
584{

Callers 11

fill_raw_noise8Function · 0.85
fill_raw_2dnoise8Function · 0.85
resetParticleMethod · 0.85
drawMethod · 0.85
fillnoise8Method · 0.85
FL_TEST_FILEFunction · 0.85
fillFrameBufferNoiseFunction · 0.85
fillnoise8Function · 0.85
fillnoise8Function · 0.85
resetParticleFunction · 0.85
loopFunction · 0.85

Calls 1

inoise8_rawFunction · 0.85

Tested by

no test coverage detected