MCPcopy Create free account

hub / github.com/ahdinosaur/blinksy / functions

Functions233 in github.com/ahdinosaur/blinksy

Methodfrom_color
(color: T)
blinksy/src/color/convert.rs:25
Methodfrom_color
(color: GammaSrgb)
blinksy/src/color/linear_srgb.rs:90
Methodfrom_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
Methodfrom_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
Methodfrom_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
Methodfrom_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
Methodfrom_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
Methodfrom_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
Methodfrom_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
Methodfrom_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
Methodfrom_normalized_f32
(value: f32)
blinksy/src/util/component.rs:38
Methodfrom_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
Methodhue_to_rgb
(hue: f32)
blinksy/src/color/hsv.rs:183
Methodindex
(&self, index: usize)
blinksy/src/color/led.rs:163
Methodinner
Returns the raw hue value (0.0 to 1.0)
blinksy/src/color/hsv.rs:135
Methodinto_color
(self)
blinksy/src/color/convert.rs:18
Methodkey_down_event
Forward key down events to egui
blinksy-desktop/src/driver.rs:707
Methodkey_up_event
Forward key up events to egui
blinksy-desktop/src/driver.rs:712
Methodled
( linear_rgb: LinearSrgb, brightness: f32, correction: ColorCorrection, )
blinksy/src/leds/apa102.rs:64
Functionmain
()
esp/blinksy-esp/examples/ws2812.rs:38
Functionmain
()
esp/gledopto/examples/button.rs:11
Functionmain
(_spawner: Spawner)
esp/gledopto/examples/ws2812-strip-embassy.rs:18
Functionmain
()
esp/gledopto/examples/ws2812-strip.rs:16
Functionmain
()
esp/gledopto/examples/apa102-grid.rs:16
Functionmain
()
esp/gledopto/examples/ws2812-face-cube.rs:16
Functionmain
(_spawner: Spawner)
esp/gledopto/examples/apa102-grid-embassy.rs:18
Functionmain
()
esp/gledopto/examples/ws2812-volume-cube.rs:46
Functionmain
(_spawner: Spawner)
esp/gledopto/examples/ws2812-face-cube-embassy.rs:19
Functionmain
()
blinksy-desktop/examples/2d-noise.rs:25
Functionmain
()
blinksy-desktop/examples/3d-cube-volume-noise.rs:41
Functionmain
()
blinksy-desktop/examples/3d-cube-face-noise.rs:13
Functionmain
()
blinksy-desktop/examples/2d-rainbow.rs:25
Functionmain
()
blinksy-desktop/examples/3d-arcs.rs:63
Functionmain
()
blinksy-desktop/examples/3d-cube-volume-rainbow.rs:41
Functionmain
()
blinksy-desktop/examples/1d-rainbow.rs:15
Methodmap
(n: usize)
blinksy-desktop/examples/3d-cube-volume-rainbow.rs:21
Methodmouse_button_down_event
Forward mouse button down events to egui
blinksy-desktop/src/driver.rs:697
Methodmouse_button_up_event
Forward mouse button up events to egui
blinksy-desktop/src/driver.rs:702
Methodmouse_motion_event
Forward mouse motion events to egui
blinksy-desktop/src/driver.rs:687
Methodmouse_wheel_event
Forward mouse wheel events to egui
blinksy-desktop/src/driver.rs:692
Methodnew
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
Methodnew
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
Methodnew
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
Methodnew
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
Methodnew
Creates a new Rainbow pattern with the specified parameters.
blinksy/src/patterns/rainbow.rs:77
Methodnew
Creates a new Noise1d pattern with the specified parameters.
blinksy/src/patterns/noise.rs:118
Methodnew
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
Methodnew
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
Methodnew
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
Methodnew
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
Methodnew
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
Methodnew
Creates a new Okhsl color with the specified components. All parameters are clamped to their valid ranges.
blinksy/src/color/okhsl.rs:30
Methodnew
Creates a new XYZ color.
blinksy/src/color/xyz.rs:27
Methodnew
Creates a new Okhsv color with the specified components. All parameters are clamped to their valid ranges.
blinksy/src/color/okhsv.rs:29
Methodnew
Creates a new Oklab color.
blinksy/src/color/oklab.rs:40
Methodnew
Creates a new LMS color.
blinksy/src/color/lms.rs:32
Methodnew
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
Methodnew
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
Methodnew
(word: W)
blinksy/src/util/bits.rs:47
Methodnew
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
Methodnew
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
Methodnew
Create a new camera with default settings
blinksy-desktop/src/driver.rs:503
Methodnew_1d
Starts building a one-dimensional blocking control system. # Returns A builder initialized for 1D, blocking
blinksy/src/control.rs:260
Methodnew_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
Methodnew_1d_async
Starts building a one-dimensional asynchronous control system. # Returns A builder initialized for 1D, async
blinksy/src/control.rs:279
Methodnew_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
Methodnew_2d
Starts building a two-dimensional blocking control system. # Returns A builder initialized for 2D, blocking
blinksy/src/control.rs:297
Methodnew_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
Methodnew_2d_async
Starts building a two-dimensional asynchronous control system. # Returns A builder initialized for 2D, async
blinksy/src/control.rs:316
Methodnew_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
Methodnew_3d
Starts building a three-dimensional blocking control system. # Returns A builder initialized for 3D, blocking
blinksy/src/control.rs:334
Methodnew_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
Methodnew_3d_async
Starts building a three-dimensional asynchronous control system. # Returns A builder initialized for 3D, async
blinksy/src/control.rs:353
Methodnew_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
Methodnext
(&mut self)
blinksy/src/layout/layout2d.rs:113
Methodnext
(&mut self)
blinksy/src/layout/layout3d.rs:210
Methodnext
(&mut self)
blinksy/src/layout/iterators/grid.rs:61
Methodnext
(&mut self)
blinksy/src/layout/iterators/line.rs:45
Methodnext
(&mut self)
blinksy/src/layout/iterators/arc.rs:72
Methodnext
(&mut self)
blinksy/src/util/bits.rs:61
Methodnow
()
esp/gledopto/src/button.rs:126
Functionpanic
(_: &core::panic::PanicInfo)
esp/blinksy-esp/examples/ws2812.rs:25
Methodpixel_count
Returns the total number of pixels (LEDs) in this shape.
blinksy/src/layout/layout2d.rs:149
Methodpixel_count
Returns the total number of pixels (LEDs) in this shape.
blinksy/src/layout/layout3d.rs:98
Methodpoints
Returns an iterator over all points (LED positions) in this layout.
blinksy/src/layout/layout2d.rs:237
Methodpoints
Returns an iterator over all points (LED positions) in this layout.
blinksy/src/layout/layout3d.rs:189
Methodpoints
Returns an iterator over all points (LED positions) in this layout.
blinksy/src/layout/layout1d.rs:13
Methodquit_requested_event
(&mut self)
blinksy-desktop/src/driver.rs:1239
Methodresize_event
(&mut self, width: f32, height: f32)
blinksy-desktop/src/driver.rs:1175
Functionrmt_buffer_size
(pixel_count: usize)
esp/blinksy-esp/src/rmt.rs:43
Methodsetup_pulses
()
esp/blinksy-esp/src/rmt.rs:163
Methodshapes
()
esp/gledopto/examples/ws2812-volume-cube.rs:22
Methodshapes
()
blinksy-desktop/examples/3d-cube-volume-noise.rs:18
Methodshapes
()
blinksy-desktop/examples/3d-cube-volume-rainbow.rs:18
Methodshow
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
Methodstart
()
blinksy/src/leds/apa102.rs:60
Methodsub
(self, rhs: Self)
esp/gledopto/src/button.rs:120
Methodt_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
Functiontest_u16_msb
()
blinksy/src/util/bits.rs:93
Functiontest_u8_msb
()
blinksy/src/util/bits.rs:83
← previousnext →101–200 of 233, ranked by callers