Skip to content

Commit 574f3af

Browse files
authored
Merge pull request #46 from anAcc22/dev
fix: enlarge component palettes (#45)
2 parents 68a4194 + a0c1bbd commit 574f3af

1 file changed

Lines changed: 39 additions & 19 deletions

File tree

src/components/animateGraph.ts

Lines changed: 39 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -129,32 +129,52 @@ const NODE_FRICTION = 0.05;
129129
const CANVAS_FIELD_DIST = 50;
130130

131131
const FILL_COLORS_LIGHT = [
132-
"#9ece7e",
132+
"#8bc963",
133133
"#dd7878",
134-
"#7287ed",
135-
"#dfae5d",
136-
"#70b05b",
137-
"#dc8a68",
138-
"#309fc5",
139-
"#37c2b9",
134+
"#6293f0",
135+
"#c663e6",
136+
"#dfae6d",
137+
"#5dd2f7",
138+
"#90c06b",
139+
"#d173a0",
140+
"#cfce7d",
141+
"#b3a3fe",
142+
"#dc9a68",
143+
"#edd878",
144+
"#4aa0e3",
145+
"#afce7d",
146+
"#7885fc",
147+
"#37c2c9",
148+
"#ff9e6d",
140149
"#ea76cb",
141-
"#a879ef",
150+
"#c9c565",
151+
"#a073f4",
142152
];
143153

144154
const FILL_COLORS_DARK = [
145-
"#536333",
146-
"#7d3838",
147-
"#42479d",
148-
"#7f5e0d",
149-
"#40603b",
150-
"#8c4a28",
151-
"#104f85",
152-
"#176249",
153-
"#7a366b",
154-
"#58398f",
155+
"#5a803a",
156+
"#8a3a3a",
157+
"#4d70a3",
158+
"#7a44a6",
159+
"#87673e",
160+
"#398fa9",
161+
"#627845",
162+
"#844569",
163+
"#797845",
164+
"#6e6096",
165+
"#845741",
166+
"#817841",
167+
"#396894",
168+
"#687e4d",
169+
"#5966a9",
170+
"#298083",
171+
"#906041",
172+
"#884373",
173+
"#787443",
174+
"#6b5795",
155175
];
156176

157-
const FILL_COLORS_LENGTH = 10;
177+
const FILL_COLORS_LENGTH = 20;
158178

159179
let prevMS = performance.now();
160180
let latestColorChangeMS = performance.now();

0 commit comments

Comments
 (0)