示例 随机诗歌

随机诗歌

使用 floor()random() 函数,你可以从数组中随机选择一系列项目,并在画布上以不同的大小和位置绘制它们。

Creative Commons BY-NC-SA license badge

随机诗歌: Created by Kasey Lichtlyter, Malay Vasa. 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. You can suggest improvements by contributing to the current website!