Showing telescope FOV using JS API


I’m experimenting with the embedded hosted version (WWT WebGL Engine Reference Manual).

I’m trying to restrict the camera zoom / FOV or draw an overlay showing FOV, to simulate the view of a telescope / camera combination. Similar to this function: Showing fields of view — pywwt 0.15.2 documentation

Does any one know the best approach using the JS API to do this?