Words as links/buttons

13 views
Skip to first unread message

Andrew McPherson

unread,
May 3, 2016, 11:23:56 AM5/3/16
to WordCram
Howdy!


I'm relatively new to using Processing and I am trying to find a way that I can render a WordCram and have the words in it become clickable objects to perform specific actions.

While rendering the WordCram is it possible to have it generate a list of words with their associated coordinates or something similar?

 For example, if I have a seafood WordCram I want to be able to click on the word "shrimp" to generate a Google news RSS URL searching for "shrimp" so I can load that rss feed into an array and use it elsewhere in my sketch.

Thanks!

-Andy

Dan Bernier

unread,
May 3, 2016, 11:59:14 AM5/3/16
to Andrew McPherson, WordCram
Yeah, that's possible now. It's kind of backwards from the way you're asking it: whenever the mouse is clicked, you can get the word that's at that point.

Take a look in the examples, at tutorial > L_clickableWords.

--
You received this message because you are subscribed to the Google Groups "WordCram" group.
To unsubscribe from this group and stop receiving emails from it, send an email to wordcram+u...@googlegroups.com.
To post to this group, send email to word...@googlegroups.com.



--

Andrew McPherson

unread,
May 3, 2016, 3:32:23 PM5/3/16
to WordCram, andymc...@gmail.com
That works for me! Thank you!
Reply all
Reply to author
Forward
0 new messages