Combine a group of elements for highlighting

17 views
Skip to first unread message

Murray

unread,
Jan 19, 2021, 2:33:47 AM1/19/21
to JSXGraph
Hello Alfred

In your Vol 2, December 16th, 2020 workshop you mentioned 

"Combined highlighting of objects seems to be impossible if triggered from board events"

I had a go at it without using board events (rather, native JS eventListeners), and making use of SVG's native <g> tag, as well as JSXGraph's in-built 'group' facility.


If you mouse over point D and drag it, I believe it does something like what is required. Mouse over on the other points and the lines almost work, but it's interfering with the normal highlighting. As this is a rough proof of concept, I didn't address that part.

Regards
Murray
Reply all
Reply to author
Forward
0 new messages