Skip to content

Commit a79df7a

Browse files
authored
Merge pull request #466 from LLK/revert-423-more-circular-pen-dots
Revert "Tweak scalingVector to make dots appear to be more circular"
2 parents 6bdaebc + ed6c707 commit a79df7a

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/PenSkin.js

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

381381
const scalingVector = __modelScalingVector;
382-
// Dots tend to be ovals that are longer on the y-axis, so we use a smaller alias
383-
// for the y value than for the x value to make dots more circular.
384-
scalingVector[0] = diameter + (alias / 2);
385-
scalingVector[1] = length + diameter - (alias / 6);
382+
scalingVector[0] = diameter + alias;
383+
scalingVector[1] = length + diameter - (alias / 2);
386384

387385
const radius = diameter / 2;
388386
const yScalar = (0.50001 - (radius / (length + diameter)));

0 commit comments

Comments
 (0)