properly comment ellipse math

This commit is contained in:
Skyler Lehmkuhl 2024-12-05 10:43:02 -05:00
parent 88d95d7c3a
commit 6f101301ed
1 changed files with 1 additions and 1 deletions

View File

@ -2225,7 +2225,7 @@ function stage() {
let midY = (mouse.y + context.activeShape.starty) / 2
let xDiff = (mouse.x - context.activeShape.startx) / 2
let yDiff = (mouse.y - context.activeShape.starty) / 2
let ellipseConst = 0.552284749831
let ellipseConst = 0.552284749831 // (4/3)*tan(pi/(2n)) where n=4
context.activeShape.clear()
context.activeShape.addCurve(new Bezier(
midX, context.activeShape.starty,