उदाहरण विवश

विवश

यह उदाहरण कर्सर की स्थिति के अनुसार एक वृत्त खींचता है वृत्त को एक आयत के भीतर रखता है। यह पारित करके ऐसा करता है माउस के निर्देशांक में constrain() फंक्शन।

Creative Commons BY-NC-SA license badge

विवश: Revised by Caleb Foss. 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!