示例 基本图形形状

基本图形形状

这个程序展示了基本图形原始函数的使用方法,包括 square()rect()ellipse()circle()arc()line()triangle()quad()

Creative Commons BY-NC-SA license badge

基本图形形状: Revised in 2023 by Darren Kessner. Created by Caleb Foss, 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: 2023 code, pre-2023 code. You can suggest improvements by contributing to the current website!