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
5coordinates and "splats" it into a 2x2 tile of pixel values.
6
7Each 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
14namespace fl {
15
22
24
25} // namespace fl
unsigned int xy(unsigned int x, unsigned int y)
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
vec2< float > vec2f
Definition geometry.h:318
Implements a simple red square effect for 2D LED grids.
Definition crgb.h:16