FastLED
3.9.15
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
13
namespace
fl
{
14
21
22
Tile2x2_u8
splat
(
vec2f
xy
);
23
24
}
// 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::vec2f
vec2< float > vec2f
Definition
geometry.h:333
fl::splat
Tile2x2_u8 splat(vec2f xy)
"Splat" as in "splat pixel rendering" takes a pixel value in float x,y coordinates and "splats" it in...
Definition
splat.cpp.hpp:14
fl
Base definition for an LED controller.
Definition
crgb.hpp:179
fl
gfx
splat.h
Generated on Tue Jun 16 2026 00:06:59 for FastLED by
1.13.2