PLEASE ROTATE GENTLY and THERE IS A LAG of about 1-4 s
Wobbly 3D texture mapped stacked Hex Bin Histograms:
Can we do this in Observable with better resolution?
Each stack is texture map of Hex Bin geo-Histogram into a 3D rectangle, can we replace the texture map some sort of vector graphics??? I doubt but maybe someone knows how
If possible in Observable could we still have the tool-tip pop up in 3D?
Iām aware that your interested in the images being generated dynamically. Iām not sure how much of a drag on performance during loading that will be but rotation should be quite smooth.
That is trickier since the image itself really needs to have some level of transparency, in addition to the X3Dom object. Thatās easy enough to do on the Mathematica side with a command like
imageOut = SetAlphaChannel[imageIn, 0.4]
Using that, I made a first pass at your request by adding opacity to all the stacked hex images:
Technically, that satisfies your request but Iām guessing you want the ability to choose which map is displayed while dimming the others? That would be doable, but it would require a bit more work still. Weād obviously need two images for for each map - a transparent one and an opaque one. In addition, weād have to fiddle with the so-called z-index of each slice because I donāt believe that X3Dom automatically puts the opaque object on top - that is, transparent objects can sometimes still obscure objects behind.
Also, itās worth mentioning that weād probably not be able to do a smooth transition from opaque to transparent without a whole range of corresponding images. I doubt thatās a big deal, though.
I think thatās just a function of the level of opacity in the underlying image. Have another look now, I replaced the top two slices with images of higher opacity. I did just two so that you can easily see the difference.
Of course, there is a trade off here - more transparency implies less visibility.