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 · Live 3D in cards

AddOptionstype

What a card brings when it is added: the picture it already has.

Import it

import type { AddOptions } from "@johnmorrisdotca/fuda-cards/live-3d";

Definition

interface AddOptions {
    still?: HTMLImageElement;
}

Members

NameTypeDescription
still (optional)HTMLImageElement | undefined

A picture the card already has (an <img> of its own), kept until the card is in focus. With one, the card costs no 3D code until then.

Examples

import type { AddOptions } from "@johnmorrisdotca/fuda-cards/live-3d";

const withPicture = (still: HTMLImageElement): AddOptions => ({ still });
console.log(typeof withPicture);

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