Replacement for WebGL for Sololearn? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 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?

3rd Sep 2017, 10:46 PM
Ghauth Christians
Ghauth Christians - avatar
8 Answers
+ 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
3rd Sep 2017, 11:31 PM
Maz
Maz - avatar
+ 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
3rd Sep 2017, 10:56 PM
Maz
Maz - avatar
+ 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. ☺
3rd Sep 2017, 11:06 PM
Ghauth Christians
Ghauth Christians - avatar
+ 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
4th Jan 2018, 7:49 AM
Morpheus
Morpheus - avatar
+ 4
What Android OS version do you have @Melih?
4th Sep 2017, 5:35 AM
Ghauth Christians
Ghauth Christians - avatar
+ 4
That's why it's working for you Melih, but it won't work for those with KitKat.
4th Sep 2017, 10:34 AM
Ghauth Christians
Ghauth Christians - avatar
+ 3
I can use with my mobile which is samsung too; there is a problem with your sololearn version please update
4th Sep 2017, 5:02 AM
Melih Melik Sonmez
Melih Melik Sonmez - avatar
+ 3
android 6.0.1
4th Sep 2017, 10:32 AM
Melih Melik Sonmez
Melih Melik Sonmez - avatar