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
5coordinates and "splats" it into a 2x2 tile of pixel values.
6
7Each 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
14namespace fl {
15
22
24
25} // namespace fl
unsigned int xy(unsigned int x, unsigned int y)
u8 u8 fract8 blur_amount FL_NO_EXCEPT
Definition blur.h:186
vec2< float > vec2f
Definition geometry.h:333
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
Base definition for an LED controller.
Definition crgb.hpp:179