tiling {gyro} | R Documentation |
Hyperbolic tiling
Description
Draw a hyperbolic tiling of the Poincaré disk.
Usage
tiling(n, p, depth = 4, colors = c("navy", "yellow"), circle = TRUE, ...)
Arguments
n , p |
two positive integers satisfying |
depth |
positive integer, the number of recursions |
colors |
two colors to fill the hyperbolic tiling |
circle |
Boolean, whether to draw the unit circle |
... |
additional arguments passed to |
Value
No returned value, just draws the hyperbolic tiling.
Note
The higher value of n
, the slower. And of course
increasing depth
slows down the rendering. The value of p
has no influence on the speed.
Examples
library(gyro)
tiling(3, 7, border = "orange")
[Package gyro version 1.4.0 Index]