Skip to content

Commit 2042018

Browse files
committed
Tweak scalingVector to make dots appear to be more circular instead of oval
1 parent 3c79a55 commit 2042018

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/PenSkin.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -371,8 +371,8 @@ class PenSkin extends Skin {
371371
translationVector[1] = avgY + (alias / 4);
372372

373373
const scalingVector = __modelScalingVector;
374-
scalingVector[0] = diameter + alias;
375-
scalingVector[1] = length + diameter - (alias / 2);
374+
scalingVector[0] = diameter + (alias / 2);
375+
scalingVector[1] = length + diameter - (alias / 6);
376376

377377
const radius = diameter / 2;
378378
const yScalar = (0.50001 - (radius / (length + diameter)));

0 commit comments

Comments
 (0)