예제 삼각형 스트립

삼각형 스트립

이 예제는 beginShape(), endShape(), 그리고 vertex() 함수를 사용하여 TRIANGLE_STRIP 모드에서 그것의 꼭짓점들을 지정함으로써 도형을 생성하는 방법을 보여줍니다.

Creative Commons BY-NC-SA license badge

삼각형 스트립: 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!