यह उदाहरण इस फंक्शन के उपयोग को random() दर्शाता है।
जब उपयोगकर्ता माउस बटन दबाता है, तो स्थिति और रंग वृत्त का अनियमित रूप से परिवर्तन होता है।
यादृच्छिक: Revised by Darren Kessner. 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!