Skip to the content

Fuda Cards札

Collectible card frames for images and live 3D: a true thickness, an edge, foil, stacks, wear and a binder, as two web components.

Fuda is the Japanese word 札 for a card or a tag. About the name

Contents

Reference · Options, materials, stacks and wear

CornerKindtype

How a corner is worn: sharp, softened, rounded, chipped or folded.

Import it

import type { CornerKind } from "@johnmorrisdotca/fuda-cards";

Definition

type CornerKind = "sharp" | "soft" | "rounded" | "chipped" | "dog-eared";

Examples

import { wearLayout, wearPreset, type CornerKind } from "@johnmorrisdotca/fuda-cards";

const kinds: CornerKind[] = wearLayout(wearPreset("damaged")!.levels, 3).corners.map((corner) => corner.kind);
console.log(kinds.length); // 4
4

What it prints (run when this page was built)

View sourceEdit on GitHubMade from the source of @johnmorrisdotca/fuda-cards 0.11.0.