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

stackHeightMmfunction

The height of a stack of cards, in millimetres: the count times the thickness of one, to a thousandth of a millimetre.

Import it

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

Definition

function stackHeightMm(count: number, thicknessMm: number): number

Parameters

NameTypeDescription
countnumber

How many cards; a count under one is one card.

thicknessMmnumber

The thickness of one card in millimetres.

Returns

number

The height of the stack in millimetres.

Examples

import { cardMaterial, stackHeightMm } from "@johnmorrisdotca/fuda-cards";

const stock = cardMaterial("paper-310-black-core");
console.log(stackHeightMm(52, stock?.thicknessMm ?? 0.325)); // 16.9
16.9

What it prints (run when this page was built)

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