# Sine Wave Simulation

**URL:** <https://forum.makecode.com/t/sine-wave-simulation/42533>\
**Category:** Show & Tell\
**Tags:** game, graphics-and-math\
**Created:** [March 6, 2026, 5:43pm UTC](https://forum.makecode.com/t/sine-wave-simulation/42533 "2026-03-06T17:43:42Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![aaa](https://avatars.discourse-cdn.com/v4/letter/a/ea666f/32.png) [@aaa](https://forum.makecode.com/u/aaa)\
**Post date:** [March 6, 2026, 5:43pm UTC](https://forum.makecode.com/t/sine-wave-simulation/42533/1 "2026-03-06T17:43:42Z")

</div>

> **[Sine Waves](https://arcade.makecode.com/S06186-08828-10106-83780)**
>
> Made with ❤️ in Microsoft MakeCode Arcade.

This arcade project simulates how SINE waves work.

**Two sine waves** — white and blue, both scrolling continuously with phase shift illusion.

**Circle visualizer** — rotating point on the left showing that sin is just the y component of rotation, with a line connecting it to where the wave starts.

**Interference** — where the two waves cross or get close, it flashes cyan showing constructive interference.

**Slider** — vertical yellow line at x=100 showing the current amplitude value of wave 1 at that point.

**Controls:**

- A = increase wave 1 frequency

- B = decrease wave 1 frequency

- Up = increase amplitude

- Down = decrease amplitude

- Left = decrease wave 2 frequency

- Right = increase wave 2 frequency

**Smooth transitions** — all changes lerp smoothly instead of jumping.

**Negative frequencies** — both waves can go negative making them scroll backwards.
