Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ahdinosaur/blinksy
/ functions
Functions
233 in github.com/ahdinosaur/blinksy
⨍
Functions
233
◇
Types & classes
92
Method
from_color
(color: T)
blinksy/src/color/convert.rs:25
Method
from_color
(color: GammaSrgb)
blinksy/src/color/linear_srgb.rs:90
Method
from_hue
Creates a new HSV color from an existing HsvHue object # Arguments - `hue` - Existing HsvHue object - `saturation` - Saturation component (0.0 to 1.
blinksy/src/color/hsv.rs:57
Method
from_linear_srgb
Creates a gamma-encoded color from linear RGB values # Arguments - `linear_srgb` - Linear RGB color - `gamma` - Gamma correction factor
blinksy/src/color/gamma_srgb.rs:66
Method
from_linear_srgb
Converts a linear sRGB color into an XYZ color. Uses the standard RGB to XYZ transformation matrix defined in the sRGB specification. This assumes th
blinksy/src/color/xyz.rs:35
Method
from_linear_srgb
Converts from linear sRGB to Oklab color space. This conversion goes through the LMS color space, which models the response of the three types of con
blinksy/src/color/oklab.rs:48
Method
from_linear_srgb
Converts from linear sRGB to LMS color space. Uses the CAT02 (CIECAM02) transformation matrix which is designed to accurately model the cone response
blinksy/src/color/lms.rs:44
Method
from_linear_srgb
Creates an output-ready LED color from a linear sRGB color # Arguments - `linear_srgb` - Linear RGB color to convert - `channels` - The LED channel
blinksy/src/color/led.rs:30
Method
from_linear_srgb
Converts from linear RGB to sRGB color space This applies the sRGB gamma encoding to make the color values perceptually uniform.
blinksy/src/color/srgb.rs:72
Method
from_lms
Converts from LMS cone responses to Oklab. This applies a non-linear transformation (cube root) to the LMS values followed by a linear transformation
blinksy/src/color/oklab.rs:65
Method
from_normalized_f32
(value: f32)
blinksy/src/util/component.rs:38
Method
from_temperature
Creates a color correction from color temperature adjustment. This creates a color correction that simulates adjusting the white point to a specific
blinksy/src/color/correction.rs:81
Method
hue_to_rgb
(hue: f32)
blinksy/src/color/hsv.rs:183
Method
index
(&self, index: usize)
blinksy/src/color/led.rs:163
Method
inner
Returns the raw hue value (0.0 to 1.0)
blinksy/src/color/hsv.rs:135
Method
into_color
(self)
blinksy/src/color/convert.rs:18
Method
key_down_event
Forward key down events to egui
blinksy-desktop/src/driver.rs:707
Method
key_up_event
Forward key up events to egui
blinksy-desktop/src/driver.rs:712
Method
led
( linear_rgb: LinearSrgb, brightness: f32, correction: ColorCorrection, )
blinksy/src/leds/apa102.rs:64
Function
main
()
esp/blinksy-esp/examples/ws2812.rs:38
Function
main
()
esp/gledopto/examples/button.rs:11
Function
main
(_spawner: Spawner)
esp/gledopto/examples/ws2812-strip-embassy.rs:18
Function
main
()
esp/gledopto/examples/ws2812-strip.rs:16
Function
main
()
esp/gledopto/examples/apa102-grid.rs:16
Function
main
()
esp/gledopto/examples/ws2812-face-cube.rs:16
Function
main
(_spawner: Spawner)
esp/gledopto/examples/apa102-grid-embassy.rs:18
Function
main
()
esp/gledopto/examples/ws2812-volume-cube.rs:46
Function
main
(_spawner: Spawner)
esp/gledopto/examples/ws2812-face-cube-embassy.rs:19
Function
main
()
blinksy-desktop/examples/2d-noise.rs:25
Function
main
()
blinksy-desktop/examples/3d-cube-volume-noise.rs:41
Function
main
()
blinksy-desktop/examples/3d-cube-face-noise.rs:13
Function
main
()
blinksy-desktop/examples/2d-rainbow.rs:25
Function
main
()
blinksy-desktop/examples/3d-arcs.rs:63
Function
main
()
blinksy-desktop/examples/3d-cube-volume-rainbow.rs:41
Function
main
()
blinksy-desktop/examples/1d-rainbow.rs:15
Method
map
(n: usize)
blinksy-desktop/examples/3d-cube-volume-rainbow.rs:21
Method
mouse_button_down_event
Forward mouse button down events to egui
blinksy-desktop/src/driver.rs:697
Method
mouse_button_up_event
Forward mouse button up events to egui
blinksy-desktop/src/driver.rs:702
Method
mouse_motion_event
Forward mouse motion events to egui
blinksy-desktop/src/driver.rs:687
Method
mouse_wheel_event
Forward mouse wheel events to egui
blinksy-desktop/src/driver.rs:692
Method
new
Creates a new control system. # Arguments - `pattern` - The pattern to use - `driver` - The LED driver to use # Returns A new Control instance wit
blinksy/src/control.rs:141
Method
new
Creates a new grid iterator. # Arguments - `start` - The starting point (origin) of the grid - `vertical_step` - The vertical step between horizonta
blinksy/src/layout/iterators/grid.rs:32
Method
new
Creates a new step iterator. # Arguments - `start` - The starting item - `step` - The step between items - `length` - The number of items to generat
blinksy/src/layout/iterators/line.rs:27
Method
new
Create a new arc iterator. - `origin`: center of the arc - `cos_scalar`, `sin_scalar`: basis vectors used in the parametric form - `start_angle_in_ra
blinksy/src/layout/iterators/arc.rs:45
Method
new
Creates a new Rainbow pattern with the specified parameters.
blinksy/src/patterns/rainbow.rs:77
Method
new
Creates a new Noise1d pattern with the specified parameters.
blinksy/src/patterns/noise.rs:118
Method
new
Creates a new clockless LED driver. # Arguments - `data` - The GPIO pin for data output - `delay` - The delay provider for timing control Assumes d
blinksy/src/driver/clockless/delay.rs:142
Method
new
Creates a new ClockedDelay. # Arguments - `data` - The GPIO pin for data output - `clock` - The GPIO pin for clock output - `delay` - The delay prov
blinksy/src/driver/clocked/delay.rs:175
Method
new
Creates a new color correction with the specified scaling factors. # Arguments - `red` - Scaling factor for the red channel - `green` - Scaling fact
blinksy/src/color/correction.rs:49
Method
new
Creates a new gamma-encoded sRGB color # Arguments - `red` - Red component (0.0 to 1.0) - `green` - Green component (0.0 to 1.0) - `blue` - Blue com
blinksy/src/color/gamma_srgb.rs:51
Method
new
Creates a new HSV color # Arguments - `hue` - Hue component (0.0 to 1.0) - `saturation` - Saturation component (0.0 to 1.0) - `value` - Value compon
blinksy/src/color/hsv.rs:42
Method
new
Creates a new Okhsl color with the specified components. All parameters are clamped to their valid ranges.
blinksy/src/color/okhsl.rs:30
Method
new
Creates a new XYZ color.
blinksy/src/color/xyz.rs:27
Method
new
Creates a new Okhsv color with the specified components. All parameters are clamped to their valid ranges.
blinksy/src/color/okhsv.rs:29
Method
new
Creates a new Oklab color.
blinksy/src/color/oklab.rs:40
Method
new
Creates a new LMS color.
blinksy/src/color/lms.rs:32
Method
new
Creates a new LinearSrgb color # Arguments - `red` - Red component (0.0 to 1.0) - `green` - Green component (0.0 to 1.0) - `blue` - Blue component (
blinksy/src/color/linear_srgb.rs:48
Method
new
Creates a new sRGB color # Arguments - `red` - Red component (0.0 to 1.0) - `green` - Green component (0.0 to 1.0) - `blue` - Blue component (0.0 to
blinksy/src/color/srgb.rs:49
Method
new
(word: W)
blinksy/src/util/bits.rs:47
Method
new
Create a new adapter object that drives the pin using the RMT channel. # Arguments - `channel` - RMT transmit channel creator - `pin` - GPIO pin con
esp/blinksy-esp/src/rmt.rs:212
Method
new
Creates a new function button instance. # Arguments - `pin` - The GPIO pin connected to the button (GPIO0) # Returns A configured FunctionButton i
esp/gledopto/src/button.rs:81
Method
new
Create a new camera with default settings
blinksy-desktop/src/driver.rs:503
Method
new_1d
Starts building a one-dimensional blocking control system. # Returns A builder initialized for 1D, blocking
blinksy/src/control.rs:260
Method
new_1d
Creates a new graphics simulator for 1D layouts. This method initializes a rendering window showing a linear strip of LEDs. # Type Parameters - `La
blinksy-desktop/src/driver.rs:142
Method
new_1d_async
Starts building a one-dimensional asynchronous control system. # Returns A builder initialized for 1D, async
blinksy/src/control.rs:279
Method
new_1d_with_config
Creates a new graphics simulator for 1D layouts with custom configuration. # Type Parameters - `Layout` - The layout type implementing Layout1d # P
blinksy-desktop/src/driver.rs:162
Method
new_2d
Starts building a two-dimensional blocking control system. # Returns A builder initialized for 2D, blocking
blinksy/src/control.rs:297
Method
new_2d
Creates a new graphics simulator for 2D layouts. This method initializes a rendering window showing a 2D arrangement of LEDs based on the layout's co
blinksy-desktop/src/driver.rs:207
Method
new_2d_async
Starts building a two-dimensional asynchronous control system. # Returns A builder initialized for 2D, async
blinksy/src/control.rs:316
Method
new_2d_with_config
Creates a new graphics simulator for 2D layouts with custom configuration. # Type Parameters - `Layout` - The layout type implementing Layout2d # P
blinksy-desktop/src/driver.rs:227
Method
new_3d
Starts building a three-dimensional blocking control system. # Returns A builder initialized for 3D, blocking
blinksy/src/control.rs:334
Method
new_3d
Creates a new graphics simulator for 3D layouts. This method initializes a rendering window showing a 3D arrangement of LEDs based on the layout's co
blinksy-desktop/src/driver.rs:272
Method
new_3d_async
Starts building a three-dimensional asynchronous control system. # Returns A builder initialized for 3D, async
blinksy/src/control.rs:353
Method
new_3d_with_config
Creates a new graphics simulator for 3D layouts with custom configuration. # Type Parameters - `Layout` - The layout type implementing Layout3d # P
blinksy-desktop/src/driver.rs:292
Method
next
(&mut self)
blinksy/src/layout/layout2d.rs:113
Method
next
(&mut self)
blinksy/src/layout/layout3d.rs:210
Method
next
(&mut self)
blinksy/src/layout/iterators/grid.rs:61
Method
next
(&mut self)
blinksy/src/layout/iterators/line.rs:45
Method
next
(&mut self)
blinksy/src/layout/iterators/arc.rs:72
Method
next
(&mut self)
blinksy/src/util/bits.rs:61
Method
now
()
esp/gledopto/src/button.rs:126
Function
panic
(_: &core::panic::PanicInfo)
esp/blinksy-esp/examples/ws2812.rs:25
Method
pixel_count
Returns the total number of pixels (LEDs) in this shape.
blinksy/src/layout/layout2d.rs:149
Method
pixel_count
Returns the total number of pixels (LEDs) in this shape.
blinksy/src/layout/layout3d.rs:98
Method
points
Returns an iterator over all points (LED positions) in this layout.
blinksy/src/layout/layout2d.rs:237
Method
points
Returns an iterator over all points (LED positions) in this layout.
blinksy/src/layout/layout3d.rs:189
Method
points
Returns an iterator over all points (LED positions) in this layout.
blinksy/src/layout/layout1d.rs:13
Method
quit_requested_event
(&mut self)
blinksy-desktop/src/driver.rs:1239
Method
resize_event
(&mut self, width: f32, height: f32)
blinksy-desktop/src/driver.rs:1175
Function
rmt_buffer_size
(pixel_count: usize)
esp/blinksy-esp/src/rmt.rs:43
Method
setup_pulses
()
esp/blinksy-esp/src/rmt.rs:163
Method
shapes
()
esp/gledopto/examples/ws2812-volume-cube.rs:22
Method
shapes
()
blinksy-desktop/examples/3d-cube-volume-noise.rs:18
Method
shapes
()
blinksy-desktop/examples/3d-cube-volume-rainbow.rs:18
Method
show
Shows a frame on the LED hardware, asynchronously. # Type Parameters - `PIXEL_COUNT` - Number of pixels in frame - `FRAME_BUFFER_SIZE` - Length of e
blinksy/src/driver/mod.rs:306
Method
start
()
blinksy/src/leds/apa102.rs:60
Method
sub
(self, rhs: Self)
esp/gledopto/src/button.rs:120
Method
t_cycle
Calculates the total cycle time for a bit transmission. Returns the maximum of (T_0H + T_0L) and (T_1H + T_1L) to ensure timing is correct regardless
blinksy/src/driver/clockless/mod.rs:133
Function
test_u16_msb
()
blinksy/src/util/bits.rs:93
Function
test_u8_msb
()
blinksy/src/util/bits.rs:83
← previous
next →
101–200 of 233, ranked by callers