Skip to content

Instantly share code, notes, and snippets.

@bmsleight
bmsleight / squircle.scad
Last active November 6, 2022 13:15
OpenSCAD squircle
/* An OpenSCAD squircle
Copyright (C) 2022 by Brendan M. Sleight
Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted.
https://en.wikipedia.org/wiki/Squircle
A squircle is a shape intermediate between a square and a circle.
A superellipse, where x^4 + y^4 = 1.