Description Usage Arguments Value Examples
Plotting cube in 3D
1 | plot3dCube(cube, sides = "both", rotate = "O")
|
cube |
- cube object |
sides |
- string parameter determining which side of cube should be plotted, correct values are: top, bottom, and both (default). |
rotate |
- string defaulting initial rotating of cube. Correct are strings containing characters: o, O, p, P. Default is 'O' |
plot
1 2 3 4 5 | cube <- createCube()
plot3dCube(cube) # generates plot of solved cube
# 'checkerboard' pattern
require(magrittr)
cube %>% twistCube("(LLFFRRBB) x3") %>% plot3dCube()
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.