# Here's code for scrolling text across a matrix

**URL:** <https://forum.electromage.com/t/heres-code-for-scrolling-text-across-a-matrix/321>\
**Category:** Patterns and Code\
**Created:** [April 12, 2020, 11:46pm UTC](https://forum.electromage.com/t/heres-code-for-scrolling-text-across-a-matrix/321 "2020-04-12T23:46:37Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![zeb](https://forum.electromage.com/user_avatar/forum.electromage.com/zeb/32/257_2.png) [@zeb](https://forum.electromage.com/u/zeb)\
**Post date:** [May 9, 2020, 5:51pm UTC](https://forum.electromage.com/t/heres-code-for-scrolling-text-across-a-matrix/321/8 "2020-05-09T17:51:07Z")

</div>

I’ve been playing with my PixelBlaze and a couple of 8x8 matrices this afternoon. I was getting the same issue as @Kenzillla. For me, changing line 100 from this:

```
if (renderBuffer[row][col]) hsv(0.07, 0.5, 1) // warm white

```

to this:

```
if (renderBuffer[row][col])
  hsv(0.07, 0.5, 1) // warm white
else
  hsv(0, 0, 0)

```

Did the trick! Hope this helps.

---

_[View the full topic](https://forum.electromage.com/t/heres-code-for-scrolling-text-across-a-matrix/321)._
