This utility is intended for use with the regl library. It allows you to easily setup a camera and its associated properties in a regl context in order to then draw things "from this camera". It is spiritually similar to regl-camera but supports more types of cameras.
stevekane/from-camera
Regl library for easily drawing from several kinds of cameras with nice defaults and options
JavaScript