Json to desmos.com snapshot URL?

9 views
Skip to first unread message

Nate Rickett

unread,
Jun 26, 2025, 5:08:21 PMJun 26
to desmos-api-discuss
I am working on a feature to allow users to reconnect whatever they're working on in the Desmos API on my webpages with the work they almost certainly have at desmos.com. I have come up with some code to stringify the calculator getState then pass it to the navigator clipboard to allow Ctrl-V into a blank graph at desmos.com and I imagine that this will be an acceptable solution for most users. I think there are going to be clipboard limits, though, that could make it so that somebody's favorite graphical creation is stuck on my website forever. I'm also planning to have an option to download their graphs as a json, but then they still won't have a mechanism for bringing it back to desmos.com

I am also familiar with (now Amplify's) teacher.desmos.com tools and noticed a while ago that slick button they have at the bottom of the expressions list that sends the whole graph (without the cl code) back to desmos.com to be edited and saved, and in conjunction with desmos' ability to paste a desmos URL into the expressions list, the two websites perfectly share graph data back and forth. I would love to have a button like that on my API, or in the topnav somewhere. Is it possible to share the functionality on this forum, or is there a simpler solution that I'm not thinking of? 

Thanks in advance,
-Nate
Screenshot 2025-06-26 170723.png
Reply all
Reply to author
Forward
0 new messages