circleExpand

This commit is contained in:
Sam
2023-05-04 19:20:19 +12:00
parent 8d0367d06a
commit 2907100c2d
4 changed files with 135 additions and 225 deletions

View File

@@ -77,6 +77,12 @@ async function fetchConfig(className) {
{ type: "color", defaultValue: "#ff0000", property: "colourSpiral" },
{ type: "color", defaultValue: "#00fffb", property: "colourExpand" },
],
CircleExpand: [
{ type: "range", min: 1, max: 800, defaultValue: 400, property: "width" },
{ type: "range", min: 1, max: 100, defaultValue: 10, property: "squares" },
{ type: "range", min: 1, max: 10, defaultValue: 1, property: "line_width" },
{ type: "color", defaultValue: "#2D81FC", property: "colour1" },
],
};
return config[className];
}