Is this a TSL bug?

I’m positioning these boids using an attributeArray. If I allocate just the right amount of data. BOIDS * 3, for a position vector. It misbehaves, try adjusting the delta slider.



If I add 1 additional vector (BOIDS+1)*3. All is fine. Does a buffer need padding?

Both cases you posted behave identically to me?

…and no a buffer shouldn’t need padding. It can be a bit confusing however since there is “count” which is number of points, and then the actual size of the Float32Array which is number of points * 3.

(not implying that you didn’t find a bug in TSL. It’s still very new…)

Ah, I’m on a MacBook Silicon. For me if I don’t use padding the 9th Boid appears randomly as I move the delta slider. Like this.