christygarreau / DataVisualization

0 stars 0 forks source link

Find out how to display data after cursor over certain spot. #3

Open christygarreau opened 5 years ago

agreyson commented 5 years ago

One approach would be to test if mouseX and mouseY are close to the "hotspot" in draw (using the dist method: https://processing.org/reference/dist_.html), and display the data corresponding to that hotspot if so.

agreyson commented 5 years ago

One approach would be to test if mouseX and mouseY are close to the "hotspot" in draw (using the dist method: https://processing.org/reference/dist_.html), and display the data corresponding to that hotspot if so.

On Thu, May 23, 2019 at 11:12 AM christygarreau notifications@github.com wrote:

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/christygarreau/DataVisualization/issues/3?email_source=notifications&email_token=ABIBI2WMEHXP4KNXNZZGW3LPW3M7TA5CNFSM4HPJBGQ2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4GVQ6AEQ, or mute the thread https://github.com/notifications/unsubscribe-auth/ABIBI2V5GVOK5CCB4XT5LVLPW3M7TANCNFSM4HPJBGQQ .

-- Ann Greyson Computer Science & Engineering Department Chair Middle School STEM Coordinator Castilleja School 1310 Bryant Street Palo Alto, CA 94301 650.470.7816

WOMEN LEARNING I WOMEN LEADING