Skip to content
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

WGLMakie exportable and interactable Axis3 #3664

Open
hammy4815 opened this issue Feb 29, 2024 · 1 comment
Open

WGLMakie exportable and interactable Axis3 #3664

hammy4815 opened this issue Feb 29, 2024 · 1 comment
Labels
enhancement Feature requests and enhancements WGLMakie This relates to WGLMakie.jl, the Web-based WebGL backend for Makie.

Comments

@hammy4815
Copy link

hammy4815 commented Feb 29, 2024

Hi,

I noticed when filling an Axis3 using WGLMakie with data, I can serve the html and interact with it while the Julia server is running. However, when I export the html statically (using Page(exportable=true, offline=true) or just filling a DOM.div() object with my figure), and serve it, the Axis3 object is not interactable.

I can partially solve the problem by wrapping a custom camera around the object:

fig = Figure()
ax = fig[1,1] = Axis3(...)
Camera3D(ax.scene)

However, this only allows me to interact with the data being plotted (zoom in and rotate) while keeping the axis itself (ticks, labels, etc.) fixed.

I'm also unsure if I should instead file this issue to Bonito.jl.

Thanks

@hammy4815 hammy4815 added the enhancement Feature requests and enhancements label Feb 29, 2024
@SimonDanisch
Copy link
Member

Yeah, this is a big TODO on the WGLMakie roadmap: #2977.
It will take quite some time to rewrite the Axis3 in JS.

@t-bltg t-bltg added the WGLMakie This relates to WGLMakie.jl, the Web-based WebGL backend for Makie. label Mar 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Feature requests and enhancements WGLMakie This relates to WGLMakie.jl, the Web-based WebGL backend for Makie.
Projects
None yet
Development

No branches or pull requests

3 participants