View source: R/FlowFieldBackgrounds.R
next_x | R Documentation |
generates the next points to be used to finish each line segment in the image
next_x(x1, numPoints, noise, y1, maxLength, curliness)
x1 |
the starting x value |
noise |
the perlin noise matrix generated by the create() function |
y1 |
the y value associated with the starting x value |
maxLength |
the largest possible length of a line segment |
curliness |
the multiplier to determine the angle to direct the line segment |
uses perlin noise and a multiplier to generate a segment's endpoint
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.