Skip to main content

einstein-tiling

Generate aperiodic tilings by the hat monotile as SVG images, using the clusters and matching rules of Smith, Myers, Kaplan and Goodman-Strauss, An aperiodic monotile.

It has no dependencies, and uses exact integer coordinates throughout.

Command line

$ einstein-tiling tiling --level 4 -o tiling.svg
$ einstein-tiling tiling --level 3 --metatiles --no-crop -o patch.svg
$ einstein-tiling clusters -o clusters.svg
$ einstein-tiling check --level 5

Python

import einstein_tiling as et

tiles = et.supertile("H", level=4)
assert not et.label_violations(tiles)

with open("tiling.svg", "w") as f:
    f.write(et.tiling_svg(tiles, width=1200))

for cluster, reflected, vertices in et.hat_polygons(tiles):
    ...  # Each hat's (x, y) vertices, for use with any plotting library.

Licence

BSD-3-Clause. The substitution rules are adapted from hatviz by Craig S. Kaplan: see LICENSES/hatviz-BSD-3-Clause.txt.

Metadata

Release files for einstein-tiling 0.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 einstein-tiling 0.1.0
File Size Uploaded Provenance Actions
einstein_tiling-0.1.0.tar.gz 22.4 kB Without provenance Details for einstein_tiling-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for einstein-tiling 0.1.0
File Interpreter ABI Platform Actions
einstein_tiling-0.1.0-py3-none-any.whl Python 3 none any Details for einstein_tiling-0.1.0-py3-none-any.whl

Total release size: 38.0 kB

Release files / einstein_tiling-0.1.0.tar.gz

Download URL einstein_tiling-0.1.0.tar.gz
Size 22.4 kB
Tags Source
SHA-256 checksum
How to use checksums
981ee642f1cbcffced8fb35f703ac35dff13586c71d38328548f42bc0c5df29f
BLAKE2b-256 checksum
How to use checksums
4166929fe68e36495b99ce70b0ac47baa278de627bd6c225269d33cfb76c6f3c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.6 {"installer":{"name":"uv","version":"0.13.6","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / einstein_tiling-0.1.0-py3-none-any.whl

Download URL einstein_tiling-0.1.0-py3-none-any.whl
Size 15.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
bdf563b8a34c2953c2d1f12aa8b1a6650b88695cf9bbc636d185777d5405fea3
BLAKE2b-256 checksum
How to use checksums
c2f8526649726d03bcee851e13da839b6ba07ce76d10ac810689c9cc3f3fd918
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.6 {"installer":{"name":"uv","version":"0.13.6","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Security for einstein-tiling 0.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

0.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