Move patterns to separate patterns.json file

This commit is contained in:
2025-11-30 14:43:22 +13:00
parent 8dabf852ba
commit 92526ab05c
3 changed files with 48 additions and 36 deletions

View File

@@ -9,8 +9,8 @@
"colors": [
"#968a00"
],
"brightness": 57,
"pattern": "on",
"brightness": 39,
"pattern": "rainbow",
"delay": 99,
"n1": 10,
"n2": 10,
@@ -69,10 +69,11 @@
},
"off": {
"colors": [
"#000000"
"#0000ff",
"#ff0000"
],
"delay": 99,
"n1": -17,
"delay": 10000,
"n1": 10,
"n2": 10,
"n3": 10,
"n4": 10,
@@ -136,7 +137,7 @@
"#ff0000"
],
"brightness": 39,
"pattern": "on",
"pattern": "circle",
"delay": 10000,
"n1": 10,
"n2": 10,
@@ -200,7 +201,7 @@
"#0000ff",
"#ff0000"
],
"delay": 399,
"delay": 10000,
"n1": 10,
"n2": 10,
"n3": 10,
@@ -236,7 +237,7 @@
"#00ff00"
],
"delay": 1778,
"n1": 10,
"n1": 20,
"n2": 40,
"n3": 40,
"n4": 0
@@ -843,30 +844,5 @@
}
}
}
},
"patterns": {
"on": {},
"off": {},
"rainbow": {
"Step Rate": "n1"
},
"transition": {},
"chase": {
"Colour 1 Length": "n1",
"Colour 2 Length": "n2",
"Step 1": "n3",
"Step 2": "n4"
},
"pulse": {
"Attack": "n1",
"Hold": "n2",
"Decay": "n3"
},
"circle": {
"Head Rate": "n1",
"Max Length": "n2",
"Tail Rate": "n3",
"Min Length": "n4"
}
}
}