circle improvement

This commit is contained in:
Sam
2023-05-04 19:49:52 +12:00
parent 2907100c2d
commit 553a997d35
2 changed files with 56 additions and 24 deletions

View File

@@ -78,10 +78,11 @@ async function fetchConfig(className) {
{ 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" },
{ type: "range", min: 1, max: 55, defaultValue: 55, property: "nCircles" },
{ type: "range", min: 1, max: 50, defaultValue: 20, property: "gap" },
{ type: "range", min: 0, max: 1, defaultValue: 1, property: "linear" },
{ type: "color", defaultValue: "#fc03cf", property: "colour1" },
{ type: "color", defaultValue: "#00fffb", property: "colour2" },
],
};
return config[className];