Animated Texture Scroll

Scroll a checker texture across a cylinder by animating UV offsets.

Key topics: three.js, textures, uv, offset, repeat, scrolling

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.

Continue Learning

JavaScript Implementation

ES6+
// Create a checker texture and scroll its UV offset over time