hypertiling Logo

Get hypertiling

  • Installation
  • Source
  • Changelog

Examples

  • Quickstart
  • Edge Reflections
  • Dynamic Lattice Manipulation
  • Refinements
  • Geodesics
  • Hyperanimator
  • Logo
  • Operators and Matrices

Kernels

  • Static Rotational Graph (SRG) kernel
  • Generative Reflection (GR) kernel
  • Graph Kernels
  • Improved Dunham
  • Legacy Dunham

API Reference

  • Codemap
  • Main Interface
  • Distance Metrics
  • HyperPolygon
  • Geodesics
  • Neighbours
  • Transformations
  • Arithmetics
  • Representations
  • Graphics
  • Operators
  • Abstract Base Classes
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-2024, The HYPERTILING project.

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