diff --git a/package.json b/package.json index 7b919b3..c695933 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { - "name": "biased_diamond_ring", - "version": "0.1.0", + "name": "biased_diamond_ring_2", + "version": "0.9.0", "homepage": "./", "private": true, "dependencies": { diff --git a/src/components/BiasedDiamondRing/index.tsx b/src/components/BiasedDiamondRing/index.tsx index 8e20d45..f68188c 100644 --- a/src/components/BiasedDiamondRing/index.tsx +++ b/src/components/BiasedDiamondRing/index.tsx @@ -51,11 +51,11 @@ export const BiasedDiamondRing: FC = () => { const cy = windowSize.height / 2; let rx = Math.min(windowSize.width, windowSize.height) / 2; - let ry = Math.random() * (rx * 0.7) + rx * 0.3; + let ry = Math.random() * (rx * 0.65) + rx * 0.35; - if (rx / ry >= 0.98) { - rx *= 0.98; - ry *= 0.98; + if (rx / ry >= 0.99) { + rx *= 0.99; + ry *= 0.99; } const rotDeg = Math.random() * 360;