Behavior : RGBA bins
Author:Rex.Rainbow
- Get Bins of RGBA from the canvas.
Download
Properties
Bin width
Mode
- Mode of processing.
- Options : ["One-tick","Multi-ticks","Webworker"]
Processing time
- Processing time per tick in percentage. A tick time is (1/60), 1 is using full tick time. Used for multi-ticks mode.
Actions
Mode
Action:Set mode
- Set processing mode.
- Mode ( Combo ) : Processing mode.
- Options : ["One-tick","Multi-ticks","Webworker"]
Multi-ticks
Action:Set processing time
- Set processing time
- Processing time ( number ) : Processing time per tick in percentage. A tick time is (1/60), 1 is using full tick time.
Process
Action:Start
- Start process of getting average RGB.
Action:Stop
- Stop process of getting average RGB
Expressions
Bins
Expression:BinsCount
For Each
Expression:CurBinIndex
- Get index of current bin in a For Each loop.
Expression:CurBinValue
- Get value of current bin in a For Each loop.
Conditions
Bins
Condition:For each bin
- Repeat the event for each bin.
- Type ( Combo ) : Type of bins.
- Options : ["R","G","B","A"]
Process
Condition:On finished
- Triggered when process of getting average RGB had finished.
Condition:Is processing
- Return true if processing.