Animated Texture Scroll
Scroll a checker texture across a cylinder by animating UV offsets.
What this code does
- CanvasTexture checkerboard with RepeatWrapping shows motion clearly.
- Animate texture.offset.x/y each frame for seamless scrolling.
- GUI toggles wrap mode and controls U/V speeds.
JavaScript (plain)
// Create a checker texture and scroll its UV offset over time