From 4b88304b25437f19ecf0901a4c6063f6b0da3e99 Mon Sep 17 00:00:00 2001 From: Bob Polis Date: Wed, 6 Oct 2021 17:05:45 +0200 Subject: [PATCH] Config can now hold array of knots --- modules/Whirling/Whirling.json | 22 +++++++++++++--------- 1 file changed, 13 insertions(+), 9 deletions(-) diff --git a/modules/Whirling/Whirling.json b/modules/Whirling/Whirling.json index 6ac289b..47e2d6a 100644 --- a/modules/Whirling/Whirling.json +++ b/modules/Whirling/Whirling.json @@ -1,11 +1,15 @@ { - "f": [9, 7, 5, 7], - "p": [0, 0, 0, 0], - "steps": 1000, - "delta": 0.017453292, - "r": 1.0, - "g": 1.0, - "b": 1.0, - "a": 1.0, - "line_width": 1.0 + "knots": [ + { + "f": [9, 7, 5, 7], + "p": [0, 0, 0, 0], + "steps": 1000, + "delta": 0.017453292, + "r": 1.0, + "g": 1.0, + "b": 1.0, + "a": 1.0, + "line_width": 1.0 + } + ] }