この例は、粒子システムを使用して落下する雪(スノーフレーク)の動きをシミュレートすることを示しています。このプログラムは、雪の クラス を定義し、配列を使用してスノーフレークオブジェクトを保持します。
スノーフレーク: 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!