Skip to content

oEmanuelFirmino/Dynamic_Wave_Interference_Simulator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dynamic Wave Interference Simulator

A Python application to simulate, visualize, and analyze the interference of two waves. The simulator provides interactive plots and customizable parameters, making it ideal for educational purposes and wave analysis.


Features

  • Customizable Waves: Adjust frequency, amplitude, and phase for two waves.
  • Visual Interference: Generate constructive and destructive interference plots.
  • Interactive Simulation: Real-time adjustments with sliders for immediate feedback.
  • PDF Export: Save all generated wave plots as a single PDF file.
  • User-Friendly Interface: Built with Tkinter for easy navigation and usage.

Requirements

Make sure you have Python 3.x installed along with the following libraries:

  • numpy
  • matplotlib
  • tkinter

Install missing dependencies using pip:

pip install numpy matplotlib

How to Use

  1. Clone this repository or download the project files.

  2. Run the application:

    python simulator.py
  3. Explore the following modes:

    • Customizable Mode: Enter wave parameters manually and generate corresponding plots.
    • Real-Time Simulation Mode: Adjust wave properties dynamically using sliders and visualize the results instantly.
  4. Save generated plots as a PDF by clicking the Save All button.


How It Works

  • The simulator computes two sine waves using the given parameters (frequency, amplitude, and phase).
  • It displays the individual waves along with their constructive and destructive interference.
  • Real-time simulations allow immediate visualization of parameter changes.

About

Python app using NumPy, Matplotlib, and Tkinter to visualize wave interference. Customize frequencies, amplitudes, and phases for two waves, explore constructive and destructive interference, and save results as PDFs.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors