Latest / Science & hardware

Torch Lens Maker

victorpoughon.github.io · Package · Online

Python library for differentiable geometric optics in PyTorch

Visit victorpoughon.github.io ↗Source on GitHub ↗Share

  • optics
  • differentiable
  • differentiable optics
  • pytorch optics
  • lens design python
  • optical system optimization
  • geometric optics library
Found
20 months ago

Torch Lens Maker is an experimental open source Python library that models geometric optics in PyTorch, so optical systems can be optimized with autograd. It treats lens stacks like neural network layers, which suits researchers and engineers designing optical systems with gradient-based methods.

Positioned as an alternative to OpenSCAD.

Differentiable geometric optics in PyTorch

How victorpoughon.github.io describes itself

What it does

  • Differentiable geometric optics built on PyTorch
  • Optimizes optical system parameters with gradient-based optimizers
  • Builds systems from lenses, gaps, surfaces and image planes

Good for

  • Design a lens stack with gradient-based optimization
  • Model a beam passing through refractive surfaces in Python code

Suits: Researchers and engineers designing optical systems with gradient methods.

Worth knowing: Currently a very experimental project according to its documentation

What you can try

Open the documentation site in your browser.

Links go to third-party sites KipFound does not control. KipFound has not installed, audited or tested this software.

Found vs. released

Kip first saw Torch Lens Maker on , when fouronnes3 posted it to Show HN. There is no first-party release record KipFound is allowed to read for this product, so that listing is the earliest dated evidence on file. KipFound does not guess a release date.

Day-7 and day-30 updates

Day 7 still online

  • Product link responded normally (HTTP 200).
  • Show HN discussion at check time: 179 points, 45 comments. API record

Checked , later than day 7 because tracking began after.

Day 30 still online

  • Product link responded normally (HTTP 200).
  • Show HN discussion at check time: 179 points, 45 comments. API record

Checked , later than day 30 because tracking began after.

Release timeline every entry links to its source

  1. Found: fouronnes3 posted it to Show HN. Show HN
  2. Day-7 check recorded by Kip (details)
  3. Day-30 check recorded by Kip (details)

Quick answers

When was Torch Lens Maker released?
No dated release record is available. Kip found it on Show HN on 21 Mar 2025.
What does Torch Lens Maker run on?
Library.
Is Torch Lens Maker free?
It is open source, so the code is free to read and run; check the licence for terms.

Provenance

SourceRecordLast checked
Show HNlisting
official API record
Product link checkvictorpoughon.github.io

Stable ID hn-43435438. Summary drafted with AI from the source records above and checked against KipFound’s rules before publishing. Dates and release facts come only from those records.

Share

Similar tools

More in Science & hardware

Made this, or spotted a mistake? Ask for a correction or removal. No account or email address needed.