public static Shape SingleSeries(Fr[] members, int count = 256) { return(Polygons.FourierSeries(count, members.Perfecto()).ToShape().Rotate(Math.PI / 2).Adjust()); }
public static Shape Polygon(int n, double a = 0.1, int count = 100, bool fill = true) => Polygons.FourierSeries(count, (n - 1, 6 * a / (n - 1)), (-1, 1)) .Condition(fill, p => p.Fill()).TurnOut().ToShape3()
public static Shape Series3(int an, int bn, double a, double b, int count, bool fill, double da = 0, double db = 0) => Polygons .FourierSeries(count, (an, a, da), (bn, b, db), (-1, 1)) .Condition(fill, p => p.Fill())
public static Shape Star(double a = 0.15, int count = 100, bool fill = true) => Polygons.FourierSeries(count, (4, a), (-1, 1)) .Condition(fill, p => p.Fill()).TurnOut().ToShape3()