On Thu, Apr 1, 2010 at 3:56 PM, Tracy Harms <[email protected]> wrote:
> Perhaps something like this?
>
>   ( , 7-]) |: 0, 1 2 4 +"_1 _ i.3
> 0 1 2 4
...

That does not look right, to me, for the set of points I had defined.
Can you define a set of points where this works?

For example:
   0 1 2 4 { _1+2*#:i.8
_1 _1 _1
_1 _1  1
_1  1 _1
 1 _1 _1

That looks like the edges at one
corner of the cube, but does not
look like the surface of a cube.

As an aside, I did not transcribe my own code properly.
I should have used 1 A."1

   1 A."1 I. (, 1 - |.) 8&$...@#&0 1">4 2 1
4 5 7 6
2 3 7 6
1 3 7 5
0 2 6 4
0 1 5 4
0 1 3 2

And, for example:
   0 1 3 2 { _1+2*#:i.8
_1 _1 _1
_1 _1  1
_1  1  1
_1  1 _1

I think that that looks like the corners
of a surface of a cube.

Your approach has promise, I just can not
see how to make it produce the surfaces
I need.

Thanks,

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

Reply via email to