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

Reply via email to