Making a Custom EmbeddedView

I am experimenting with making my own custom perspective modules. I am trying to make a version of the EmbeddedView that can pan and zoom. I have a module now that can pan and zoom on static content like images. All I want is to be able to have a path prop like the EmbeddedView to render a separate view with panning and zooming. I am open to any help and advice!