Get help from the marimo community

Updated last month

Smoothly Varying Plots

At a glance

The community member has been using the online tool Desmos to investigate mathematical equations, but has encountered issues with computationally heavy expressions. They are interested in exploring more performant options and have come across Marimo, wondering if it can achieve smoothly varying plots like the example they provided from Desmos. The comments suggest that Marimo can be used for interactive contour plots, but there may not be an easy way to automate the sliders for "autoplay" as in the Desmos example. The community member is grateful for the suggestions and plans to explore Marimo further, potentially using it with Sympy to achieve the desired results.

Useful resources
I have been using an online tool called Desmos to investigate various mathemetical equations in the last year. This has been very useful but runs into some issues when examining computationally heavy expressions (e.g integrals, etc).

For that reason, I wanted to look into more performant options, and Marimo seemed like an interesting option to play with this idea. I was wondering, though, if anyone would know whether achieving a smoothly varying plot is feasible in Marimo?

Here is an example of a smoothly varying plot: https://www.desmos.com/calculator/4dkhcbjost

My hope is that I can use Sympy along with Marimo to achieve this, but I am still ramping up on Marimo basics before I try it, so figured I'd ask in the meantime.

Thanks!
G
O
3 comments
not sure if there's an easy way to automate the sliders to "autoplay" as in the example you showed..
That's awesome! Thank you. It's not as fluid as Desmos, but I'd have to check how it handles more expensive computations (e.g integrals) to see if it's better for those. For autoplay, I bet I could code that... Thanks so much!
Add a reply
Sign up and join the conversation on Discord