Description Usage Arguments Details Author(s) See Also Examples
This function generates the html template of the Elithorn Maze in an R object.
1 2 3 | mazeObject(rank = 3, satPercent = 0.5, seed = 1, grid = NULL,
background = "#7abcff", boxBackground = "#66CDAA", fontColour = "white",
Timer = TRUE, concerto = "C5")
|
rank |
This is the Rank of the maze. |
satPercent |
The saturation of the number of black dots created for a given grid. Range between 0-1. |
seed |
To make sure that the randomness of the created black dots is captured and not repeated. |
grid |
is the grid of the maze |
background |
The background colour of the page. |
boxBackground |
The background colour of the box. |
fontColour |
The font colour of the instructions. |
Timer |
If True, a time limit of 4 mintues is given per question. |
concerto |
The code varies between concerto version "C4" and "C5". |
This function creates a plot with the maze blueprint into your working directory. A grid object needs to be called out first before runing the maze function. The grid object needs to be the same as the rank given.
Aiden Loe
1 2 3 4 5 6 7 8 9 10 | rank <- 3
satPercent <- 0.5
#Grid must be same as rank
grid <- gridThreeUp
#Generate item
mazeObject(rank,satPercent,seed=5,grid = grid,
background="#7abcff",boxBackground="#66CDAA", fontColour="white ",
Timer=TRUE, concerto="C5")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.