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.
2 parents e98fb37 + 9fc82a8 commit 8b54df1Copy full SHA for 8b54df1
src/PenSkin.js
@@ -379,8 +379,10 @@ class PenSkin extends Skin {
379
translationVector[1] = avgY + (alias / 4);
380
381
const scalingVector = __modelScalingVector;
382
- scalingVector[0] = diameter + alias;
383
- 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.
384
+ scalingVector[0] = diameter + (alias / 2);
385
+ scalingVector[1] = length + diameter - (alias / 6);
386
387
const radius = diameter / 2;
388
const yScalar = (0.50001 - (radius / (length + diameter)));
0 commit comments