What visualisation library for cloth/physics sim

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

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).

3 Likes

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