powered by
Draw a hyperbolic tiling of the Poincaré disk.
tiling(n, p, depth = 4, colors = c("navy", "yellow"), circle = TRUE, ...)
No returned value, just draws the hyperbolic tiling.
two positive integers satisfying 1/n + 1/p < 1/2
1/n + 1/p < 1/2
positive integer, the number of recursions
two colors to fill the hyperbolic tiling
Boolean, whether to draw the unit circle
additional arguments passed to draw.circle
draw.circle
library(gyro) tiling(3, 7, border = "orange")
Run the code above in your browser using DataLab