Qurak

Generate Bezier curves of any degree

Example 1 step, run in order in one session. Every step was executed against the engine and the output below is what it produced.

Step 1
GraphicsGrid[Partition[Table[With[{pts = Table[i{Cos[8 / n i], Sin[8 / n i]}, {i, n}]}, Graphics[{Green, Line[pts], Red, Point[pts], Thick, Blue, BezierCurve[pts, SplineDegree -> (n - 1)]}, PlotLabel -> Row[{"degree ", n - 1}]]], {n, 4, 16}], 4], Frame -> All, ImageSize -> {500, 500}]
Output
-Graphics-

Functions used

Related recipes

All recipes · Function reference · Use this from an MCP client