We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3c79a55 commit 9fc82a8Copy full SHA for 9fc82a8
src/PenSkin.js
@@ -371,8 +371,10 @@ class PenSkin extends Skin {
371
translationVector[1] = avgY + (alias / 4);
372
373
const scalingVector = __modelScalingVector;
374
- scalingVector[0] = diameter + alias;
375
- scalingVector[1] = length + diameter - (alias / 2);
+ // Dots tend to be ovals that are longer on the y-axis, so we use a smaller alias
+ // for the y value than for the x value to make dots more circular.
376
+ scalingVector[0] = diameter + (alias / 2);
377
+ scalingVector[1] = length + diameter - (alias / 6);
378
379
const radius = diameter / 2;
380
const yScalar = (0.50001 - (radius / (length + diameter)));
0 commit comments