Capítulo 591 de 988
_Part of the @remotion/effects package.
export const MyComp: React.FC = () => {
return (
<AbsoluteFill>
<CanvasImage
src={staticFile('logo.png')}
width={1280}
height={720}
fit="contain"
effects={[
lightTrail({
direction: 180,
distance: 120,
intensity: 1.6,
decay: 0.9,
threshold: 0.2,
color: '#ffb000',
}),
]}
/>
</AbsoluteFill>
);
};