Diffraction
Real-time Optical Diffraction Simulation by use of Angular Spectrum Method
Install / Use
/learn @AngularSpectrumMTD/DiffractionREADME
Diffraction
Real-time Optical Diffraction Simulation by use of Angular Spectrum Method
If there is an image named input.png in the “image” folder, diffraction is performed with it as the aperture.
Diffracted with SIGGRAPH icon
Standard Diffraction
<img src="https://github.com/user-attachments/assets/05864698-9223-4ba3-9f79-438fa55e4566" width="50%">Rotational Transform(Diffraction on Tilted Planes)
<img src="https://github.com/user-attachments/assets/b189046b-8460-4e11-a837-33815d1e7e34" width="50%">Bi-Convex/Bi-Concave Lens Effect(Located at Source Plane's Origin)
<img src="https://github.com/user-attachments/assets/911dbc26-532c-420e-bd42-8e4f63fcf64e" width="50%">Results
Definition of coordinate system
<img src="https://github.com/AngularSpectrumMTD/Diffraction/assets/65929274/3d690174-c7ba-43cb-9ccb-bd2ab466b13b" width="50%">Algorithm
Band-Limited Angular Spectrum
Action
- SPACE : determine other button meaning (+ / -)
- A : increase / decrease polygon angle
- R : increase / decrease aperture radius
- P : increase / decrease propagation distance
- X/Y/Z : increase / decrease rotation angle around XYZ axis
- L : enable / disable lens effect
- C : convex / concave lens
- F : increase / decrease focal length of lens
- D : increase / decrease pitch width of propagation distance
Related Skills
next
A beautifully designed, floating Pomodoro timer that respects your workspace.
product-manager-skills
26PM skill for Claude Code, Codex, Cursor, and Windsurf: diagnose SaaS metrics, critique PRDs, plan roadmaps, run discovery, and coach PM career transitions.
devplan-mcp-server
3MCP server for generating development plans, project roadmaps, and task breakdowns for Claude Code. Turn project ideas into paint-by-numbers implementation plans.
