Hmm....

I tried the webgl implementation from
https://rosettacode.org/wiki/WebGL_rotating_F#J and I got it to work,
once.

But, closing the webgl subwindow and then trying to run it again did
not work (instead, it eventually crashed my browser).

I don't know if that's a problem specific to my machine, or if it's a
playground issue or a browser issue or whatever else.

-- 
Raul

On Sun, Jan 15, 2023 at 7:01 AM Joe Bogner <joebog...@gmail.com> wrote:
>
> >
> >
> > One alternative here might be to create a webserver in J which webview
> > interacts with (perhaps a jhs variant, though possibly being run from
> > within jqt). This would involve significant overhead but it might
> > work...
>
>
> How about the J Playground? I took your code and it was copy/paste to make
> it run in the J Playground.
>
>
> https://jsoftware.github.io/j-playground/bin/html2/#url=https://gist.githubusercontent.com/joebo/6002c573f08b57c279c1203d7f5c4328/raw/038f37e626813cca56c15c8376edc705a9a3c8d1/jplayground%2520webgl
>
>
> It shows the console.log too
>
> You should be able to use the jdo1() from javascript to interact with J
> and (2!:0) from J to interact with javascript. See UI example in the
> playground
>
> If you go this route I'd like to add it back in as a J Playground example.
> I'm not familiar enough with webgl to make something interesting
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to