# Single moving pixel across a 2d map?

**URL:** <https://forum.electromage.com/t/single-moving-pixel-across-a-2d-map/1324>\
**Category:** Patterns and Code\
**Created:** [June 22, 2021, 2:30am UTC](https://forum.electromage.com/t/single-moving-pixel-across-a-2d-map/1324 "2021-06-22T02:30:14Z")\
**Posts on this page:** 1\
**Showing post:** 14

<div class="post-metadata">

**Author:** ![Scruffynerf](https://forum.electromage.com/letter_avatar_proxy/v4/letter/s/34f0e0/32.png) [@Scruffynerf](https://forum.electromage.com/u/Scruffynerf)\
**Post date:** [July 4, 2021, 5:09am UTC](https://forum.electromage.com/t/single-moving-pixel-across-a-2d-map/1324/14 "2021-07-04T05:09:31Z")

</div>

> [@sorceror](#):
>
> But no, it’s off by 1/4!

Yes, @wizard confirmed that in the discussion on easing functions. It’s off from what you’d expect.

> [@Easing Library - v1 - posted into pattern library!](https://forum.electromage.com/t/easing-library-v1-posted-into-pattern-library/1257/9):
>
> The `wave()` function starts mid way, heading up (uses sin). If you want to start at zero (the peak of the negative curve of a sine wave), you can offset it by -0.25.

---

_[View the full topic](https://forum.electromage.com/t/single-moving-pixel-across-a-2d-map/1324)._
