Qurak

Generate Bezier curves of any degree

範例 共 1 個步驟,在同一個工作階段中依序執行。每一步都在引擎上實際執行過,下方的輸出就是它產生的結果。

步驟 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}]
輸出
-Graphics-

使用到的函式

相關的操作範例

所有操作範例 · 函式參考 · 從 MCP 用戶端使用這個