File:TurtleStar.png

From J Wiki
Jump to navigation Jump to search

TurtleStar.png(479 × 478 pixels, file size: 22 KB, MIME type: image/png)

Summary

F=: {{ (}:m),(_2{.m)+/ .*1 0,:n,1 }} NB. forward
L=: {{ (}:m),({:m)**^j.n*1r180p1  }} NB. left
R=: {{ (}:m),({:m)**^j.n*_1r180p1 }} NB. right

require'plot'
plot}:{{ y F 9 R 144 }}^:5(0 1)

File history

Click on a date/time to view the file as it appeared at that time.

Date/TimeThumbnailDimensionsUserComment
current15:42, 21 July 2022Thumbnail for version as of 15:42, 21 July 2022479 × 478 (22 KB)Raul Miller (talk | contribs)F=: {{ (}:m),(_2{.m)+/ .*1 0,:n,1 }} NB. forward L=: {{ (}:m),({:m)**^j.n*1r180p1 }} NB. left R=: {{ (}:m),({:m)**^j.n*_1r180p1 }} NB. right require'plot' plot}:{{ y F 9 R 144 }}^:5(0 1)

The following page uses this file:

Metadata