SkillAgentSearch skills...

Diffraction

Real-time Optical Diffraction Simulation by use of Angular Spectrum Method

Install / Use

/learn @AngularSpectrumMTD/Diffraction
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

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

siggraph

DiffractionTest1

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

all

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

Paper : Band-Limited Angular Spectrum Method for Numerical Simulation of Free-Space Propagation in Far and Near Fields

Paper : Fast calculation method for optical diffraction on tilted planes by use of the angular spectrum of plane waves

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

View on GitHub
GitHub Stars8
CategoryProduct
Updated10mo ago
Forks1

Languages

C

Security Score

62/100

Audited on May 8, 2025

No findings