Skip to content

Function: shadowShape() ​

ts
function shadowShape(frame, cells): 
  | {
  blur: number;
  d: string;
  opacity: number;
  style: StyleMap;
  transform: string;
  viewBox: string;
}
  | undefined;

The shadow tiles cast into the grout (with relief's shadow), for an <svg> over the region.

Parameters ​

ParameterType
frameFrame
cellsreadonly Cell[]

Returns ​

| { blur: number; d: string; opacity: number; style: StyleMap; transform: string; viewBox: string; } | undefined

Hat tiling and isohedral tilings after Craig S. Kaplan's hatviz and Tactile (BSD 3-Clause).