उदाहरण बर्फ के टुकड़े

बर्फ के टुकड़े

यह उदाहरण कण प्रणाली के उपयोग को प्रदर्शित करता है गिरते बर्फ के टुकड़ों की गति का अनुकरण करने के लिए। यह प्रोग्राम एक को परिभाषित करता है स्नोफ्लेक class और बर्फ के टुकड़े वाली वस्तुओं को रखने के लिए एक सरणी का उपयोग करता है।

Creative Commons BY-NC-SA license badge

बर्फ के टुकड़े: Created by Aatish Bhatia. 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: pre-2023 example, 2023 code. You can suggest improvements by contributing to the current website!