From d1f702fc6512c557c309154438d8d2963a62ab4a Mon Sep 17 00:00:00 2001 From: Max Stockner Date: Tue, 10 Jul 2018 00:10:53 +0200 Subject: [PATCH] Add animation preset example --- dmx-web-example.conf | 28 +++++++++++++++++++++++++++- 1 file changed, 27 insertions(+), 1 deletion(-) diff --git a/dmx-web-example.conf b/dmx-web-example.conf index 78d28e9..d470a49 100644 --- a/dmx-web-example.conf +++ b/dmx-web-example.conf @@ -167,5 +167,31 @@ } ] } - } + }, + "_animPresets": [{ + "_comment1": "Change _animPresets to animPresets for a new tab with all preset animations", + "_comment2": "Check documentation for how to make animations", + "label": "test", + "anim": { + "office": [{ + "to": { + "10": 0, + "20": 0 + } + }, + { + "to": { + "10": 255 + }, + "duration": 2000 + }, + { + "to": { + "20": 255 + }, + "duration": 1000 + } + ] + } + }] }