MCPcopy Create free account
hub / github.com/heygen-com/hyperframes / sample

Function sample

packages/cli/src/commands/motionShotLayout.test.ts:137–148  ·  view source on GitHub ↗
(t: number)

Source from the content-addressed store, hash-verified

135});
136
137const sample = (t: number) => ({
138 t,
139 q: [
140 { x: 0, y: 0 },
141 { x: 10, y: 0 },
142 { x: 10, y: 10 },
143 { x: 0, y: 10 },
144 ],
145 c: { x: 5, y: 5 },
146 color: "rgb(34, 211, 238)",
147 opacity: 1,
148});
149const oneElement: OnionElement[] = [{ selector: "#hero", samples: [sample(0), sample(2)] }];
150
151describe("buildOnionSvg", () => {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected