FastLED
3.10.8
Loading...
Searching...
No Matches
splat.h
Go to the documentation of this file.
1
#pragma once
2
3
/*
4
"Splat" as in "splat pixel rendering" takes a pixel value in float x,y
5
coordinates and "splats" it into a 2x2 tile of pixel values.
6
7
Each of the four pixels in the tile is a fl::u8 value in the range
8
[0..255] that represents the intensity of the pixel at that point.
9
*/
10
11
#include "
fl/math/geometry.h
"
12
#include "
fl/stl/noexcept.h
"
13
14
namespace
fl
{
15
22
23
Tile2x2_u8
splat
(
vec2f
xy
)
FL_NO_EXCEPT
;
24
25
}
// namespace fl
xy
unsigned int xy(unsigned int x, unsigned int y)
Definition
PJRCSpectrumAnalyzer.h:86
fl::Tile2x2_u8
Definition
tile2x2.h:17
geometry.h
fl::FL_NO_EXCEPT
u8 u8 fract8 blur_amount FL_NO_EXCEPT
Definition
blur.h:186
fl::vec2f
vec2< float > vec2f
Definition
geometry.h:333
fl::splat
Tile2x2_u8 splat(vec2f xy) FL_NO_EXCEPT
"Splat" as in "splat pixel rendering" takes a pixel value in float x,y coordinates and "splats" it in...
Definition
splat.cpp.hpp:15
fl
Base definition for an LED controller.
Definition
crgb.hpp:179
noexcept.h
fl
gfx
splat.h
Generated on Sun Oct 18 2026 00:56:51 for FastLED by
1.13.2