mirror of
https://github.com/arendst/Tasmota.git
synced 2026-08-07 09:12:23 -04:00
Berry animation fix breathe (#24246)
* Remove tab from json * Berry animation fix breathe
This commit is contained in:
1 parent
f1e519af14
commit
a9d32dc979
36 files changed
+20383
-12247
No files matched your search
@@ -1,4 +1,4 @@
|
||||
# Plain background
|
||||
# @desc Solid red background - the simplest animation
|
||||
|
||||
animation back = solid(color=red)
|
||||
run back
|
||||
@@ -1,4 +1,4 @@
|
||||
# Rotation of colors in the background based on palette
|
||||
# @desc Rainbow colors cycling through the entire strip over time
|
||||
|
||||
# define a palette of rainbow colors including white with constant brightness
|
||||
palette rainbow_with_white = [
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# Transition of colors in the background based on palette
|
||||
# @desc Smooth color transitions using rich_palette with sine interpolation
|
||||
|
||||
# define a palette of rainbow colors including white with constant brightness
|
||||
palette rainbow_with_white = [
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# Pattern of colors in the background based on palette
|
||||
# @desc Rainbow gradient pattern across the LED strip
|
||||
|
||||
# define a palette of rainbow colors including white with constant brightness
|
||||
palette rainbow_with_white = [
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# Pattern of colors in the background based on palette, spatial period = 1/2 strip
|
||||
# @desc Rainbow gradient with 2 repetitions across the strip
|
||||
|
||||
# define a palette of rainbow colors including white with constant brightness
|
||||
palette rainbow_with_white = [
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
# Pattern of colors in the background based on palette, spatial period oscillating
|
||||
# @desc Rainbow gradient with oscillating spatial period (breathing effect)
|
||||
|
||||
# define a palette of rainbow colors including white with constant brightness
|
||||
palette rainbow_with_white = [
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
# Pattern of colors in the background based on palette, rotating over 5 s
|
||||
# @desc Rainbow gradient rotating along the strip over 5 seconds
|
||||
|
||||
# define a palette of rainbow colors including white with constant brightness
|
||||
palette rainbow_with_white = [
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# Vue-meter based on random data
|
||||
# @desc VU-meter style animation with green-yellow-red gradient at 85%
|
||||
|
||||
# define a palette of rainbow colors including white with constant brightness
|
||||
palette vue_meter_palette = [
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
# Vue-meter based on random data
|
||||
# @desc VU-meter with random level using custom Berry function
|
||||
|
||||
berry """
|
||||
# define a pseudo-random generator, returns value in range 0..255
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# Sky
|
||||
# @desc Night sky with twinkling stars on dark blue background
|
||||
|
||||
# Dark blue background
|
||||
color space_blue = 0x000066 # Note: opaque 0xFF alpha channel is implicitly added
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# Template animation for Cylon like eye
|
||||
# @desc Cylon-style scanning eye using template with customizable color
|
||||
|
||||
template animation cylon_eye {
|
||||
param eye_color type color default red
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
# Template animation for Cylon like eye
|
||||
# @desc Bidirectional shutter effect with rainbow colors
|
||||
|
||||
template animation shutter_bidir {
|
||||
param colors type palette
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# Template animation with flags
|
||||
# @desc Advanced shutter template with ascending/descending flags
|
||||
|
||||
template animation shutter_bidir {
|
||||
param colors type palette
|
||||
|
||||
Reference in new issue
Block a user