Using the floor() and random() functions, you can randomly select a series of items from an array and draw them at different sizes and positions on the canvas.
Random Poetry: 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!