@dioramajs/model/coin
Exports of @dioramajs/model/coin.
import { default, flipPose, SHAPES } from '@dioramajs/model/coin'Functions
flipPose | Rotation of the flip part at `t` 0..1 of a turn from face `from` (0 front, 1 back): a flip turns about the vertical, a toss tumbles about the horizontal while it rolls half a turn, so it lands as the flip does, the other face upright. Returns [x, y, z, lift in diameters]. |