View source: R/FlowFieldBackgrounds.R
next_y | R Documentation |
generates the next points to be used to finish each line segment in the image
next_y(y1, numPoints, noise, x1, maxLength, curliness)
y1 |
the starting y value |
noise |
the perlin noise matrix generated by the create() function |
x1 |
the x value associated with the starting y 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.