Logo
[1]:
from hypertiling import HyperbolicTiling
from hypertiling.graphics.plot import plot_tiling
import matplotlib.cm as cmap
import numpy as np
[2]:
T = HyperbolicTiling(7, 3, 3)
[3]:
cT = np.zeros(len(T))
for i,t in enumerate(T):
val = np.real(T.get_center(i))-np.imag(T.get_center(i))
cT[i] = np.sign(val)*(np.abs(val))**1.4
[4]:
plot_tiling(T, cT, cmap=cmap.RdYlGn, edgecolor="w", lw=5, clim=[-1,1]);
[ ]: