Skip to content

Use voxels to support 3d implicit plots#58

Draft
TendTo wants to merge 1 commit into
Davide-sd:masterfrom
TendTo:feat/voxel
Draft

Use voxels to support 3d implicit plots#58
TendTo wants to merge 1 commit into
Davide-sd:masterfrom
TendTo:feat/voxel

Conversation

@TendTo
Copy link
Copy Markdown

@TendTo TendTo commented Jun 2, 2026

I have just found your gem of a library, and I was impressed by the work you have done.

When I was trying to plot the intersection of some 3 dimensional constrains,I noticed that the plot3d_implicit has some additional limitations when compared to the 2d version, in the fact that it plots $f(x, y, z) = 0$, which in my case would not suffice.
For this reason, I experimented a bit with the backed to add naive support for arbitrary functions using the voxels function from k3d.
The results are exactly what I was looking for, although I'm not sure they live up to the requirements you have set for your library.
I made this draft pr just to show you a working implementation of what I have done. Obviously you wold want to make quite a few changes if you were to implement it properly (e.g., Implicit3DSeriesVoxel should probably not inherit from Implicit3DSeries, if it is needed at all, and some stuff I just copied without understanding all the ramifications).

Thank you for your work!

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

Successfully merging this pull request may close these issues.

1 participant