🔺 The Breathing Deformer | Code Simulation | Nature of Code | 2023

preview_player
Показать описание
🔺 The Breathing Deformer | Code Simulation | Nature of Code | 2023

What if the customizable deformation is intelligent which always balance itself into a coherent being?

🤖 The Breathing Deformer project is a mesh sophistication exploration of soft body physics and oscillating motion aiming to make a customizable sphere where players can drag vertices of the sphere and model their own 3D mesh.
--
💻 The utilizes the Toxiclibs physics engine to simulate a deformable 3D object, employing Verlet integration for particle position updates and spring forces to maintain the object's shape.

--
⭐️ The core algorithm for this project can be represented by the equation:

"position += velocity * dt + 0.5 * acceleration * dt * dt;"
"velocity = (position - oldPosition) / dt;"

Where:

- position: Current position of the particle
- velocity: Velocity of the particle
- acceleration: Acceleration due to forces acting on the particle
- dt: Time step

🔬 These equations, combined with the Toxiclibs physics engine, form the foundation of the soft body simulation in this project: The connections between vertices are simulated as springs, creating chain effects that balance external forces. This approach results in a deformable 3D object that responds to complex physics calculations, demonstrating the potential of code to generate lifelike, dynamic simulations in an interactive digital environment.

--
📚 This is the Soft Body assignment from Nature of Code class instructed by Professor Daniel Shiffman during my Junior year at NYU - Interactive Media Arts Major in Tisch School of Arts in Spring 2023 term
--

#codesketch #creativecoding #breath #animals #rainbow #coding #visualcoding #animation #reels #p5js #motion #motiongraphics #math #science #processing #morph #deform
Рекомендации по теме
welcome to shbcf.ru