# Inflation with grasshopper

**URL:** <https://discourse.mcneel.com/t/inflation-with-grasshopper/60221>\
**Category:** Grasshopper\
**Created:** [April 11, 2018, 1:23pm UTC](https://discourse.mcneel.com/t/inflation-with-grasshopper/60221 "2018-04-11T13:23:04Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![germershausen.t](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/germershausen.t/32/93640_2.png) [@germershausen.t](https://discourse.mcneel.com/u/germershausen.t)\
**Post date:** [April 11, 2018, 1:23pm UTC](https://discourse.mcneel.com/t/inflation-with-grasshopper/60221/1 "2018-04-11T13:23:04Z")

</div>

Hey guys,

im trying to animate an inflation of a box with grasshopper.

 ![0](https://global.discourse-cdn.com/mcneel/original/3X/d/4/d4883964d424d780f7332d328fa9fc857e32db99.jpeg)

the picture shows the inflation of such box.

anyone know a good way to do that? i didn’t find any examples regarding this specific topic.

Thanks peeps,  
Tim

---

<div class="post-metadata">

**Author:** ![DavidRutten](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/davidrutten/32/755688_2.png) [@DavidRutten](https://discourse.mcneel.com/u/DavidRutten)\
**Post date:** [April 11, 2018, 1:39pm UTC](https://discourse.mcneel.com/t/inflation-with-grasshopper/60221/2 "2018-04-11T13:39:30Z")

</div>

If you’re looking to simulate physical deformations, I think Kangaroo is your best (and only?) option in Grasshopper. But note that Kangaroo is _not_ an animation package, it’s a solver, so it tries to find the end state as quickly as possible.

There have also been some attempts at plugging CUDA or some other high end physical solvers, but I do not know to what degree these plug-ins are available and usable.

---

<div class="post-metadata">

**Author:** ![qythium](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/qythium/32/84125_2.png) [@qythium](https://discourse.mcneel.com/u/qythium)\
**Post date:** [April 11, 2018, 2:08pm UTC](https://discourse.mcneel.com/t/inflation-with-grasshopper/60221/3 "2018-04-11T14:08:12Z")

</div>

There’s an sample definition of an inflating box in Daniel Piker’s kangaroo examples, that should be a pretty good starting point 🙂

> **[Dan-Piker/Kangaroo-examples](https://github.com/Dan-Piker/Kangaroo-examples/tree/master/inflation)**
>
> Example grasshopper definitions for the Kangaroo plugin - Dan-Piker/Kangaroo-examples

  
 ![Canvas%20at%2021%3B58%3B55](https://global.discourse-cdn.com/mcneel/original/3X/8/0/80e65bd8031ac4a539a2db32bab64dda16de46bd.jpg)

The `Bouncy Solver` component uses a more “physically realistic” algorithm that doesn’t converge quite as quickly as the default solver, but gives better results for animation.
