# What visualisation library for cloth/physics sim

**URL:** <https://discourse.julialang.org/t/what-visualisation-library-for-cloth-physics-sim/104183>\
**Category:** New to Julia\
**Created:** [September 23, 2023, 6:45pm UTC](https://discourse.julialang.org/t/what-visualisation-library-for-cloth-physics-sim/104183 "2023-09-23T18:45:20Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ollie\_d](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ollie_d/32/53134_2.png) [@ollie\_d](https://discourse.julialang.org/u/ollie_d)\
**Post date:** [September 23, 2023, 6:45pm UTC](https://discourse.julialang.org/t/what-visualisation-library-for-cloth-physics-sim/104183/1 "2023-09-23T18:45:20Z")

</div>

Sorry for the basic question. I want to make a cloth sim in 2d and then 3d and was wondering which package I should be using to display points and lines? Do i just use plots or is there something more suitable? thanks

---

<div class="post-metadata">

**Author:** ![Krastanov](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/krastanov/32/6817_2.png) [@Krastanov](https://discourse.julialang.org/u/Krastanov)\
**Post date:** [September 23, 2023, 10:01pm UTC](https://discourse.julialang.org/t/what-visualisation-library-for-cloth-physics-sim/104183/2 "2023-09-23T22:01:34Z")

</div>

Makie is probably the most suitable tool, presumably with the GLMakie backend if you want to have live animated view of the simulation.

WaterLily.jl is a library for a particular type of 2D differential equations that has built-in visualization tools that use Makie. It would probably be a good inspiration for your cloth sim library (in terms of how it uses Makie).

> **[GitHub - weymouth/WaterLily.jl: Fast and simple fluid simulator in Julia](https://github.com/weymouth/WaterLily.jl)**
>
> Fast and simple fluid simulator in Julia. Contribute to weymouth/WaterLily.jl development by creating an account on GitHub.

---

<div class="post-metadata">

**Author:** ![ollie\_d](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ollie_d/32/53134_2.png) [@ollie\_d](https://discourse.julialang.org/u/ollie_d)\
**Post date:** [September 25, 2023, 9:59pm UTC](https://discourse.julialang.org/t/what-visualisation-library-for-cloth-physics-sim/104183/3 "2023-09-25T21:59:40Z")

</div>

thanks! Chatgpt suggested plots but I’m not sure I can trust it…
