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

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

Exports

NameKindWhat it is
AddOptionstypeWhat a card brings when it is added: the picture it already has.
createLiveCardsfunctionMake the live cards of a page.
LiveCardstypeThe live cards of a page: add a card, put one in focus, let go.
LiveCardsOptionstypeHow the live cards behave: the shared renderer's options (kazoku-ui's), and how long a turn takes, how long the pointer rests before a card goes live and how far ahead a still is made.
LiveItemtypeWhat a card shows in 3D: a key (items with the same key share their pictures) and a scene made from shared assets (assets.acquire).
LiveScenetypeA scene for a card: kazoku-ui's scene, with object, the thing that turns about its upright axis while the card is in focus.

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