उदाहरण ताकतों

ताकतों

पिंडों पर कार्य करने वाली अनेक शक्तियों का प्रदर्शन। पिंड लगातार गुरुत्वाकर्षण का अनुभव करते हैं। शरीर में तरल पदार्थ का अनुभव होता है “पानी” में होने पर प्रतिरोध। (natureofcode.com)

बल की गणना का उपयोग करके की जाती है p5.Vector क्लास, जिसमें वेक्टर बनाने के लिए createVector() फ़ंक्शन शामिल है।

Creative Commons BY-NC-SA license badge

ताकतों: Inspired by Dan Shiffman's "Nature of Code". Revised by Darren Kessner. 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!