Skip to main content

☆ HyperTiler

HyperTiler makes creating patches of quasiperiodic tilings easy!

GitHub release

Documentation Status

DOI

[!NOTE] Documentation is stable, but unfinished!

🌟 Highlights

  • Create ANY dual-grid tiling defined by custom parameters.
  • Generate tilings using established substitution rules, or make your own!
  • Save tilings, tiling properties, and perform some basic spatial analysis.

ℹ️ Overview

My goal for HyperTiler was to create a friendly low/no-code tool that allows anyone to generate quasiperiodic tilings. It's aimed at tiling enthusiasts both inside and outside of academia: you can just use it to create nice patterns, or to create input files for theoretical simulation.

You can make tilings one of two ways: the dual-grid method, or by substitution rules. Both have an endless amount of flexibility, based on the input parameters.

🚀 Usage

Recommended: Read the docs: Documentation Status

Dual-grid mode

Dual-grid mode builds tilings using de Bruijn's method from two sets of vectors: tiling and grid. In default mode, you shape the tiling by adjusting the number of vectors, the number of grids (which sets the size of the tiling patch), and the grid shifts.

Advanced mode drops those defaults and lets you customise every vector individually - a far more powerful way to design fully custom tilings.

The dual grid window of HyperTiler in advanced mode, with a Penrose tiling example

Substitution mode

Substitution mode builds tilings with substitution rules that are supplied in the form of a structured svg file. Tilings can be initiated with a single tile, or a seed svg file with an initial design.

The example svgs folder contains some sample files, otherwise, see the HyperTiler guide on how to create your own svgs.

The substitution window of HyperTiler, with the octagonal m,n = 1 tiling

Analysis

HyperTiler comes with a couple of tools for the analysis of the generated tiling - independent of which mode created it.

It can numerically compute the fast Fourier transform of the tiling's point set, and identify every distinct vertex type (or star) present. For anyone wanting to simulate models on a tiling, a network builder also produces a connectivity network with nearest-neighbour, next-nearest, and higher-order shell information. alt text

alt text

⬇️ Installation

Pick whichever fits how you like to work. Every method below needs Python 3.12+ installed, except the no-code options.

No code

  1. Download the build for your platform:
  2. Unzip and run.

[!NOTE] The builds aren't signed, so on first launch Windows needs: More info → Run anyway and macOS needs: System Settings → > Privacy & Security → Open Anyway.

PyPI package

pip install hypertiler

Then launch it with (from that same environment - activate it first if you used a virtualenv):

hypertiler

Git clone/download as a zip

If you're comfortable using git:

git clone https://github.com/hyper-aperiodic/HyperTiler.git

Then for Windows, double-click scripts/setup.bat once, then scripts/run.bat when you want to run HyperTiler.

For Mac/Linux, setup using:

bash scripts/setup.sh

then run using:

bash scripts/run.sh

If you're not comfortable with git, download the repo as a zip, unzip it, and follow the same steps from inside the unzipped folder.

✍️ Authors

Sam Coates - University of Liverpool

💭 Use, Feedback, and Contributing

Used HyperTiler for some academic work? Cite me! DOI

Have an idea for a contribution? Want to point out any bugs?

Start a discussion!

Or just email!

✍🏻 Acknowledgements

Work funded by EPSRC Grant No. EP/X011984/1.

With thanks to Ellie Weightman for stress-testing!

I started development of this code under the above grant, back in 2023. So the conceptualisation, application of mathematical methodology, design decisions, and initial back-breaking development of the codebase is all human-driven.

Claude Code was used to refactor, spell-check, organise, and polish off the UI.

Metadata

Release files for hypertiler 1.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for hypertiler 1.1.0
File Size Uploaded Provenance Actions
hypertiler-1.1.0.tar.gz 100.4 kB Without provenance Details for hypertiler-1.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for hypertiler 1.1.0
File Interpreter ABI Platform Actions
hypertiler-1.1.0-py3-none-any.whl Python 3 none any Details for hypertiler-1.1.0-py3-none-any.whl

Total release size: 209.5 kB

Release files / hypertiler-1.1.0.tar.gz

Download URL hypertiler-1.1.0.tar.gz
Size 100.4 kB
Tags Source
SHA-256 checksum
How to use checksums
8a437e422c6d2a73ee858e0a411d3c70a110a6d066adacf90dc252bf66f75891
BLAKE2b-256 checksum
How to use checksums
71632de055431320cd9b550a44afc0c662446ef10571912757f5e20fd6ed2547
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.3

Release files / hypertiler-1.1.0-py3-none-any.whl

Download URL hypertiler-1.1.0-py3-none-any.whl
Size 109.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
863d8a6cd329f8515b2c17daa095a65ed6ab88d17911dd4cfdb3bc8d7e60f018
BLAKE2b-256 checksum
How to use checksums
285d8ab1a8d103ac2bc8795de3fc561b9ad44807251597d7f3dbd5466d63b3b0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.3

Security for hypertiler 1.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.1.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page