Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Display node attribute on mouse event in WebGl #27

Closed
qdelettre opened this issue Mar 16, 2013 · 1 comment
Closed

Display node attribute on mouse event in WebGl #27

qdelettre opened this issue Mar 16, 2013 · 1 comment

Comments

@qdelettre
Copy link

Hi,

I am trying to understand the library and webgl. I would like to display node text attributes on mouse over event, in webgl.

The use case would be that : user put the mouse cursor on a node, the text attribute of a node appear over it. The text disappear as the cursor is no longer on the node.

How can i have access to the canvas and its context ?
Can i use the fillText function to draw the text ?

Thanks

@anvaka
Copy link
Owner

anvaka commented Jan 17, 2015

You can find webgl input handling demo here

@anvaka anvaka closed this as completed Jan 17, 2015
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

No branches or pull requests

2 participants