I updated viewmat addon for iOS. Please follow instructions in
Guides/iOS jwiki to install iospacman (again) and restart J.  I
tested dyad viewmat (your example) on iPhone 3gs (iOS 5) worked. 
It now uses the same viewmat as that on desktop, try,

viewmat i.256 256 
and 
viewmat (] +./ .*. |:) 3&#. inverse i.243

Пн, 24 ноя 2014, Brian Schott написал(а):
> 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

-- 
regards,
====================================================
GPG key 1024D/4434BAB3 2008-08-24
gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3
gpg --keyserver subkeys.pgp.net --armor --export 4434BAB3
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to