Interface And Diffraction Pattern Simulation Apl