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
↓ 16 callers
Method
tick
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 callers
Method
with_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 callers
Method
map
(n: usize)
blinksy-desktop/examples/3d-cube-volume-noise.rs:21
↓ 10 callers
Method
into_iter
(self)
blinksy/src/color/led.rs:81
↓ 9 callers
Method
build
(self)
esp/blinksy-esp/src/rmt.rs:125
↓ 8 callers
Function
elapsed
Returns the elapsed time since system boot.
esp/blinksy-esp/src/time.rs:22
↓ 8 callers
Method
set_brightness
Sets the overall brightness level. # Arguments - `brightness` - Brightness level from 0.0 (off) to 1.0 (full)
blinksy/src/control.rs:158
↓ 7 callers
Method
build
Builds the final [`Control`] struct. # Returns A fully configured Control instance
blinksy/src/control.rs:606
↓ 7 callers
Function
elapsed_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 callers
Method
start
(self, f: F)
blinksy-desktop/src/driver.rs:329
↓ 7 callers
Method
to_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 callers
Function
word_to_bits_msb
(word: W)
blinksy/src/util/bits.rs:73
↓ 4 callers
Method
as_ref
(&self)
blinksy/src/color/led.rs:51
↓ 4 callers
Method
send
(&self, message: LedMessage)
blinksy-desktop/src/driver.rs:359
↓ 3 callers
Function
gamma_decode
(c: f32, gamma: f32)
blinksy/src/color/gamma_srgb.rs:90
↓ 3 callers
Function
gamma_encode
(c: f32, gamma: f32)
blinksy/src/color/gamma_srgb.rs:99
↓ 3 callers
Function
map16_to_8
(x: u16)
blinksy/src/leds/apa102.rs:241
↓ 3 callers
Function
map_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 callers
Method
reorder
Reorders the RGB components according to the specified channel order
blinksy/src/color/led.rs:137
↓ 3 callers
Function
scale16_by_8
(val: u16, scale: u8)
blinksy/src/leds/apa102.rs:235
↓ 3 callers
Method
set_color_correction
Sets a color correction. # Arguments - `correction` - Color correction factors
blinksy/src/control.rs:167
↓ 3 callers
Function
srgb_decode
(c: f32)
blinksy/src/color/srgb.rs:94
↓ 3 callers
Function
srgb_encode
(c: f32)
blinksy/src/color/srgb.rs:115
↓ 2 callers
Method
channel_count
Returns the number of color channels.
blinksy/src/color/led.rs:276
↓ 2 callers
Method
frame_pulses
( &self, frame: Vec<Led::Word, FRAME_BUFFER_SIZE>, )
esp/blinksy-esp/src/rmt.rs:181
↓ 2 callers
Method
projection_matrix
Calculate projection matrix based on current settings
blinksy-desktop/src/driver.rs:567
↓ 2 callers
Method
reset
Reset camera to default position and orientation
blinksy-desktop/src/driver.rs:517
↓ 2 callers
Method
to_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 callers
Method
view_matrix
Calculate view matrix for the current camera state
blinksy-desktop/src/driver.rs:556
↓ 2 callers
Method
write
( &mut self, frame: Vec<Self::Word, FRAME_BUFFER_SIZE>, _brightness: f32, _cor
blinksy/src/driver/clocked/mod.rs:299
↓ 1 callers
Function
brightness_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 callers
Function
brightness_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 callers
Method
clear_selection
Clear the current selection
blinksy-desktop/src/driver.rs:667
↓ 1 callers
Method
draw
Draw egui content
blinksy-desktop/src/driver.rs:824
↓ 1 callers
Function
five_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 callers
Method
handle_camera_input
Handles input for camera controls
blinksy-desktop/src/driver.rs:1093
↓ 1 callers
Method
map
(n: usize)
esp/gledopto/examples/ws2812-volume-cube.rs:25
↓ 1 callers
Function
max3
(a: u16, b: u16, c: u16)
blinksy/src/leds/apa102.rs:253
↓ 1 callers
Function
meta
Shader metadata describing uniforms
blinksy-desktop/src/driver.rs:1277
↓ 1 callers
Method
next
(&mut self)
blinksy/src/color/led.rs:68
↓ 1 callers
Method
pick_led
Pick an LED based on screen coordinates
blinksy-desktop/src/driver.rs:634
↓ 1 callers
Method
points
Returns an iterator over all points (LED positions) in this shape.
blinksy/src/layout/layout2d.rs:163
↓ 1 callers
Method
points
Returns an iterator over all points (LED positions) in this shape.
blinksy/src/layout/layout3d.rs:112
↓ 1 callers
Method
position
Calculate the current camera position based on spherical coordinates
blinksy-desktop/src/driver.rs:548
↓ 1 callers
Method
process_messages
Process any pending messages from the main thread.
blinksy-desktop/src/driver.rs:1073
↓ 1 callers
Method
render
( &self, ctx: &mut dyn RenderingBackend, positions: &[Vec3], view_proj: Mat4,
blinksy-desktop/src/driver.rs:945
↓ 1 callers
Method
render_led_info
( &mut self, ctx: &mut dyn RenderingBackend, led_picker: &mut LedPicker, posit
blinksy-desktop/src/driver.rs:723
↓ 1 callers
Method
rotate
Update camera rotation based on mouse movement
blinksy-desktop/src/driver.rs:535
↓ 1 callers
Method
screen_pos_to_ray
Convert screen coordinates to a ray in world space
blinksy-desktop/src/driver.rs:606
↓ 1 callers
Method
set_aspect_ratio
Update camera aspect ratio when window is resized
blinksy-desktop/src/driver.rs:525
↓ 1 callers
Method
show
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 callers
Method
to_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 callers
Method
to_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 callers
Method
to_oklab
Converts Okhsl to Oklab.
blinksy/src/color/okhsl.rs:39
↓ 1 callers
Method
to_oklab
Converts Okhsv to Oklab.
blinksy/src/color/okhsv.rs:38
↓ 1 callers
Method
to_rgb
Converts the hue to RGB using the specified mapping method
blinksy/src/color/hsv.rs:140
↓ 1 callers
Method
toggle_projection_mode
Toggle between orthographic and perspective projection
blinksy-desktop/src/driver.rs:530
↓ 1 callers
Method
transmit_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 callers
Method
transmit_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 callers
Method
try_select_at
Try to select an LED at the given screen coordinates
blinksy-desktop/src/driver.rs:662
↓ 1 callers
Method
update_colors_buffer
( &mut self, ctx: &mut dyn RenderingBackend, colors: &[Vec4], )
blinksy-desktop/src/driver.rs:931
↓ 1 callers
Method
update_positions_buffer
( &mut self, ctx: &mut dyn RenderingBackend, positions: &[Vec3], )
blinksy-desktop/src/driver.rs:917
↓ 1 callers
Method
view_projection_matrix
Get the combined view-projection matrix
blinksy-desktop/src/driver.rs:584
↓ 1 callers
Method
with_channel
( self, channel: Chan, )
esp/blinksy-esp/src/rmt.rs:97
↓ 1 callers
Method
with_pin
(self, pin: Pin)
esp/blinksy-esp/src/rmt.rs:110
↓ 1 callers
Method
with_writer
(self, writer: Writer)
blinksy/src/driver/clocked/mod.rs:266
↓ 1 callers
Method
zoom
Update camera zoom based on mouse wheel movement
blinksy-desktop/src/driver.rs:542
Method
build
(self)
blinksy/src/driver/clockless/delay.rs:67
Method
build
(self)
blinksy/src/driver/clocked/delay.rs:93
Method
char_event
Forward character events to egui
blinksy-desktop/src/driver.rs:717
Function
chunked
Returns an iterator that yields heapless::Vec chunks from `iter`.
esp/blinksy-esp/src/util.rs:6
Method
clock_divider
()
esp/blinksy-esp/src/rmt.rs:159
Function
clockless_frame_buffer_size
(pixel_count: usize)
blinksy/src/leds/mod.rs:19
Method
create_index_buffer
(ctx: &mut dyn RenderingBackend)
blinksy-desktop/src/driver.rs:903
Method
create_vertex_buffer
(ctx: &mut dyn RenderingBackend, r: f32)
blinksy-desktop/src/driver.rs:885
Method
default
()
blinksy/src/patterns/rainbow.rs:50
Method
default
()
blinksy/src/patterns/noise.rs:85
Method
default
()
blinksy/src/driver/clockless/mod.rs:219
Method
default
()
blinksy/src/driver/clockless/delay.rs:23
Method
default
()
blinksy/src/driver/clocked/mod.rs:248
Method
default
()
blinksy/src/driver/clocked/delay.rs:23
Method
default
()
blinksy/src/color/correction.rs:114
Method
default
()
esp/blinksy-esp/src/rmt.rs:65
Method
default
()
blinksy-desktop/src/driver.rs:103
Method
deref
(&self)
esp/gledopto/src/button.rs:99
Method
deref_mut
(&mut self)
esp/gledopto/src/button.rs:105
Method
drop
(&mut self)
blinksy-desktop/src/driver.rs:461
Method
encode
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
Method
encode
( &mut self, pixels: I, brightness: f32, correction: ColorCorrection, )
blinksy/src/driver/clockless/mod.rs:254
Method
encode
( &mut self, pixels: I, brightness: f32, correction: ColorCorrection, )
blinksy/src/driver/clocked/mod.rs:283
Method
encode
( &mut self, pixels: Pixels, _brightness: f32, _correction: ColorCorrection,
blinksy-desktop/src/driver.rs:421
Method
end
(pixel_count: usize)
blinksy/src/leds/apa102.rs:94
Method
fmt
(&self, f: &mut fmt::Formatter<'_>)
blinksy-desktop/src/driver.rs:382
Method
frame_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
Method
frame_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
Method
frame_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
Method
from
(value: Once<Vec2>)
blinksy/src/layout/layout2d.rs:124
Method
from
(value: Once<Vec3>)
blinksy/src/layout/layout3d.rs:221
Method
from
(_: SendError<LedMessage>)
blinksy-desktop/src/driver.rs:393
Method
from_color
(color: Hsv<M>)
blinksy/src/color/hsv.rs:67
next →
1–100 of 233, ranked by callers