implement full hsv effect

This commit is contained in:
2021-04-08 21:49:20 +02:00
parent d158d06cce
commit 53e0448d0c
2 changed files with 38 additions and 7 deletions

View File

@@ -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
}
}
},