SkillAgentSearch skills...

Hatviz

Simple P5js app for constructing aperiodic hat tilings

Install / Use

/learn @isohedral/Hatviz
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

hatviz

This is a small P5js sketch that lets you construct patches of aperiodic hat tiles, and displays them along with their associated metatile and supertile outlines. You can download the patches as PNG images or SVG vector illustrations. The mathematical structure of the tile and its tilings is described in the paper "An aperiodic monotile" (Smith, Myers, Kaplan, and Goodman-Strauss, 2023). For more information, including a link to the paper, see my web page about this project.

The sketch is built using the P5js library. You can run it by pointing your browser at app.html. That file references an online copy of the file. You can also run it with a local copy of the library; download P5.min.js from the P5js download page, put it in the same directory as hat.js and app.html, and modify app.html to reference it instead of the online version.

Related Skills

View on GitHub
GitHub Stars115
CategoryDevelopment
Updated1mo ago
Forks32

Languages

JavaScript

Security Score

95/100

Audited on Mar 5, 2026

No findings