[Jprogramming] an interesting plot toy

'Pascal Jasmin' via Programming programming at jsoftware.com
Sat Apr 18 16:46:43 UTC 2015


by looking at 
1 d 1
2 d 1
4 d 1
...

the name I would give this shape is "rounded integer coordinate square with x the precision number".


----- Original Message -----
From: Raul Miller <rauldmiller at gmail.com>
To: Programming forum <programming at jsoftware.com>
Cc: 
Sent: Saturday, April 18, 2015 11:35 AM
Subject: Re: [Jprogramming] an interesting plot toy

On Sat, Apr 18, 2015 at 11:10 AM, 'Pascal Jasmin' via Programming
<programming at jsoftware.com> wrote:
> points =: 1 : '((4*m)|[+{:@]) ,~ (2&{.)@] + (3 : ''|:(,:y|.])(,-)}:y-|i: y'' m) {~ (4*m)|[+{:@]'
...
> d =: 4 : 'plot  ;/ |: 2{."1  x points/\. 0,~  |. ($~x*#) y'
> is there a name for this shape?
>
> 90 d 1

That looks to me like a parabola of the sort that you would get
through curve stitching (though with one axis scaled).


Thanks,

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


More information about the Programming mailing list