http://rosettacode.org/wiki/OpenGL_Pixel_Shader has an example of using opengl from javascript.
FYI, -- Raul On Mon, Sep 16, 2013 at 11:58 AM, Brian Schott <[email protected]> wrote: > Eric (et al), > > Thanks for responding; apologies are unnecessary. Bjorn's link gave me > adequate guidance for creating a standalone app, and clarified how JHS can > be launched from a unix console (terminal). > > Now I think you have added a way to include the jquery min scripts in HBS. > I gather from your comments regarding these scripts, if I can wait a short > while, it will not be necessary to add these scripts because they will be > part of the JHS system. > > Unfortunately, I have now completed the book that inspired my looking into > this project and realize that in may be difficult to use J alone to > generate 3d for canvas's 2d. For that purpose the book mentions the need to > use webgl, which I gather is a descendent of opengl, which I have some > experience using from within J. I gather that webgl is not (yet?) widely > available on standard and mobile browsers, though. Is that the impression > of others? If so, is initiating such a project premature? > > > > > On Mon, Sep 16, 2013 at 10:49 AM, Eric Iverson > <[email protected]>wrote: > >> Apologies for taking so long to get back to you on your questions. >> >> To provide an app, JHS needs to have the script that implements the >> app loaded. This is done fro you automatically when you run studio >> demos. The other part of running an app is to load the page in your >> browser. This can be done by entering the URL and for something you'll >> do often you'll want to bookmark that URL. >> >> Following is a sketch of what to do to run jdemo2 as an app called rollem: >> >> 1. copy the demo/jdemo2.ijs script to your app folder as rollem.ijs >> 2. edit rollem.ijs coclass to be rollem instead of jdemo2 >> 3. start JHS and load the rollem.ijs script (you can automate this) >> 4. browse to page localhost:65001/rollem >> 5. bookmark that page to make it easier to run that app >> >> *** >> Look at the ~addons/ide/jhs/jijs.ijs script to see how it adds lines >> to include the codemirror javascript code. Add your jquery script load >> to the front of HBS definition in your app to make the jquery routines >> avaiable. >> >> With luck a JHS release the end of this week or early next week will >> include the jquery min scripts and an example of how they work. This >> will make it a bit easier to use jquery, but you can also roll your >> own right now. >> >> > -- > (B=) > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
