Skip to content

Instantly share code, notes, and snippets.

import time
import math
import torch
import taichi as ti
import taichi.math as tm
import tinytex as ttex
from tinycio import fsio
@Trebor-Huang
Trebor-Huang / penrose.typ
Last active January 2, 2025 22:11
Penrose tiling via cut-and-project
#import "@preview/cetz:0.3.1" as cetz
#set page(width: auto, height: auto)
// A fixed offset vector in RR^5
#let offset = (
0.012445987628374,
0.049637456817326,
0.291638765345987,
0.084127469734981,
0.000249356192837
)