Interface And Diffraction Pattern Simulation