d3-brush
d3-brush copied to clipboard
Brush Wrapping
Is there any way to get a brush to wrap from one side to the other? When the brush is dragged to the edge, I want to see the potion that would normally leave the extent, re-appear on the other side. I though I might be lucky by using the modulus operator and modifying the following example: https://observablehq.com/@d3/brush-snapping
Would the implementation I describe require that more than one brush be used and coordinated together?
For reference, I am attempting to use the brush to create a looped animation. Any examples of where I might find something this? Any help or information is appreciated.