Skip to content

Conversation

@a-mnt
Copy link

@a-mnt a-mnt commented Jul 31, 2025

Replaces the linear step-based LED pulsing with a smooth sinusoidal (cosine-based) animation to simulate a natural breathing rhythm. This makes the LED transitions softer and more organic. The pulse cycle duration is configurable via PULSING_STEPS and PULSING_RATE.

Replaces the linear step-based LED pulsing with a smooth sinusoidal (cosine-based) animation to simulate a natural breathing rhythm.
This makes the LED transitions softer and more organic.
The pulse cycle duration is configurable via PULSING_STEPS and PULSING_RATE.
a-mnt and others added 4 commits July 31, 2025 10:00
- Increased pulsing smoothness by raising PULSING_STEPS to 15
- Increased pulsing frequency by reducing PULSING_RATE to 100ms
- Replaced abstract method placeholders with proper NotImplementedError
  to ensure subclasses must implement do_set and do_show
- Prepares a more natural and responsive LED pulsing experience
Refined the LED pulsing effect to achieve a smoother, more natural rhythm. 
Set PULSING_RATE to 0.05 seconds and PULSING_STEPS to 30, resulting in 
a full pulse cycle (fade in and out) of approximately 3 seconds.
This provides a calmer and more lifelike breathing effect.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant