Webgl implements callbacks for javascript events, but unless special
steps were taken that would not create an interface with the hosting J
environment.

-- 
Raul

On Thu, Jan 12, 2023 at 7:04 AM bill lam <bbill....@gmail.com> wrote:
>
> webview widget should support javascript and callback. But it has been too
> long since it has been implemented so that I forget everything about it.
>
>
> On Thu, Jan 12, 2023 at 6:55 PM Raul Miller <rauldmil...@gmail.com> wrote:
>
> > A related question here:
> >
> > Do we have some way of piping data from J into a webgl context?
> >
> > I threw together https://rosettacode.org/wiki/WebGL_rotating_F#J and
> > it seems odd that we have a nearly fully functional environment here,
> > but no code examples which would let J pipe data into that  sort of an
> > animation (nor extract data, such as a "texture" for that matter).
> >
> > Maybe I'm expecting too much?
> >
> > Thanks,
> >
> >
> > --
> > Raul
> >
> > On Thu, Jan 12, 2023 at 2:51 AM Raul Miller <rauldmil...@gmail.com> wrote:
> > >
> > > Oops... either remove the 'bind' keyword on the second line of that
> > > gist or assign the resulting verb a name so that it can be run...
> > >
> > > (I can't edit a gist without changing its url...)
> > >
> > > Thanks,
> > >
> > > --
> > > Raul
> > >
> > > On Thu, Jan 12, 2023 at 2:42 AM Raul Miller <rauldmil...@gmail.com>
> > wrote:
> > > >
> > > > https://gist.github.com/rdm/53fbfe2d34e2f8ef22db97b2fd8a8510
> > > >
> > > > J's webgl implementation under qt requires use of javascript.
> > > >
> > > > But, in this context, while we can see that it works, the console.log
> > > > mechanism which would normally be used to debug the javascript doesn't
> > > > seem to do anything.
> > > >
> > > > Is there a way of getting console.log here to act like a J echo?
> > > >
> > > > Thanks,
> > > >
> > > > --
> > > > Raul
> > ----------------------------------------------------------------------
> > For information about J forums see http://www.jsoftware.com/forums.htm
> >
> ----------------------------------------------------------------------
> 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