diff --git a/NEWS.md b/NEWS.md index 58b65ab5..52e649c5 100644 --- a/NEWS.md +++ b/NEWS.md @@ -7,7 +7,7 @@ **Minor changes** - Artwork of the day is now created with `set.seed(Sys.Date())` instead of `set.seed(Sys.time())`. -- Removed unnessecary `ggpubr` from the Imports field in `DESCRIPTION` for CRAN submission. +- Removed unnecessary `ggpubr` from the Imports field in `DESCRIPTION` for CRAN submission. - Fixed a memory leak in `canvas_ant()`. # aRtsy 0.1.0 diff --git a/R/canvas_planet.R b/R/canvas_planet.R index 9ab5cde9..bfcfef95 100644 --- a/R/canvas_planet.R +++ b/R/canvas_planet.R @@ -9,7 +9,7 @@ #' #' @param colors a character specifying the colors used for a single planet. Can also be a list where each entry is a vector of colors for a planet. #' @param threshold a character specifying the threshold for a color take. -#' @param starprob a value specyfing the probability of drawing a star in outer space. +#' @param starprob a value specifying the probability of drawing a star in outer space. #' @param fade a value specifying the amount of fading to apply. #' @param iterations a positive integer specifying the number of iterations of the algorithm. #' @param radius a numeric (vector) specifying the radius of the planet(s). diff --git a/R/canvas_segments.R b/R/canvas_segments.R index e0fa0c49..cfcda2b4 100644 --- a/R/canvas_segments.R +++ b/R/canvas_segments.R @@ -8,7 +8,7 @@ #' @param colors a string or character vector specifying the color(s) used for the artwork. #' @param background a character specifying the color used for the background. #' @param n a positive integer specifying the number of line segments to draw. -#' @param p a value specifying the probability of drawing a vectical line segment. +#' @param p a value specifying the probability of drawing a vertical line segment. #' @param H a positive value specifying the scaling factor for the line segments. #' @param size a positive value specifying the size of the line segments. #' diff --git a/README.md b/README.md index 1c2304ad..bc547f6c 100644 --- a/README.md +++ b/README.md @@ -128,7 +128,7 @@ canvas_collatz(colors = '#000000', background = '#fafafa', n = 200, #### Turmite -According to [wikipedia](https://en.wikipedia.org/wiki/Turmite), a turmite is *"a Turing machine which has an orientation in addition to a current state and a "tape" that consists of an infinite two-dimensional grid of cells"*. The classic algorithm consists of repeating the three simple steps shown below. However, the algorithm in `aRtsy` is slightly modified so that the turmite does not go off the canvas, but instead bounces back onto the canvas. +According to [Wikipedia](https://en.wikipedia.org/wiki/Turmite), a turmite is *"a Turing machine which has an orientation in addition to a current state and a "tape" that consists of an infinite two-dimensional grid of cells"*. The classic algorithm consists of repeating the three simple steps shown below. However, the algorithm in `aRtsy` is slightly modified so that the turmite does not go off the canvas, but instead bounces back onto the canvas. 1. Turn on the spot (left, right, up, or down), 2. Change the color of the block, @@ -150,7 +150,7 @@ canvas_turmite(colors = '#000000', background = '#fafafa', p = 0.5, #### Langton's ant -According to [wikipedia](https://en.wikipedia.org/wiki/Langtons_ant), Langton's ant is a turmite with a very specific set of rules. In particular, the algorithm involves repeating the three rules shown below. Beware, the problem (or blessing) of Langton's ant is that it always moves off the canvas... +According to [Wikipedia](https://en.wikipedia.org/wiki/Langtons_ant), Langton's ant is a turmite with a very specific set of rules. In particular, the algorithm involves repeating the three rules shown below. Beware, the problem (or blessing) of Langton's ant is that it always moves off the canvas... 1. On a non-colored block: turn 90 degrees clockwise, un-color the block, move forward one block. 1. On a colored block: turn 90 degrees counter-clockwise, color the block, move forward one block. @@ -366,7 +366,7 @@ canvas_forest(colors = c('dodgerblue', 'forestgreen', 'firebrick', 'goldenrod'), #### Gemstones -Returning to the previously mentioned k-nearest neighbors algorithm, this artwork uses a continuous response variable instread of a categorical one. The resulting pattern can sometimes resemble a gemstone. +Returning to the previously mentioned k-nearest neighbors algorithm, this artwork uses a continuous response variable instead of a categorical one. The resulting pattern can sometimes resemble a gemstone.

@@ -384,7 +384,7 @@ You can use the `canvas_gemstone()` function to make your own artwork using this #### Nebula -Based on the very same principle as described in the artwork above is this next type of artwork. Howerever, it produces slightly different pictures as it uses different code to create a form of k-nearest neighbors noise. Some of these artworks can resemble nebulas in outer space. +Based on the very same principle as described in the artwork above is this next type of artwork. However, it produces slightly different pictures as it uses different code to create a form of k-nearest neighbors noise. Some of these artworks can resemble nebulas in outer space.

@@ -438,7 +438,7 @@ canvas_mandelbrot(colors = c('forestgreen', 'firebrick', 'goldenrod', 'navyblue' #### Circle maps -This type of artwork is based on the concept of an [Arnold tongue](https://en.wikipedia.org/wiki/Arnold_tongue). According to wikipedia, Arnold tongues *"are a pictorial phenomenon that occur when visualizing how the rotation number of a dynamical system, or other related invariant property thereof, changes according to two or more of its parameters"*. +This type of artwork is based on the concept of an [Arnold tongue](https://en.wikipedia.org/wiki/Arnold_tongue). According to Wikipedia, Arnold tongues *"are a pictorial phenomenon that occur when visualizing how the rotation number of a dynamical system, or other related invariant property thereof, changes according to two or more of its parameters"*.

diff --git a/man/canvas_planet.Rd b/man/canvas_planet.Rd index 430d381d..3ce3221e 100644 --- a/man/canvas_planet.Rd +++ b/man/canvas_planet.Rd @@ -16,7 +16,7 @@ canvas_planet(colors, threshold = 4, iterations = 200, \item{iterations}{a positive integer specifying the number of iterations of the algorithm.} -\item{starprob}{a value specyfing the probability of drawing a star in outer space.} +\item{starprob}{a value specifying the probability of drawing a star in outer space.} \item{fade}{a value specifying the amount of fading to apply.} diff --git a/man/canvas_segments.Rd b/man/canvas_segments.Rd index 23b94e03..637bc439 100644 --- a/man/canvas_segments.Rd +++ b/man/canvas_segments.Rd @@ -14,7 +14,7 @@ canvas_segments(colors, background = '#fafafa', n = 100, \item{n}{a positive integer specifying the number of line segments to draw.} -\item{p}{a value specifying the probability of drawing a vectical line segment.} +\item{p}{a value specifying the probability of drawing a vertical line segment.} \item{H}{a positive value specifying the scaling factor for the line segments.} diff --git a/man/manual/aRtsy_0.1.1.pdf b/man/manual/aRtsy_0.1.1.pdf index 35fd36aa..0d030fa8 100644 Binary files a/man/manual/aRtsy_0.1.1.pdf and b/man/manual/aRtsy_0.1.1.pdf differ