How to draw a line to the nearest intersection?

Summary

This text will be hidden

Снимок экрана 2023-05-04 144627

Look into the Raybounce nodes in the Data-shapes package