I was surprised to find that neither Fractals Visualizations and J nor
rosettacode.org currently has an implementation of hilbert curves.

(I was also bemused to note that the google books entry for the
Fractals book falsely claims that there's no ebook for it.)

However, the forums do have some hilbert curve implementations. For
example, 3d hilbert curves (see links at
http://www.jsoftware.com/pipermail/programming/2007-March/005626.html)
and also http://www.jsoftware.com/pipermail/general/2004-September/018092.html
or perhaps http://www.jsoftware.com/pipermail/general/2004-September/018068.html

But you'll need to change y. to y in some of the definitions, there,
to get them to work. (Or I guess you can use 9!:49).

-- 
Raul




Raul

On Thu, Aug 13, 2015 at 10:15 AM, PMA <[email protected]> wrote:
> 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