Andrew's code is a neat demonstration of boxed display.  It would be a bit 
tricker though still possible to do.  Playing with the individual box draw 
characters.

(2 2$<@])^:2 < (24 22 16 18   { a.) {~ 2 2 $ 0 1 3 2

(18 16  22 24 { a.) {~  (, |."1) ( ,. ])^:2 i. 2 2



----- Original Message -----
From: PMA <[email protected]>
To: [email protected]
Cc: Andrew Nikitin <[email protected]>
Sent: Thursday, August 13, 2015 10:15 AM
Subject: Re: [Jprogramming] ascii art

Got a Hilbert curve?


Andrew Nikitin wrote:
> quad tree:
>
> (2 2$<@])^:4 i.0 0
>
> Sierpinki square:
>
> (<@[ (<1;1)} 3 3$<@])^:3~ i.0 0

----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to