Skip to content

Commit

Permalink
change the dimension to 600x600
Browse files Browse the repository at this point in the history
  • Loading branch information
im2 committed May 22, 2024
1 parent ba900ab commit 3dd7121
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/key2svg.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ export function generateSVG(publicKey, svg) {
const numberOfCurves = 5;
for (let i = 0; i < numberOfCurves; i++) {
// Generate path using valid numbers
const d = `M${rng.next() * 800},${rng.next() * 600} C${rng.next() * 800},${rng.next() * 600} ${rng.next() * 800},${rng.next() * 600} ${rng.next() * 800},${rng.next() * 600}`;
const d = `M${rng.next() * 600},${rng.next() * 600} C${rng.next() * 600},${rng.next() * 600} ${rng.next() * 600},${rng.next() * 600} ${rng.next() * 600},${rng.next() * 600}`;
// console.log("Path:", d);
drawBezier(svg, { ...params, d });
}
Expand Down

0 comments on commit 3dd7121

Please sign in to comment.