From 21f82472132e6105ca754c5199ac323dba6b0192 Mon Sep 17 00:00:00 2001 From: Koen Derks Date: Wed, 1 Sep 2021 13:34:19 +0200 Subject: [PATCH] Remove spelling errors --- NEWS.md | 2 +- R/canvas_planet.R | 2 +- R/canvas_segments.R | 2 +- README.md | 10 +++++----- man/canvas_planet.Rd | 2 +- man/canvas_segments.Rd | 2 +- man/manual/aRtsy_0.1.1.pdf | Bin 193207 -> 193199 bytes 7 files changed, 10 insertions(+), 10 deletions(-) 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/aR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