Open blairlyons opened 3 years ago
Thanks for making it possible to set colors for the simulations! I'm now using that regularly in my presentations. Is it possible to save the colors? Either in the simularium file or on the site? Usually during a presentation, when I navigate back to the site, I have to reload the site, and then my color choices go away.
Hey @mattakamatsu! Great to hear you're using the color feature! I'm looking into this, both for storing in file and in browser sessions.
Off hand would you say that you're likely to be accessing the trajectory in the same tab you were using before? Same window? Or neither? I'm trying to figure out what level of storage in the browser will be most appropriate for saving the color changes.
First use case would be the same tab, i.e. change the colors, and then return to that tab in an hour or two; or if the simularium file included that color info, then I could just re-upload the file with my saved color changes?
Matthew Akamatsu, PhD Assistant Professor, University of Washington Department of Biology He/his https://www.biology.washington.edu/people/profile/matthew-akamatsu
On Thu, May 02, 2024 at 3:31 PM, Joe Heffernan @.***> wrote:
Hey @mattakamatsu https://urldefense.com/v3/__https://github.com/mattakamatsu__;!!K-Hz7m0Vt54!gkDJ6FNJkRrbeNO8peQ5wcsj0Q5FUTr0_0CZv9N7MZGI0IZOIlZSWrU-EePokWt5KWul1Au6N7OE2eKmIej5WMc$! Great to hear you're using the color feature! I'm looking into this, both for storing in file and in browser sessions.
Off hand would you say that you're likely to be accessing the trajectory in the same tab you were using before? Same window? Or neither? I'm trying to figure out what level of storage in the browser will be most appropriate for saving the color changes.
— Reply to this email directly, view it on GitHub https://urldefense.com/v3/__https://github.com/simularium/simularium-viewer/issues/148*issuecomment-2091856121__;Iw!!K-Hz7m0Vt54!gkDJ6FNJkRrbeNO8peQ5wcsj0Q5FUTr0_0CZv9N7MZGI0IZOIlZSWrU-EePokWt5KWul1Au6N7OE2eKm9_zVchQ$, or unsubscribe https://urldefense.com/v3/__https://github.com/notifications/unsubscribe-auth/AD25SOSDXJQ6TVIUNPA74W3ZAK5C3AVCNFSM5AMNVIMKU5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TEMBZGE4DKNRRGIYQ__;!!K-Hz7m0Vt54!gkDJ6FNJkRrbeNO8peQ5wcsj0Q5FUTr0_0CZv9N7MZGI0IZOIlZSWrU-EePokWt5KWul1Au6N7OE2eKmCwlUj_Y$ . You are receiving this because you were mentioned.Message ID: @.***>
Use Case
As a developer, I want to send new colors for agent types and have them update interactively in the viewer.
Acceptance Criteria
A developer of an application embedding the viewer (esp the simularium website) can call a function to immediately change the color of agents of one or more types.
Details
This will be required for a color picker on the simularium website to update the colors of agents (https://github.com/allen-cell-animated/simularium-website/issues/197).
Once we enable export of data, users may want to save the colors they've set through the UI, so it might be nice if the current values of these are accessible to developers for that. Although the embedding application could also handle that.