Replacement for WebGL for Sololearn? | Sololearn: Learn to code for FREE!

+6

Replacement for WebGL for Sololearn?

I can't seem to use WebGL of the canvas tag in Sololearn. Does anyone know of a replacement 3D rendering library that would work here?

9/3/2017 10:46:53 PM

Gavin Christians

8 Answers

New Answer

+12

@Gavin it is your device, i meant... your OS version! You can't update your WebView (WV) and that's why codes like this one won't work in applications that use WV but surely they will work on most of the browsers here (android >= 5.0)... i have KitKat too. https://developer.chrome.com/multidevice/webview/overview

+12

Probably you just can't use it with your Os version, it won't work on old devices... Three.js is a good one, never used it but just look at some projects and you'll understand what i mean. ;) Open this in your browser if you have an old device: https://code.sololearn.com/WI60fLj2ARjh/?ref=app

+5

Thanks @Maz, I found that this code works perfectly when I use the Chrome app but not through Sololearn. So now I know that it can't be my device, because it works in Chrome. I have a Samsung S4 mini with android KitKat. I know of threejs too and saw their examples, it's really cool. ☺

+5

I am trying to learn to use webgl, through few online sources, I was going through GLSL language for GPU, but it was not clear, I m not getting relevant resources for GLSL for webgl, but only getting for openGL , Please share a good link for learning GLSL for latest webGL

+4

What Android OS version do you have @Melih?

+4

That's why it's working for you Melih, but it won't work for those with KitKat.

+3

I can use with my mobile which is samsung too; there is a problem with your sololearn version please update

+3

android 6.0.1