Skip to content

Commit

Permalink
improve line width
Browse files Browse the repository at this point in the history
  • Loading branch information
Matt Henderson committed Oct 27, 2023
1 parent fa12d7f commit 9da68fb
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/animations/piArcs.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,10 @@ const PiArcs = () => {
[oddOpacity, evenOpacity] = [evenOpacity, oddOpacity];
}

let arcStyles = [Graphics.Set({ strokeStyle: '#ff36e8af', lineWidth: 0.07 })];
let arcStyles = [
Graphics.Set({ strokeStyle: '#ff36e8af' }),
Graphics.Set({ lineWidth: 0.06 * Math.pow(zoom / 2.4, 0.6) }),
];
let transformsAndPreviousArcs: Graphics.DrawCommand[] = [];
for (let i = 0; i < index; i++) {
const digitI = Number(Utils.piDigits[i]);
Expand Down

0 comments on commit 9da68fb

Please sign in to comment.