Rainbow animation, one color at a time

How would I produce a rainbow animation where the entire strip is the same color, but still animates through the entire hue spectrum?

How about this:

export function beforeRender(delta) {
  t1 = time(.1)
}

export function render(index) {
  h = t1
  s = 1
  v = 1
  hsv(h, s, v)
}
2 Likes

Thanks, that worked great