Tasmota/lib/libesp32/berry_animation/anim_examples/rainbow_cycle.anim

14 lines
417 B
Plaintext

# Rainbow Cycle - Classic WLED effect
# Smooth rainbow colors cycling across the strip
#strip length 60
# Create smooth rainbow cycle animation
color rainbow_cycle = color_cycle(
palette=[0xFF0000, 0xFF8000, 0xFFFF00, 0x00FF00, 0x0000FF, 0x8000FF, 0xFF00FF], # rainbow colors
cycle_period=5s # cycle period
)
animation rainbow_animation = solid(color=rainbow_cycle)
# Start the animation
run rainbow_animation