Skip to content

Commit

Permalink
Remove spelling errors
Browse files Browse the repository at this point in the history
  • Loading branch information
koenderks committed Sep 1, 2021
1 parent 431ea9b commit 21f8247
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion R/canvas_planet.R
Original file line number Diff line number Diff line change
Expand Up @@ -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).
Expand Down
2 changes: 1 addition & 1 deletion R/canvas_segments.R
Original file line number Diff line number Diff line change
Expand Up @@ -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.
#'
Expand Down
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -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.
Expand Down Expand Up @@ -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.

<p align="center">
<img src='https://github.com/koenderks/aRtsy/raw/development/png/gemstones/2021-08-20.png' width='270' height='270'>
Expand All @@ -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.

<p align="center">
<img src='https://github.com/koenderks/aRtsy/raw/development/png/nebulas/2021-08-29.png' width='270' height='270'>
Expand Down Expand Up @@ -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"*.

<p align="center">
<img src='https://github.com/koenderks/aRtsy/raw/development/png/circlemaps/2021-04-22b.png' width='270' height='270'>
Expand Down
2 changes: 1 addition & 1 deletion man/canvas_planet.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/canvas_segments.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file modified man/manual/aRtsy_0.1.1.pdf
Binary file not shown.

0 comments on commit 21f8247

Please sign in to comment.