hypertiling Logo

Get Hypertiling

  • Installation
  • Source
  • Changelog

Examples

  • Quickstart
  • Refinements
  • Hyperanimator
  • Geodesics
  • Logo
  • Static Rotational Graph (SRG) kernel
  • Generative Reflection (GR) kernel

Modules

  • HyperPolygon
  • Hyperbolic Tiling
  • Kernels
  • Transformations
  • Geodesic
  • Neighbours
  • Misc.
hypertiling
  • Logo
  • View page source

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]);
../_images/examples_logo_4_0.png
Previous Next

© Copyright 2022, The Hypertiling project.

Built with Sphinx using a theme provided by Read the Docs.