5c043e1Add composition 2: orbitsJeremy Magland 1import type { Composition } from "../../core/composition.ts";
75ca48aOverhaul playback: background-computed, buffered, one clockJeremy Magland 2import { createStreamPiece, type StreamDef } from "../../stream/piece.ts";
75ca48aOverhaul playback: background-computed, buffered, one clockJeremy Magland 4import { estimateLength, layout } from "./layout.ts";
75ca48aOverhaul playback: background-computed, buffered, one clockJeremy Magland 6import { orbitsView } from "./view.ts";
8const def: StreamDef = { id: "02-orbits", schema, layout, estimateLength, view: orbitsView };
5c043e1Add composition 2: orbitsJeremy Magland 9
10export const orbits: Composition = {
13 schema,
14 defaults,
75ca48aOverhaul playback: background-computed, buffered, one clockJeremy Magland 15 create: (view, params) => createStreamPiece(def, view, params),