From a2c30affeab03f23083d10ea1c1266ac8a267d87 Mon Sep 17 00:00:00 2001 From: Alex Matulich Date: Fri, 6 Dec 2024 09:07:44 -0800 Subject: [PATCH] Corrected link in comment about linearizing squareness in squircle() --- shapes2d.scad | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);