GithubHelp home page GithubHelp logo

flutter_soft_body's Introduction

Soft Body Simulation in Flutter

Overview

Welcome to the Soft Body Simulation project implemented in Flutter! This project aims to demonstrate the simulation of soft bodies using Flutter's capabilities, without relying on external physics or game engines.

Inspired by Gonkee's fantastic video explaining the physics and formulas behind soft body simulations, I decided to dive into the world of mass-spring models and bring it to life in Flutter.

Watch the Inspiring Video

Key Features

  • Accumulation of Forces: Incorporates gravity, spring forces (following Hooke's Law), and more to create a dynamic and realistic soft body.

  • Velocity and Position Updates: Utilizes Euler's integration to continuously update the velocity and position of each mass point for smooth and lifelike movement.

  • Collision Detection: Implements ray casting for collision detection, allowing the soft body to interact realistically with its environment.

Project Details

This project has been an incredible learning experience, and I'm excited to share it with the Flutter and developer communities. I hope it serves as a source of inspiration and education for fellow tech enthusiasts and developers.

Feel free to explore the code, provide feedback, or simply enjoy the mesmerizing motion of soft bodies!

Support and Contact

For questions or inquiries, please feel free to reach out to me.

Thank you for your support! Don't forget to star this repository and share it with others who might find it interesting.

flutter_soft_body's People

Contributors

ramin-vakili avatar

Stargazers

 avatar  avatar Edvaldo Martins avatar Amir Panahandeh avatar Hamid Shakeri avatar Hamed Rezaee avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.