nannou-org / nannou

A Creative Coding Framework for Rust.
https://nannou.cc/
6.05k stars 306 forks source link

Works on desktop browsers but not mobile browsers #907

Open steezeburger opened 1 year ago

steezeburger commented 1 year ago

EPILEPSY WARNING!!! There is a link to the site that is experiencing the issue in the repo posted below. It is a generative art project and it is hundreds of squares changing colors constantly. It is VERY hectic.

I have an issue with a generative art project I'm working on that is deployed as a wasm app. https://github.com/steezeburger/siqnastee-nannou-web It works fine on desktop browsers, but I cannot get it to work on mobile browsers.

It doesn't work on phones, but it does work on my iPad and on the iPhone simulator on my laptop. Maybe the simulator uses a different rendering engine?

I have usb-debugged my phone and I get a Uncaught (in promise) RuntimeError: unreachable error.

I have also tried all three Limits. Only the downlevel_webgl2_defaults works for the desktop browser, but none of them work for mobile browsers.

Does anyone know what could possibly be the issue? Or does anyone have any tips for how I could further debug this issue?