widgetti / ipyvolume

3d plotting for Python in the Jupyter notebook based on IPython widgets using WebGL
MIT License
1.92k stars 233 forks source link

hacking in text annotations? #58

Open tachim opened 6 years ago

tachim commented 6 years ago

Hey, I'd like to hack in support for rendering text annotations at a subset of the points in a quiver plot. Do you have any suggestions for how to go about this? I haven't seen anything remotely promising given the lack of support for custom glyphs etc.

maartenbreddels commented 6 years ago

Hi Tudor,

sounds like a good idea, you can check how text is being done here: https://github.com/maartenbreddels/ipyvolume/blob/master/js/src/figure.js Look for everything related to THREEtext2d. What did you have in mind, I see two options:

Regards,

Maarten

Cerebrock commented 4 years ago

@tachim were you able to make it work?