Use GIF files for effects (#477)

* Add new Effects

* add schema file for gif based effects

* add background color to snake effect

* add background color to snake effect

* Update schema file for snake effect

* Add function getImage

* add function getImage

* optimize lights.gif

* Add format to GIF schema
This commit is contained in:
Paulchen Panther
2017-10-12 12:00:32 +02:00
committed by brindosch
parent 838008568a
commit 9cc6c75633
11 changed files with 179 additions and 7 deletions

View File

@@ -18,20 +18,34 @@
"maxItems": 3,
"propertyOrder" : 1
},
"background-color": {
"type": "array",
"title":"edt_eff_color",
"format":"colorpicker",
"default": [0,0,0],
"items" : {
"type": "integer",
"minimum": 0,
"maximum": 255
},
"minItems": 3,
"maxItems": 3,
"propertyOrder" : 2
},
"rotation-time": {
"type": "number",
"title":"edt_eff_rotationtime",
"default": 12.0,
"minimum" : 0.1,
"append" : "edt_append_s",
"propertyOrder" : 2
"propertyOrder" : 3
},
"percentage": {
"type": "integer",
"title":"edt_eff_length",
"default": 10,
"append" : "edt_append_percent",
"propertyOrder" : 3
"propertyOrder" : 4
}
},
"additionalProperties": false