Title: | Generation of Different Animated Christmas Cards |
---|---|
Description: | Generation of different Christmas cards, most of them being animated. Most of the cards can be generated in three languages (English, Catalan and Spanish). The collection started in 2009. |
Authors: | Jose Barrera-Gomez [aut, cre] |
Maintainer: | Jose Barrera-Gomez <[email protected]> |
License: | GPL-2 |
Version: | 1.4.0 |
Built: | 2025-01-09 07:29:33 UTC |
Source: | CRAN |
A Catalan 'caganer' (2009 card). Caganer is a figurine depicted in the act of defecation appearing in nativity scenes in Catalonia and neighbouring areas with Catalan culture such as Andorra, Valencia, and Northern Catalonia (in southern France). It is most popular and widespread in these areas, but can also be found in other areas of Spain (Murcia), Portugal, and southern Italy (Naples). Further details can be found at https://en.wikipedia.org/wiki/Caganer. This caganer won the annual contest of sustainable caganers at CREAL (now ISGlobal, https://www.isglobal.org/en/) in 2009.
xmascaganer( year = 2010, language = c("english", "spanish", "catalan"), seed = NULL )
xmascaganer( year = 2010, language = c("english", "spanish", "catalan"), seed = NULL )
year |
Year to be printed. Default is |
language |
Language to be used in the card. One of |
seed |
Seed for reproducibility of the card. Default is |
A Christmas card plot with a caganer.
Jose Barrera-Gomez.
xmascaganer()
xmascaganer()
A statistical/epidemiological Christmas tree (2016 card). This tree is built using a random subset of statistical and epidemiological words.
xmasepitree(year = 2017, seed = NULL)
xmasepitree(year = 2017, seed = NULL)
year |
Year to be printed. Default is |
seed |
Seed for reproducibility of the card. Default is |
A Christmas card plot including a tree made of nice words.
Jose Barrera-Gomez.
xmasepitree()
xmasepitree()
Christmas flag (2015 card). A flag with a Christmas message.
xmasflag( year = 2016, language = c("english", "spanish", "catalan"), seed = NULL )
xmasflag( year = 2016, language = c("english", "spanish", "catalan"), seed = NULL )
year |
Year to be printed. Default is |
language |
Language to be used in the card. One of |
seed |
Seed for reproducibility of the card. Default is |
A Christmas card plot including a message in a flag.
Jose Barrera-Gomez.
xmasflag(year = 2020, language = "catalan")
xmasflag(year = 2020, language = "catalan")
The tree fractal structure was adapted from (https://blogs.sas.com/content/iml/2012/12/14/a-fractal-christmas-tree.html). A preliminary translation to R was written by Alejandra Cabana (UAB).
xmasfractaltree(year = 2025, language = c("english", "spanish", "catalan"))
xmasfractaltree(year = 2025, language = c("english", "spanish", "catalan"))
year |
Year to be printed. Default is |
language |
Language to be used in the card. One of |
A Christmas card plot including a fractal Christmas tree.
Jose Barrera-Gomez.
xmasfractaltree()
xmasfractaltree()
Christmas Galton card (2018). A Christmas tree in the Galton
board. This is an adaptation of quincunx()
in package
animation
, which simulates the Galton board
(https://en.wikipedia.org/wiki/Bean_machine).
xmasgalton( year = 2019, language = c("english", "spanish", "catalan"), balls = 240, layers = 15, onlyBoard = FALSE, treeballs = 15, time = 0.02, seed = NULL )
xmasgalton( year = 2019, language = c("english", "spanish", "catalan"), balls = 240, layers = 15, onlyBoard = FALSE, treeballs = 15, time = 0.02, seed = NULL )
year |
Year to be printed. Default is |
language |
Language to be used in the card. One of |
balls |
The number of balls in the board. Default is 240. |
layers |
The number of layers in the board. Default is 15. |
onlyBoard |
Logical. If |
treeballs |
The number of balls to be added to the Christmas normal tree. Default is 15. |
time |
Elapsed time, in seconds, between two consecutive balls in the board. Default is 0.02. |
seed |
Seed for reproducibility of the card. Default is |
A Christmas tree in a Galton board.
Jose Barrera-Gomez.
# more balls, less layers: xmasgalton(balls = 300, layers = 9, time = 0.01) # no balls in the gaussian christmas tree: xmasgalton(balls = 400, layers = 11, time = 0.005, treeballs = 0)
# more balls, less layers: xmasgalton(balls = 300, layers = 9, time = 0.01) # no balls in the gaussian christmas tree: xmasgalton(balls = 400, layers = 11, time = 0.005, treeballs = 0)
Christmas risks (2011 card). Some epidemiological jokes about potential effects of Christmas on health.
xmashealth(year = 2012, seed = NULL)
xmashealth(year = 2012, seed = NULL)
year |
Year to be printed. Default is |
seed |
Seed for reproducibility of the card. Default is |
A Christmas card plot including boxplots and OR estimates.
Jose Barrera-Gomez.
xmashealth()
xmashealth()
Christmas helix (2023 card). A helix with a Christmas message.
xmashelix( year = 2024, language = c("english", "spanish", "catalan"), totalsecs = NULL, seed = NULL )
xmashelix( year = 2024, language = c("english", "spanish", "catalan"), totalsecs = NULL, seed = NULL )
year |
Year to be printed. Default is |
language |
Language to be used in the card. One of |
totalsecs |
Approximate total time, in seconds, to create the card.
Default is |
seed |
Seed for reproducibility of the card. Default is |
A Christmas card plot including a message in a helix.
Jose Barrera-Gomez.
xmashelix(year = 2024, language = "catalan", totalsecs = 1)
xmashelix(year = 2024, language = "catalan", totalsecs = 1)
Christmas card using a neon sign (2013 card). It only works for wishing 2014.
xmasneon( language = c("english", "spanish", "catalan"), nflash = 30, pause = 0.1, seed = NULL )
xmasneon( language = c("english", "spanish", "catalan"), nflash = 30, pause = 0.1, seed = NULL )
language |
Language to be used in the card. One of |
nflash |
Number of flashes shown in the neon sign. Default is 30. |
pause |
Pause, in seconds, between two consecutive flashes shown in the neon sign. Default is 0.1. |
seed |
Seed for reproducibility of the card. Default is |
A Christmas card plot including a message and then a simulations of a neon sign.
Jose Barrera-Gomez.
xmasneon() xmasneon(language = "catalan", nflash = 10, pause = 0.05) xmasneon(nflash = 100, pause = 0.01)
xmasneon() xmasneon(language = "catalan", nflash = 10, pause = 0.05) xmasneon(nflash = 100, pause = 0.01)
Approximation to Picasso's pigeon (2022 card).
xmaspicasso( year = 2023, language = c("english", "spanish", "catalan"), seed = NULL )
xmaspicasso( year = 2023, language = c("english", "spanish", "catalan"), seed = NULL )
year |
Year to be printed. Default is |
language |
Language to be used in the card. One of |
seed |
Seed for reproducibility of the card. Default is |
A Christmas card plot including an approximation to Picasso's pigeon.
Jose Barrera-Gomez.
xmaspicasso() xmaspicasso(year = 2023, language = "catalan")
xmaspicasso() xmaspicasso(year = 2023, language = "catalan")
A plot of the Christmas regression model (2019 card).
xmasregression( year = 2020, language = c("english", "spanish", "catalan"), time = 4, seed = NULL )
xmasregression( year = 2020, language = c("english", "spanish", "catalan"), time = 4, seed = NULL )
year |
Year to be printed. Default is |
language |
Language to be used in the card. One of |
time |
Total time, in seconds, for the card generation. Default is 12. |
seed |
Seed for reproducibility of the card. Default is |
An illustration of the Christmas regression model.
Jose Barrera-Gomez.
xmasregression() xmasregression(year = 2021, language = "catalan", time = 2)
xmasregression() xmasregression(year = 2021, language = "catalan", time = 2)
Koch snowflakes (2012 card). Koch snowflakes (https://en.wikipedia.org/wiki/Koch_snowflake) are used to print the Christmas message in three languages (English, Catalan and Spanish).
xmassnowkoch(year = 2013, seed = NULL)
xmassnowkoch(year = 2013, seed = NULL)
year |
Year to be printed. Default is |
seed |
Seed for reproducibility of the card. Default is |
A Christmas card plot including Koch snowflakes.
Jose Barrera-Gomez.
xmassnowkoch()
xmassnowkoch()
Christmas snowman (2014 card).
xmassnowman( year = 2015, language = c("english", "spanish", "catalan"), seed = NULL )
xmassnowman( year = 2015, language = c("english", "spanish", "catalan"), seed = NULL )
year |
Year to be printed. Default is |
language |
Language to be used in the card. One of |
seed |
Seed for reproducibility of the card. Default is |
A Christmas card plot including a snowman.
Jose Barrera-Gomez.
xmassnowman(year = 2015, language = "catalan")
xmassnowman(year = 2015, language = "catalan")
A random repetition of a message (2010 card). Random allocation of repetitions of the Christmas message.
xmastext( year = 2011, language = c("english", "spanish", "catalan"), seed = NULL )
xmastext( year = 2011, language = c("english", "spanish", "catalan"), seed = NULL )
year |
Year to be printed. Default is |
language |
Language to be used in the card. One of |
seed |
Seed for reproducibility of the card. Default is |
A Christmas card plot including the repetition of the same message randomly allocated.
Jose Barrera-Gomez.
xmastext(year = 2011, language = "spanish", seed = 666)
xmastext(year = 2011, language = "spanish", seed = 666)
A random naive Christmas tree (2008 card).
xmastree( year = 2009, language = c("english", "spanish", "catalan"), seed = NULL )
xmastree( year = 2009, language = c("english", "spanish", "catalan"), seed = NULL )
year |
Year to be printed. Default is |
language |
Language to be used in the card. One of |
seed |
Seed for reproducibility of the card. Default is |
A Christmas card plot including a random tree.
Jose Barrera-Gomez.
xmastree(year = 2020, language = "catalan", seed = 666)
xmastree(year = 2020, language = "catalan", seed = 666)
Christmas trees (2017 card) with different shapes.
xmastreeshape( year = 2018, language = c("english", "spanish", "catalan"), shape = c("piramidal", "oval", "vshaped", "round", "columnar"), nballs = 15, ballscolor = NULL, seed = NULL )
xmastreeshape( year = 2018, language = c("english", "spanish", "catalan"), shape = c("piramidal", "oval", "vshaped", "round", "columnar"), nballs = 15, ballscolor = NULL, seed = NULL )
year |
Year to be printed. Default is |
language |
Language to be used in the card. One of |
shape |
The shape of the tree. One of |
nballs |
The number of balls in the tree. Default is 15. |
ballscolor |
The colors to be used for the balls in the tree. It must be
a vector with names of colors included in |
seed |
Seed for reproducibility of the card. Default is |
A Christmas card plot including a christmas tree.
Jose Barrera-Gomez.
xmastreeshape(shape = "oval", language = "catalan", ballscolor = "blue") xmastreeshape(shape = "vshaped", nballs = 15, ballscolor = c("sienna2", "yellow2", "tomato"), seed = 1111) xmastreeshape(shape = "columnar", nballs = 20, ballscolor = "red")
xmastreeshape(shape = "oval", language = "catalan", ballscolor = "blue") xmastreeshape(shape = "vshaped", nballs = 15, ballscolor = c("sienna2", "yellow2", "tomato"), seed = 1111) xmastreeshape(shape = "columnar", nballs = 20, ballscolor = "red")
A random wire Christmas tree (2021 card).
xmastreewire( year = 2022, language = c("english", "spanish", "catalan"), seed = NULL )
xmastreewire( year = 2022, language = c("english", "spanish", "catalan"), seed = NULL )
year |
Year to be printed. Default is |
language |
Language to be used in the card. One of |
seed |
Seed for reproducibility of the card. Default is |
A Christmas card plot including a random wire tree.
Jose Barrera-Gomez.
xmastreewire(year = 2020, language = "catalan", seed = 666)
xmastreewire(year = 2020, language = "catalan", seed = 666)