implement full hsv effect
This commit is contained in:
31
processor.py
31
processor.py
@@ -40,14 +40,41 @@ AVAILABLE_EFFECTS = [
|
||||
"params": None
|
||||
},
|
||||
{
|
||||
"function": adjust_saturation,
|
||||
"function": adjust_hsv,
|
||||
"params": {
|
||||
"factor": {
|
||||
"factor_s": {
|
||||
"type": "slider",
|
||||
"min": 0,
|
||||
"max": 1,
|
||||
"default": 1,
|
||||
"step": 0.01
|
||||
},
|
||||
"factor_v": {
|
||||
"type": "slider",
|
||||
"min": 0,
|
||||
"max": 1,
|
||||
"default": 1,
|
||||
"step": 0.01
|
||||
},
|
||||
"delta_h": {
|
||||
"type": "slider",
|
||||
"min": 0,
|
||||
"max": 360,
|
||||
"default": 0,
|
||||
},
|
||||
"delta_s": {
|
||||
"type": "slider",
|
||||
"min": 0,
|
||||
"max": 1,
|
||||
"default": 0,
|
||||
"step": 0.01
|
||||
},
|
||||
"delta_v": {
|
||||
"type": "slider",
|
||||
"min": 0,
|
||||
"max": 1,
|
||||
"default": 0,
|
||||
"step": 0.01
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user