how to save visualizations offline (local) and reload them later?
Opened this issue · 4 comments
This is a totally cool tool that I would like to use to learn graphing equations more, but I need basic functionality to save parameter sets and equations offline to reload them later.
Documentation or explanations would really help. Do you have any design specifications that you can post in this repo? That would help a lot so we can see the design center and requirements. Documentation is missing. Are there any instructions for use? It is unclear how to link variables, functions, and sliders to build animations.
What is the PostgreSQL database on the backend used for?
There are some examples on the top right corner where it says "examples", they include things like these:
https://www.math3d.org/sliders_intro
If you wanted to save visualizations locally, you would have to run a math3d node on your machine, and run the postgreSQL server on your machine
The PostgreSQL backend is used to save the visualizations on the server.
If running a server is too much, you can find a Share button, next to the Examples one, which saves your work to the online server (which hasn't failed me yet). And you can reload your work by going to the link. (Just don't lose it!)
but I need basic functionality to save parameter sets and equations offline to reload them later.
I suspect you want the "Share" functionality that @o-b-o mentioned:
If running a server is too much, you can find a Share button, next to the Examples one, which saves your work to the online server (which hasn't failed me yet). And you can reload your work by going to the link. (Just don't lose it!)
The local database stuff is more for local development, e.g., if you wanted to change how math3d works or contribute a feature back to this repository.
As @o-b-o mentioned, though, you do need to keep track of the URLs yourself. There's no login system in math3d (yet...) so we can't show a "list of your previously saved graphs" or something like that.