produce coordinates of a random "quadrilateral" in 64 x 64 plane

ranquad(npts = 50, side_plane = 64)

Arguments

npts

numeric(1) passed to `maketri`

side_plane

numeric(1) length of square side for rendering surface

Examples

set.seed(2345)
plot(0,0,type="n", xlim=c(1,64), ylim=c(1,64))
for (i in seq_len(30)) { lines(ranquad()) }