実例 ベジェ曲線

ベジェ曲線

bezier() 曲線は制御点とアンカーポイントを使用して作成されます。 bezier() 関数の最初の2つのパラメータは曲線の最初の点を指定し、最後の2つのパラメータは最後の点を指定します。中間のパラメータは曲線の形状を定義する制御点を設定します。

Creative Commons BY-NC-SA license badge

ベジェ曲線: Revised by Kasey Lichtlyter. Edited and maintained by p5.js Contributors and Processing Foundation. Licensed under CC BY-NC-SA 4.0.

You can find the code history of these examples here: 2023 code, pre-2023 code. You can suggest improvements by contributing to the current website!