-
-
Notifications
You must be signed in to change notification settings - Fork 294
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Integrating Makie's new SpecApi #2706
Comments
That's awesome! A declarative API is really helpful, I'm sure we can make something work. What happens when you set Pluto's core API for persistent plots is based on JavaScript (see @Pangoraw what do you think? This is easy with PlutoHooks.jl but then |
@SimonDanisch Where can we read more about SpecApi ? |
Yeah so all the diffing and updating happens in julia and is then send via JSServe to the WGLMakie plot directly...
There are some docs in the docs preview of the PR: |
I talked with Simon today, it looks more promising again! Useful API from Pluto:
SpecApi has a declarative user-facing API , and the implementation handles state and diffing on the Julia side. This is tricky beacuse our API listed above was designed for state and diffing on the JS side with stateless Julia (to support multiple people viewing the same notebook simultaneously and PlutoSliderServer.jl). For Julia-based state, |
Great that this is moving along!! Would be amazing to have both, without needing to redo the One question (maybe only for my understanding and your plan is already a completly otherone): is the |
Hi Bene! The script id is not useful for that, it's used to distinguish between multiple You could use |
Any update on this one? I'm stumbling over it time and time again. Happy to help / facilitate in any way (time, programming, financial) Also linking the maybe related #2895 |
Hey Bene! Simon and I had a call some time ago, for now our next steps are:
After this we will meet again 🧁☕️ |
Makie is getting a declarative API in MakieOrg/Makie.jl#3113, which should work much better with the way Pluto creates animations.
From Makie's side everything is there to make for a nice integration, but it's still an open question how to hook it up with Pluto.
To render the following efficiently:
I need something like this in pseydo code:
In other words, I need to be able to display my plot only one time, and after that only update an Makie "internal" object with the new values of that cell.
Is this possible in any way?
The text was updated successfully, but these errors were encountered: