Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is iOS support still planned / possible? #62

Open
acnebs opened this issue May 17, 2023 · 1 comment
Open

Is iOS support still planned / possible? #62

acnebs opened this issue May 17, 2023 · 1 comment

Comments

@acnebs
Copy link

acnebs commented May 17, 2023

Hi, thanks for the library – the performance is great. However, I'm trying to find a library I can use to replace our existing graph visualizer react-force-graph and I've noticed that iOS support currently seems broken (the force algo seems to just result in all nodes being clustered in a big soup at the center of the graph). I saw the webkit issue, which seemed to clarify that the lack of support was not a bug and that RGBA16F would need to be used due to lack of EXT_float_blend extension.

I've never really worked with WebGL so after looking at the cosmos code-base I have no idea how possible this is. I have already forked the library to make some usability changes just for myself to better understand how we'd use it, but would definitely like to know if iOS support is a tractable problem. Thanks again for your work on this library!

@rokotyan
Copy link
Member

@acnebs As of now we can't do much about it. We rely on the EXT_float_blend WebGL extension in our algorithm and there's no way to make it work without blending.

We'll revisit the problem again when the next iOS version becomes available. Additionally, we hope that WebGPU will allow us to overcome that limitation in the future. However it's only supported by Chrome as of now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants