Play a finished motion-graphics ad in sync with the rough drafts it grew from, and export the breakdown as MP4.
HTML after-effects-alternativeai-videoanimationbreakdowncreative-codingffmpeggood-first-issuegsaphelp-wantedhtml-videohyperframesjavascriptkinetic-typographymotion-designmotion-graphicsnodejsopen-sourcevideovideo-editingwebcodecs
export function curateReferences(references, policy) {
const order = policy.featured || [];
return references.filter(reference => !Object.hasOwn(policy.excluded || {}, reference.id)).map(reference => ({
...reference, name: policy.names?.[reference.id] || reference.name
})).sort((a, b) => {
const rank = id => order.includes(id) ? order.indexOf(id) : order.length;
return rank(a.id) - rank(b.id);
});
}