実例 ソフトボディ

ソフトボディ

マウスの位置に向かって加速するソフトボディの物理シミュレーション。この形状は、 curveVertex()curveTightness() を使用して曲線で作成されています。

Creative Commons BY-NC-SA license badge

ソフトボディ: Created by Ira Greenberg. 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!