diff --git a/shapes2d.scad b/shapes2d.scad index 11a5a30..865a14d 100644 --- a/shapes2d.scad +++ b/shapes2d.scad @@ -2060,7 +2060,7 @@ function squircle_radius(squareness, r, angle) = let( function _linearize_squareness(s) = // from Chamberlain Fong (2016). "Squircular Calculations". arXiv. - // https://arxiv.org/vc/arxiv/papers/1604/1604.02174v1.pdf + // https://arxiv.org/pdf/1604.02174v5 let(c = 2 - 2*sqrt(2), d = 1 - 0.5*c*s) 2 * sqrt((1+c)*s*s - c*s) / (d*d);