From eeb6d02c1a4e3c81a8af961fb01d1f08e20f32a9 Mon Sep 17 00:00:00 2001 From: s-hadinger <49731213+s-hadinger@users.noreply.github.com> Date: Mon, 25 Aug 2025 21:39:58 +0200 Subject: [PATCH] fix smooth_oscillator and simplify --- lib/libesp32/berry_animation/README.md | 25 +------------------------ 1 file changed, 1 insertion(+), 24 deletions(-) diff --git a/lib/libesp32/berry_animation/README.md b/lib/libesp32/berry_animation/README.md index c3dcfdb3a..6c7333455 100644 --- a/lib/libesp32/berry_animation/README.md +++ b/lib/libesp32/berry_animation/README.md @@ -116,7 +116,7 @@ Use oscillating values to create complex effects: ```berry animation pulsing_comet = comet_animation( color=red - tail_length = smooth_oscillator(min_value=5, max_value=15, duration=3s) + tail_length = smooth(min_value=5, max_value=15, duration=3s) speed=2 ) ``` @@ -189,29 +189,6 @@ animation ocean_waves = rich_palette( run ocean_waves ``` -## ⚡ Performance - -Optimized for embedded systems: - -- **Memory Efficient** - Minimal RAM usage -- **CPU Optimized** - Efficient rendering algorithms -- **Scalable** - Handles strips from 10 to 1000+ LEDs -- **Real-time** - Smooth 30+ FPS animation - -### Performance Tips -- Use longer animation periods (2-5 seconds) for smoother performance -- Limit simultaneous animations (3-5 max recommended) -- Consider strip length when designing complex effects - -## 🤝 Contributing - -Contributions are welcome! Areas for contribution: -- New animation effects -- Performance optimizations -- Documentation improvements -- Example animations -- Bug fixes and testing - ## 📄 License This project is licensed under the MIT License.