homotopy-io / homotopy-webclient

https://homotopy.io
26 stars 5 forks source link

Tooltips for 3d diagrams #91

Open jamievicary opened 5 years ago

jamievicary commented 5 years ago

At present the 3d diagrams are completely non-interactive. Eventually we want to be able to click on 3d diagrams to attach, and click-and-drag to apply homotopies, just as with 3d diagrams.

A first step would be to display popup tooltips as the mouse moves over the diagram, indicating the entity being pointed to, and its coordinate in the diagram. I expect this could be done with the THREE.js Raycaster: