holoviz / holoviz/datashader

Consider providing utilities for generating projected 3D plots and animations

Open
#746 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
Python
Stars
3.6k
Forks
376
Avg merge
4h 32m
Merged PRs (30d)
1

Description

[This rather neat tweet](https://twitter.com/apage43/status/1124179252541136897) demonstrates an approach of using a 3D rotation matrix to project 3D points onto a 2D plane to aggregate with datashader. This approach is promising in that it doesn't require rendering an entire volumetric stack and directly produces a visible image, which can also be stitched together into an animation.

The library that was used to achieve the 3D -> 2D projection is [Pyrr](https://github.com/adamlwgriffiths/Pyrr). It may be nice to either wrap or reproduce some of the functionality in Pyrr to make this easier.

There are considerable differences with this approach compared to volumetric rendering, which we should definitely consider and think about. Unlike volumetric rendering datashader will ensure that all datapoints are adequately aggregated so that nothing is obscured. If we wanted to make it more like a volumetric rendering we could also play with implementing ``1/r^2`` distance weighted sum aggregation.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.