# Simple Harmonic Motion (SHM)

**URL:** <https://forum.makecode.com/t/simple-harmonic-motion-shm/15183>\
**Category:** Game Design\
**Tags:** graphics-and-math\
**Created:** [September 1, 2022, 8:26pm UTC](https://forum.makecode.com/t/simple-harmonic-motion-shm/15183 "2022-09-01T20:26:01Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![NxNMatrixGL](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/nxnmatrixgl/32/2553_2.png) [@NxNMatrixGL](https://forum.makecode.com/u/NxNMatrixGL)\
**Post date:** [September 1, 2022, 8:26pm UTC](https://forum.makecode.com/t/simple-harmonic-motion-shm/15183/1 "2022-09-01T20:26:01Z")

</div>

> **[Simple Harmonic Motion (SHM)](https://arcade.makecode.com/58913-27030-75612-73206)**
>
> Made with ❤️ in Microsoft MakeCode Arcade.

Add some variety to your sprites movement using simple harmonic motion.

Copy and paste any of this code for use in your projects.
