flag-cloth

Browser support

Required platform features and graceful behavior.

flag-cloth targets evergreen browsers with WebGL2, typed arrays, Pointer Events, ResizeObserver, and requestAnimationFrame.

Touch interaction uses Pointer Events and sets pointer capture during a drag. Visibility pausing uses document.visibilityState; viewport pausing uses IntersectionObserver when enabled.

Applications should provide a static image fallback when WebGL2 is unavailable. Server-rendered frameworks must create the instance on the client because the renderer uses DOM and WebGL APIs.