This is a simple implementation of computer vision camera model. I write a blog detailing the math behind, please take a look Features: Add vertices(point)/lines in 3D world frame Move camera in 6-DOF space Change camera focus length Demo: