Non-Euclidean space!

,

I’m mostly trying to figure out if I can, without several scripts, bind a viewport frame to display a camera view, like this:

I mainly just need to figure out if it’s possible to simplify the many scripts used here