Skip to content
python
import torchlensmaker as tlm

sphere = tlm.Sphere(10, -15)

optics = tlm.Sequential(
    tlm.RefractiveSurface(sphere, anchors=("origin", "extent"), material="air"),
    tlm.RefractiveSurface(sphere, scale=-1, anchors=("extent", "origin"), material="air")
)

tlm.show2d(optics)