示例

通过简短的示例探索 p5.js 的可能性。

Shapes And Color

Animation And Variables

Imported Media

Input Elements

Transformation

Calculating Values

Repetition

Listing Data with Arrays

Angles And Motion

Games

3D

Advanced Canvas Rendering

Classes And Objects

Loading And Saving Data

Math And Physics