Skip to content

fluid-sim embed: slow/glitchy when iframed on nimbleco-site (Cloudflare Pages) #1

Description

@juniperbevensee

The ASCII fluid sim at embeds/fluid-sim.html runs noticeably slow + glitchy embedded as the hero iframe on https://nimbleco-site.pages.dev (reported by Juniper 2026-07-24). Not a hosting issue — the embed is served from GitHub Pages either way; it's sim CPU cost at full container resolution inside a busy page.

Candidate fixes: cap FPS; scale grid resolution to container size / devicePixelRatio; pause via IntersectionObserver when offscreen; accept a ?quality= param the embedding page can set.

🤖 Generated with Claude Code

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions