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 uint8_t value in the range
8
[0..255] that represents the intensity of the pixel at that point.
9
*/
10
11
#include "
fl/tile2x2.h
"
12
#include "
fl/geometry.h
"
13
14
namespace
fl
{
15
22
23
Tile2x2_u8
splat
(
vec2f
xy
);
24
25
}
// namespace fl
xy
unsigned int xy(unsigned int x, unsigned int y)
Definition
PJRCSpectrumAnalyzer.ino:79
fl::Tile2x2_u8
Definition
tile2x2.h:20
geometry.h
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:14
fl::vec2f
vec2< float > vec2f
Definition
geometry.h:318
fl
Implements a simple red square effect for 2D LED grids.
Definition
crgb.h:16
tile2x2.h
fl
splat.h
Generated on Thu Jun 5 2025 04:29:38 for FastLED by
1.13.2