michael wrote: ↑
Tue 06 Oct 2020, 02:51
I looked at this and I am amazed.
The reactions I have had to seascape.bbc
running in the browser have been puzzling. There's nothing in the least surprising (let alone amazing) about it: it's a shader demo (one of those supplied as examples with BBCSDL for the last couple of years) and since browsers run WebGL they are no less capable of running shader programs than any other platform with a GPU.
The only reason it took me a little while to get them running was that the BBCSDL shader demos use the OpenGL / OpenGLES 1.1 Fixed Function Pipeline (because it was convenient to do so, and it's something I'm familiar with) and since WebGL emulates OpenGLES 2.0, which doesn't support the FFP, I had to rewrite them not to use it. The absence of the Fixed Function Pipeline is also why there are no 3D demos.
Perhaps a talk with google to preserve it into the future is in order. Or maybe Firefox or some other browser.
Huh? What it needs to preserve it is for somebody to take over responsibility for BBCSDL after I no longer can, which will be quite soon. Nobody has yet come forward.
It couldn't hurt to also contact the CEO of apple
Ha ha. Sadly Apple forbid programming languages in the App Store, as you know.
The in-browser edition has long been the 'missing link' in the cross-platform BBC BASIC for SDL 2.0
family, and it's fortunate that the necessary functionality has appeared in mainstream (desktop) browsers just in time for me to implement it before my health declines too much. It took quite a lot of effort to get the kinks out so it would actually run, but that's as much my inexperience (and difficulties resulting from my cognitive decline) than anything else.