Animating Code
Importing source from files
Put this at the top of the .tsx file for the scene
import codeText from '../c_src/test.c?raw';
Then the code block can look like this
view.add(
<Code
ref={code}
fontSize={28}
offsetX={0}
x={0}
code={codeText}
/>,
);