Reference
Live 3D in cards
import { … } from "@johnmorrisdotca/fuda-cards/live-3d";
Exports
| Name | Kind | What it is |
|---|---|---|
AddOptions | type | What a card brings when it is added: the picture it already has. |
createLiveCards | function | Make the live cards of a page. |
LiveCards | type | The live cards of a page: add a card, put one in focus, let go. |
LiveCardsOptions | type | How 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. |
LiveItem | type | What a card shows in 3D: a key (items with the same key share their pictures) and a scene made from shared assets (assets.acquire). |
LiveScene | type | A scene for a card: kazoku-ui's scene, with object, the thing that turns about its upright axis while the card is in focus. |