Conversation
|
It would be useful to add crosshairs to multiple graphics in a subplot, in this case it can use the bbox of a graphic as the reference space that it lives in. This is particularly useful when adding multiple images to a subplot in a grid. |
|
I think I have some better ideas on this after playing with using a scatter dot.
# w_source, h_source and width and height of source graphic bbox
# w_target, h_target are width and height of target graphic bbox
A = np.array([
[w_target / w_source, 0],
[0, h_target / h_source],
])
u = [source_x, source_y]
target_pos = A @ uAllowing an arbitrary non-linear transform could also be useful for some visualizations, so allow setting an arbitrary function as a transform. If the Cursor has a permanent set parent graphic, an inverse transform could also be useful and settable!
|
|
@hmaarrfk, thought you might be interested too, outline of what I'm going to implement is above |
|
interesting work! |
|
superseeded by #662 |
Make it possible to easily use the cursor to point at the same positions w.r.t. world space across subplots
Idea: when added to a subplot, a new world object is created and added to that subplot. All the world objects across the various subplots use the same buffer.
WIP