Learn R Programming

mathart (version 0.0.0.9000)

segment_noise: Segment noise

Description

Adds noise to a collection of line segments

Usage

segment_noise(segments, eps, N, nframes)

Arguments

eps

aximum endpoint perturbation as a percentage of edge length

N

Number of edge replications

nframes

Number of tween iterations

segmments

A data frame with segment endpoint coordinates x, y, xend and yend

Examples

Run this code
# NOT RUN {
segment_noise()
# }

Run the code above in your browser using DataLab