j/ios, like the old jhs, does not use viewmat addon but uses its own versiob of viewmat instead. I'll take a look if this can be changed to use png output similar to that used in current jhs.
plot already got a canvas output that drawd to html5 canvas, pls see plot jwiki page. On Nov 25, 2014 1:40 AM, "Brian Schott" <[email protected]> wrote: > A couple of us have been discussing using viewmat to make virtual "crayons" > for first graders in J with the following code. I am limited to using iPad > J, so there are at least 2 "issues" which so far limit the use of the > following code. > > GRB=:1 0 2{"1 (#:i.8){0 255 > > ]A=:>:i.8 > GRB viewmat A > > > > One issue is that viewmat does not seem to accept the GRB argument on iPad > viewmat. The only workaround I have so far is to just use `viewmat A`, > without the palette. > > The other issue is that the resulting graphic is very tiny and I don't know > how to alter its size. I have tried using a physical pinch with no success. > > While I am on the subject of iOS J, I wonder if anyone has used the html > (and javascript, if that is possible) to produce html5 canvas or webgl in > the "." window of the J app? > > Any ideas? > > Thanks, > > > -- > (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
