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

missing the 3D wavefield example #46

Open
ghost opened this issue Nov 26, 2022 · 1 comment
Open

missing the 3D wavefield example #46

ghost opened this issue Nov 26, 2022 · 1 comment

Comments

@ghost
Copy link

ghost commented Nov 26, 2022

Hello Cyril,

I want to do an animated 3D xyz plot, on datoviz website homepage the wavelike 3D thing above the scatter plot looks promising, could you add it as an example or provide me with anscient material that I could take myself out of bitrot :)

Thanks, kudo for datoviz, looks terrific.

@rossant
Copy link
Contributor

rossant commented Dec 4, 2022

You'll find some bits here:

https://github.com/datoviz/prototypes/blob/main/currently-broken/surface.py
https://github.com/datoviz/datoviz/blob/main/src/mesh.c#L308
https://github.com/datoviz/datoviz/blob/main/src/mesh.c#L209

The idea is to generate a regular triangulation of a 2D grid, with the height z of each vertex depending on x, y, and display this as a regular mesh.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant