rafael-fuente/diffractsim
✨🔬 A flexible diffraction simulator for exploring and visualizing physical optics. observed · 2026-08-28
Health v2 · maintenance only
65/100
- Activity 94
- Release rhythm 8
- Longevity 100
Flags: no_license
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 2079
- days_rel: n/a
- days_push: 40
- n_releases_24m: 0
Adoption not part of the score
1065 stars · 143 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A flexible Python library for simulating and visualizing diffraction and physical optics phenomena using scalar diffraction techniques like the angular spectrum method. It supports arbitrary apertures, lenses, phase holograms, GPU acceleration, and differentiable propagation via a JAX backend.
Use cases
- simulate diffraction patterns from arbitrary apertures
- visualize polychromatic light propagation with accurate color
- generate and reconstruct phase holograms
- model lens and grating optical setups
- optimize optical designs with differentiable simulation
- teach physical optics with animated simulations
When to choose
- you need an easy-to-use Python tool for wave optics and diffraction simulations
- you want accurate CIE color reproduction for polychromatic patterns
- you need GPU-accelerated or differentiable light propagation for design tasks
When to avoid
- you need full vector or electromagnetic (non-scalar) optics modeling
- you require incoherent light simulation, which is not yet implemented
- you need a commercial-grade optical design suite like Zemax
Facets
library · maturity active
simulation image-processing data-visualization machine-learning simulation education graphics python cross-platform optics diffraction wave-optics angular-spectrum-method holography jax physics-simulation scientific-computing physics gpu
2 sources
- readme: https://github.com/rafael-fuente/diffractsim · fetched 2026-08-28 · 48ae050317b9
- homepage: https://rafael-fuente.github.io/simulating-diffraction-patterns-with-the-angular-spectrum-method-and-python.html · fetched 2026-08-29 · fb438f5a2019
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| rafael-fuente/diffractsim | main | 65 |
For agents
markdown · JSON · MCP: product_card(name="rafael-fuente/diffractsim")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem