MCPcopy Create free account

hub / github.com/ahdinosaur/blinksy / functions

Functions233 in github.com/ahdinosaur/blinksy

↓ 16 callersMethodtick
Updates the LED state based on the current time. This method: 1. Calls the pattern to generate colors 2. Passes the colors and brightness to the driv
blinksy/src/control.rs:193
↓ 15 callersMethodwith_driver
Specifies the LED driver for the control system (blocking). # Type Parameters - `Driver` - The blocking driver type # Arguments - `driver` - The L
blinksy/src/control.rs:477
↓ 12 callersMethodmap
(n: usize)
blinksy-desktop/examples/3d-cube-volume-noise.rs:21
↓ 10 callersMethodinto_iter
(self)
blinksy/src/color/led.rs:81
↓ 9 callersMethodbuild
(self)
esp/blinksy-esp/src/rmt.rs:125
↓ 8 callersFunctionelapsed
Returns the elapsed time since system boot.
esp/blinksy-esp/src/time.rs:22
↓ 8 callersMethodset_brightness
Sets the overall brightness level. # Arguments - `brightness` - Brightness level from 0.0 (off) to 1.0 (full)
blinksy/src/control.rs:158
↓ 7 callersMethodbuild
Builds the final [`Control`] struct. # Returns A fully configured Control instance
blinksy/src/control.rs:606
↓ 7 callersFunctionelapsed_in_ms
Returns the number of milliseconds elapsed since the program started. This is useful to pass into `control.tick`. It initializes a static timer on fi
blinksy-desktop/src/time.rs:36
↓ 7 callersMethodstart
(self, f: F)
blinksy-desktop/src/driver.rs:329
↓ 7 callersMethodto_linear_srgb
Converts an XYZ color into a linear sRGB color. Uses the standard XYZ to RGB transformation matrix defined in the sRGB specification. This assumes th
blinksy/src/color/xyz.rs:62
↓ 7 callersFunctionword_to_bits_msb
(word: W)
blinksy/src/util/bits.rs:73
↓ 4 callersMethodas_ref
(&self)
blinksy/src/color/led.rs:51
↓ 4 callersMethodsend
(&self, message: LedMessage)
blinksy-desktop/src/driver.rs:359
↓ 3 callersFunctiongamma_decode
(c: f32, gamma: f32)
blinksy/src/color/gamma_srgb.rs:90
↓ 3 callersFunctiongamma_encode
(c: f32, gamma: f32)
blinksy/src/color/gamma_srgb.rs:99
↓ 3 callersFunctionmap16_to_8
(x: u16)
blinksy/src/leds/apa102.rs:241
↓ 3 callersFunctionmap_range
Maps a value from one range to another. # Arguments - `value` - The input value to map. - `in_min` - The lower bound of the input range. - `in_max` -
blinksy/src/util/map_range.rs:18
↓ 3 callersMethodreorder
Reorders the RGB components according to the specified channel order
blinksy/src/color/led.rs:137
↓ 3 callersFunctionscale16_by_8
(val: u16, scale: u8)
blinksy/src/leds/apa102.rs:235
↓ 3 callersMethodset_color_correction
Sets a color correction. # Arguments - `correction` - Color correction factors
blinksy/src/control.rs:167
↓ 3 callersFunctionsrgb_decode
(c: f32)
blinksy/src/color/srgb.rs:94
↓ 3 callersFunctionsrgb_encode
(c: f32)
blinksy/src/color/srgb.rs:115
↓ 2 callersMethodchannel_count
Returns the number of color channels.
blinksy/src/color/led.rs:276
↓ 2 callersMethodframe_pulses
( &self, frame: Vec<Led::Word, FRAME_BUFFER_SIZE>, )
esp/blinksy-esp/src/rmt.rs:181
↓ 2 callersMethodprojection_matrix
Calculate projection matrix based on current settings
blinksy-desktop/src/driver.rs:567
↓ 2 callersMethodreset
Reset camera to default position and orientation
blinksy-desktop/src/driver.rs:517
↓ 2 callersMethodto_srgb
Converts from linear RGB to sRGB color space This applies gamma encoding to make the color values perceptually uniform.
blinksy/src/color/linear_srgb.rs:59
↓ 2 callersMethodview_matrix
Calculate view matrix for the current camera state
blinksy-desktop/src/driver.rs:556
↓ 2 callersMethodwrite
( &mut self, frame: Vec<Self::Word, FRAME_BUFFER_SIZE>, _brightness: f32, _cor
blinksy/src/driver/clocked/mod.rs:299
↓ 1 callersFunctionbrightness_bitshifter16
Steals brightness from `brightness_src` and adds it to `brightness_dst` for 16-bit color channels. Returns the number of shifts performed. # Paramete
blinksy/src/leds/apa102.rs:194
↓ 1 callersFunctionbrightness_bitshifter8
Steals brightness from `brightness_src` and adds it to `brightness_dst` without changing the product of the two. Returns the number of shifts performe
blinksy/src/leds/apa102.rs:156
↓ 1 callersMethodclear_selection
Clear the current selection
blinksy-desktop/src/driver.rs:667
↓ 1 callersMethoddraw
Draw egui content
blinksy-desktop/src/driver.rs:824
↓ 1 callersFunctionfive_bit_bitshift
Implements the core APA102HD "bitshift" routine. It takes 16‑bit color channels and an 8‑bit global brightness value, then "steals" brightness bits fr
blinksy/src/leds/apa102.rs:106
↓ 1 callersMethodhandle_camera_input
Handles input for camera controls
blinksy-desktop/src/driver.rs:1093
↓ 1 callersMethodmap
(n: usize)
esp/gledopto/examples/ws2812-volume-cube.rs:25
↓ 1 callersFunctionmax3
(a: u16, b: u16, c: u16)
blinksy/src/leds/apa102.rs:253
↓ 1 callersFunctionmeta
Shader metadata describing uniforms
blinksy-desktop/src/driver.rs:1277
↓ 1 callersMethodnext
(&mut self)
blinksy/src/color/led.rs:68
↓ 1 callersMethodpick_led
Pick an LED based on screen coordinates
blinksy-desktop/src/driver.rs:634
↓ 1 callersMethodpoints
Returns an iterator over all points (LED positions) in this shape.
blinksy/src/layout/layout2d.rs:163
↓ 1 callersMethodpoints
Returns an iterator over all points (LED positions) in this shape.
blinksy/src/layout/layout3d.rs:112
↓ 1 callersMethodposition
Calculate the current camera position based on spherical coordinates
blinksy-desktop/src/driver.rs:548
↓ 1 callersMethodprocess_messages
Process any pending messages from the main thread.
blinksy-desktop/src/driver.rs:1073
↓ 1 callersMethodrender
( &self, ctx: &mut dyn RenderingBackend, positions: &[Vec3], view_proj: Mat4,
blinksy-desktop/src/driver.rs:945
↓ 1 callersMethodrender_led_info
( &mut self, ctx: &mut dyn RenderingBackend, led_picker: &mut LedPicker, posit
blinksy-desktop/src/driver.rs:723
↓ 1 callersMethodrotate
Update camera rotation based on mouse movement
blinksy-desktop/src/driver.rs:535
↓ 1 callersMethodscreen_pos_to_ray
Convert screen coordinates to a ray in world space
blinksy-desktop/src/driver.rs:606
↓ 1 callersMethodset_aspect_ratio
Update camera aspect ratio when window is resized
blinksy-desktop/src/driver.rs:525
↓ 1 callersMethodshow
Shows a frame on the LED hardware. # Type Parameters - `PIXEL_COUNT` - Number of pixels in frame - `FRAME_BUFFER_SIZE` - Length of encoded frame buf
blinksy/src/driver/mod.rs:159
↓ 1 callersMethodto_led
Converts to LED output color values # Arguments - `channels` - The LED channel format specification - `brightness` - Global brightness scaling facto
blinksy/src/color/linear_srgb.rs:79
↓ 1 callersMethodto_lms
Converts from Oklab to LMS cone responses. This applies the inverse transformation from Oklab to LMS, followed by cubing the result to undo the non-l
blinksy/src/color/oklab.rs:98
↓ 1 callersMethodto_oklab
Converts Okhsl to Oklab.
blinksy/src/color/okhsl.rs:39
↓ 1 callersMethodto_oklab
Converts Okhsv to Oklab.
blinksy/src/color/okhsv.rs:38
↓ 1 callersMethodto_rgb
Converts the hue to RGB using the specified mapping method
blinksy/src/color/hsv.rs:140
↓ 1 callersMethodtoggle_projection_mode
Toggle between orthographic and perspective projection
blinksy-desktop/src/driver.rs:530
↓ 1 callersMethodtransmit_async
Transmit buffer using RMT, async. # Arguments - `buffer` - Buffer to be transmitted # Returns Result indicating success or an error
esp/blinksy-esp/src/rmt.rs:276
↓ 1 callersMethodtransmit_blocking
Transmit buffer using RMT, blocking. # Arguments - `buffer` - Buffer to be transmitted # Returns Result indicating success or an error
esp/blinksy-esp/src/rmt.rs:246
↓ 1 callersMethodtry_select_at
Try to select an LED at the given screen coordinates
blinksy-desktop/src/driver.rs:662
↓ 1 callersMethodupdate_colors_buffer
( &mut self, ctx: &mut dyn RenderingBackend, colors: &[Vec4], )
blinksy-desktop/src/driver.rs:931
↓ 1 callersMethodupdate_positions_buffer
( &mut self, ctx: &mut dyn RenderingBackend, positions: &[Vec3], )
blinksy-desktop/src/driver.rs:917
↓ 1 callersMethodview_projection_matrix
Get the combined view-projection matrix
blinksy-desktop/src/driver.rs:584
↓ 1 callersMethodwith_channel
( self, channel: Chan, )
esp/blinksy-esp/src/rmt.rs:97
↓ 1 callersMethodwith_pin
(self, pin: Pin)
esp/blinksy-esp/src/rmt.rs:110
↓ 1 callersMethodwith_writer
(self, writer: Writer)
blinksy/src/driver/clocked/mod.rs:266
↓ 1 callersMethodzoom
Update camera zoom based on mouse wheel movement
blinksy-desktop/src/driver.rs:542
Methodbuild
(self)
blinksy/src/driver/clockless/delay.rs:67
Methodbuild
(self)
blinksy/src/driver/clocked/delay.rs:93
Methodchar_event
Forward character events to egui
blinksy-desktop/src/driver.rs:717
Functionchunked
Returns an iterator that yields heapless::Vec chunks from `iter`.
esp/blinksy-esp/src/util.rs:6
Methodclock_divider
()
esp/blinksy-esp/src/rmt.rs:159
Functionclockless_frame_buffer_size
(pixel_count: usize)
blinksy/src/leds/mod.rs:19
Methodcreate_index_buffer
(ctx: &mut dyn RenderingBackend)
blinksy-desktop/src/driver.rs:903
Methodcreate_vertex_buffer
(ctx: &mut dyn RenderingBackend, r: f32)
blinksy-desktop/src/driver.rs:885
Methoddefault
()
blinksy/src/patterns/rainbow.rs:50
Methoddefault
()
blinksy/src/patterns/noise.rs:85
Methoddefault
()
blinksy/src/driver/clockless/mod.rs:219
Methoddefault
()
blinksy/src/driver/clockless/delay.rs:23
Methoddefault
()
blinksy/src/driver/clocked/mod.rs:248
Methoddefault
()
blinksy/src/driver/clocked/delay.rs:23
Methoddefault
()
blinksy/src/color/correction.rs:114
Methoddefault
()
esp/blinksy-esp/src/rmt.rs:65
Methoddefault
()
blinksy-desktop/src/driver.rs:103
Methodderef
(&self)
esp/gledopto/src/button.rs:99
Methodderef_mut
(&mut self)
esp/gledopto/src/button.rs:105
Methoddrop
(&mut self)
blinksy-desktop/src/driver.rs:461
Methodencode
Encodes a buffer to represent the next frame update. This method: 1. Converts each input color to linear sRGB. 2. Applies the global brightness scal
blinksy/src/driver/clockless/mod.rs:159
Methodencode
( &mut self, pixels: I, brightness: f32, correction: ColorCorrection, )
blinksy/src/driver/clockless/mod.rs:254
Methodencode
( &mut self, pixels: I, brightness: f32, correction: ColorCorrection, )
blinksy/src/driver/clocked/mod.rs:283
Methodencode
( &mut self, pixels: Pixels, _brightness: f32, _correction: ColorCorrection,
blinksy-desktop/src/driver.rs:421
Methodend
(pixel_count: usize)
blinksy/src/leds/apa102.rs:94
Methodfmt
(&self, f: &mut fmt::Formatter<'_>)
blinksy-desktop/src/driver.rs:382
Methodframe_buffer_size
A compile-time function to get a `FRAME_BUFFER_SIZE`, given a `PIXEL_COUNT`. ```rust,ignore layout1d!(Layout, 60); let mut control = ControlBuilder:
blinksy/src/leds/apa102.rs:42
Methodframe_buffer_size
A compile-time function to get a `FRAME_BUFFER_SIZE`, given a `PIXEL_COUNT`. ```rust,ignore layout1d!(Layout, 60); let mut control = ControlBuilder:
blinksy/src/leds/sk6812.rs:30
Methodframe_buffer_size
A compile-time function to get a `FRAME_BUFFER_SIZE`, given a `PIXEL_COUNT`. ```rust,ignore layout1d!(Layout, 60); let mut control = ControlBuilder:
blinksy/src/leds/ws2812.rs:35
Methodfrom
(value: Once<Vec2>)
blinksy/src/layout/layout2d.rs:124
Methodfrom
(value: Once<Vec3>)
blinksy/src/layout/layout3d.rs:221
Methodfrom
(_: SendError<LedMessage>)
blinksy-desktop/src/driver.rs:393
Methodfrom_color
(color: Hsv<M>)
blinksy/src/color/hsv.rs:67
next →1–100 of 233, ranked by callers