Got it.
EigenPicture is cool. Does it get the xy-coordinates of the mouse from
sysdata? Where is sysdata documented?
epd_g_mmove=: 3 : 0
'x y w h'=. 4 {. 0 ". sysdata
y=. h - y
rim=. unitvec (x,y) - -: w,h
end=. rim + MATRIX mp rim
j=. (MX,MY) + rim * X1,Y1
pts=. flipypos 2 4$(MX,MY), j, j, (MX,MY) + end * X1,Y1
glsel 'g'
glclear''
drawframe ''
glpen 2 1
drawpin LASTPTS
setcolor EIGENCOLOR
glpen 2 1
drawpin pts
drawpic''
glpaint ''
LASTPTS=: pts
)
On 01/10/2018 02:23 PM, Raul Miller wrote:
> I have installed all addons, and I am going to presume you have also.
>
> When I go to the jqt Help menu, I can select Studio > Showcase... and
> this offers the demos:
>
> cities
> coins
> deoptim
> eigenpictures
> events
> isigraph
> isigrid
> life
> minesweeper
> plot
> solitaire
> unicode simple
>
> And, then, each of these demos has its own menu with further depth.
>
> Some quick searching shows that the underlying implementation for this
> demos node in the jqt ui is addons/demos/wd/demos.ijs
>
> If you do not see that, where does what you see differ?
>
> Thanks,
>
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm