Interactive Sine Wave Visualizer

Interactive Sine Wave Visualizer

Interactive Sine Wave Visualizer

Wave 1 (Adjustable Frequency)
Wave 2 (Adjustable Frequency & Phase)
Sum (Wave 1 + Wave 2)
Difference (Wave 1 - Wave 2)
10.0 Hz
10.0 Hz
0°
Info

🎛️ Controls

  • Wave 1 Frequency: Adjust from 1.0 to 20.0 Hz
  • Wave 2 Frequency: Adjust from 1.0 to 20.0 Hz
  • Wave 2 Phase: Shift the phase from 0° to 360°

📊 What You Can Observe

  • Beat Patterns: When frequencies are close, you’ll see slow amplitude modulation in the sum wave
  • Constructive Interference: Waves align to create maximum amplitude
  • Destructive Interference: Waves cancel each other out
  • Harmonic Relationships: Integer frequency ratios create stable, repeating patterns
  • Complex Interference: Non-integer ratios produce evolving, complex patterns
  • Phase Effects: How shifting one wave affects the combined result

🎵 Interesting Combinations to Try

Beat Patterns:
• 10.0 Hz + 10.5 Hz = 0.5 Hz beats
• 8.0 Hz + 8.2 Hz = 0.2 Hz slow beats
Musical Harmonics:
• 10 Hz + 20 Hz = Perfect octave (2:1)
• 8 Hz + 12 Hz = Musical fifth (3:2)
• 9 Hz + 12 Hz = Perfect fourth (4:3)
Phase Experiments:
• 0° phase = Maximum constructive interference
• 180° phase = Maximum destructive interference
• 90° phase = Quadrature relationship
Complex Patterns:
• 7 Hz + 11 Hz = Non-harmonic interference
• 5 Hz + 15 Hz = 1:3 ratio creates triplet patterns
• 6 Hz + 10 Hz = 3:5 ratio for complex beating

🔬 Educational Applications

  • Physics: Wave interference, superposition principle, standing waves
  • Acoustics: Beat frequencies, musical intervals, sound wave interactions
  • Signal Processing: Frequency mixing, modulation effects, spectrum analysis
  • Mathematics: Trigonometric functions, periodic behavior, harmonic analysis

💡 Tips for Exploration

  • Start with identical frequencies and adjust phase to see interference effects
  • Gradually change one frequency to observe the transition from interference to beats
  • Try simple integer ratios (1:2, 2:3, 3:4) to see harmonic relationships
  • Observe how the difference wave shows beating more clearly than the sum
  • Use small frequency differences (0.1-0.5 Hz) to create slow, visible beats