この例は、beginShape()、endShape()、およびvertex()関数を使用して、TRIANGLE_STRIPモードで頂点を指定することによって形状を作成する方法を示しています。
三角形で分割: Created by Ira Greenberg. Revised by Darren Kessner. From 2024 onwards, 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: pre-2023 example, 2023 revision code. You can suggest improvements by contributing to the current website!