typesupply / lasermeasure

A laser measure tool.
MIT License
9 stars 1 forks source link

Auto segment matching highlights. #14

Closed typesupply closed 2 years ago

typesupply commented 2 years ago

Idea: instead of needing to mouse over a segment to see its matches, automatically highlight all matches. For example (quickly sketched in Illustrator):

image

Thoughts:

Anyway, I don't think this will be expensive to compute. I just need to rework the segment comparison code to generate segment objects that implement __eq__. Then I can use them as keys to a dict.