Ramp To Alpha Color Value
Jump to navigation
Jump to search
File:TArduinoRampToAlphaColorValue.png
Summary
Smoothly transitions an alpha color value from its current state to a target value over a defined time.
Description
The **Ramp To Alpha Color Value** component gradually changes the input alpha color to a specified target value at a controlled slope. The slope defines the duration of the transition from the current alpha color to the target. This is useful for creating smooth transparency effects, fades, or visual transitions in displays, LEDs, or UI elements.
Diagram:
Categories
- File:TArduinoColorCategory.png Category Alpha Color – Components for processing and generating smooth alpha color transitions.
Properties
- Enabled – Enables or disables the component.
- Initial Value – The starting alpha color value at initialization.
- Slope (Sec) – Duration in seconds to reach the target alpha color from the current value.
Pins
Input Pins
- In – Target alpha color value to transition to.
- Clock – Triggers the ramp to start using the current target value.
Output Pins
- Out – The current alpha color value as it ramps toward the target.