1
0
Fork 0

Merge pull request #1640 from anniekao/patch-3

Update tutorial code block
This commit is contained in:
Joost De Cock 2022-01-15 17:53:26 +01:00 committed by GitHub
commit 5fadd64ccc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -20,7 +20,7 @@ do {
.move(points.right)
.curve(points.rightCp1, points.bottomCp2, points.bottom)
delta = paths.neck.length() - target
delta = paths.quarterNeck.length() - target
if (delta > 0) tweak = tweak * 0.99
else tweak = tweak * 1.02
} while (Math.abs(delta) > 1)