🎥 Make videos programmatically with React
import React from 'react';
import {AbsoluteFill} from 'remotion';
const Component: React.FC = () => {
return (
<AbsoluteFill style={{transform: 'rotate(45deg)'}}>
<svg viewBox="0 0 100 100" width="100" height="100">
<polygon points="50,10 90,90 10,90" fill="orange" />
</svg>
</AbsoluteFill>
);
};
export const parentRotatedSvg = {
component: Component,
id: 'parent-rotated-svg',
width: 100,
height: 100,
fps: 30,
durationInFrames: 100,
} as const;