weasel API - v0.8.0
    Preparing search index...

    Function cycleVertexColors

    • Register a function override that phase-rotates the base color array along the path index. Returns a handle whose cancel() removes the override.

      The override computes its value purely from performance.now(), so there's no per-frame progress to register with the animator's tick loop. To keep the loop alive (so <SceneCanvas animator>'s onTick subscription continues firing redraws while the cycle is installed), cycleVertexColors holds an animator.keepAlive() entry for the lifetime of the cycle; cancel() releases it.

      Parameters

      Returns CycleHandle