Skip to content

mrbeas-lab/wave-visualizations

Repository files navigation

Wave Visualizations

Work in Progress

Overview

This project offers a growing collection of interactive visualizations to explore the principles of wave mechanics and interference. It is designed to support teaching, self-study, and experimentation by providing clear, intuitive simulations backed by physical insights.

Included Visualizations

An animated visualization that demonstrates how the phase of a traveling wave depends on both position and time. It shows how different points along the wave oscillate with the same frequency but varying phase, and includes a circular motion analogy for better intuition.

Key concepts illustrated:

  • Phase = function of position and time
  • Sinusoidal wave behavior
  • Connection to uniform circular motion

An interactive simulation inspired by the classic double-slit experiment. It shows two coherent sources emitting waves toward a screen, producing an interference pattern based on path differences.

Adjustable parameters:

  • Wall distance (distance to detection screen)
  • Separation between holes (slit spacing)
  • Wave amplitude
  • Wave frequency

Key concepts illustrated:

  • Constructive and destructive interference
  • Real-time formation of interference patterns
  • Relationship between wave properties and spatial distribution

An interactive visualization demonstrating wave interference from two coherent sources. This simulation allows you to adjust parameters like wavelength, source distance, phase shift, and amplitude ratio to explore their effects on resulting wave patterns.

Adjustable parameters:

  • Wavelength of the waves
  • Distance between sources
  • Phase shift between sources
  • Amplitude ratio of the sources
  • Distance attenuation

Key concepts illustrated:

  • Superposition principle in wave mechanics
  • Variation of wave patterns based on source configurations
  • Concepts of wave amplitude and phase

Features

  • 🎛️ Interactive Controls – Modify physical parameters and immediately observe their effect on wave patterns.
  • 📈 Graphical Output – Real-time rendering of wave behavior, including amplitudes and interference outcomes.
  • 📚 Educational Descriptions – In-page explanations support conceptual understanding of each phenomenon.

Getting Started

To view the visualizations online, visit:

👉 https://salva.github.io/wave-visualizations/index.html

Ensure you use a modern browser with JavaScript enabled (Chrome, Firefox, Edge, Safari, etc.).

Contributing

Contributions are welcome! You can:

  • Report bugs
  • Suggest improvements
  • Submit new simulations or refinements via pull requests

Copyright and license

Copyright © 2025 Salvador Fandiño (sfandino@yahoo.com)

This project is licensed under the GNU General Public License (GPL). See the LICENSE file for full terms.

About

Some diagrams showing waves

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors