Flappy 3D

three.js • fetch textures
Space / Tap flap
P pause

Enter the skyway

This is a single-file demo with a lightweight “login gate”. We store a token in localStorage. Textures are loaded via fetch() (data-URIs by default; you can swap in real URLs).

Textures: loading…

Tip: If you want “real sources”, set TEXTURE_SOURCES in the script to your own hosted images (same-origin) or a CORS-enabled CDN URL.

Fetch-based textures

We fetch image bytes → create a blob URL → feed it to Three.js TextureLoader.

Production-ish structure

Game loop, collision, pause, resize, and scroll-safe UI overlays.

Accessible controls

Keyboard + pointer. Canvas is focusable. UI has semantic regions.

Not logged in