Back to Motion Canvas

Motion Canvas v3.4.0

packages/docs/blog/2023-03-28-version-3.4.0.mdx

3.17.22.2 KB
Original Source

import IssueGroup from '@site/src/components/Release/IssueGroup'; import Issue from '@site/src/components/Release/Issue'; import PullRequest from '@site/src/components/Release/PullRequest'; import Link from '@docusaurus/Link'; import CodeBlock from '@theme/CodeBlock';

<IssueGroup type={'feat'}> <Issue user={'ksassnowski'}> New{' '} <Link to="/docs/spline"> <code>Spline</code> </Link>{' '} node lets you draw lines made up of Bezier curves: <PullRequest id={514} /> <CodeBlock language={'tsx'} className="margin-top--sm margin-bottom--sm"> {<Spline lineWidth={6} stroke={'lightseagreen'}> <Knot position={[-100, 30]} /> <Knot position={[0, -50]} startHandle={[-70, 0]} /> <Knot position={[100, 30]} /> </Spline>} </CodeBlock> </Issue> <Issue user={'ksassnowski'} pr={579}> <Link to="/api/core/types/Vector2"> <code>Vector2</code> </Link>{' '} has been expanded with new methods:{' '} <Link to="/api/core/types/Vector2#degrees"> <code>degrees</code> </Link> ,{' '} <Link to="/api/core/types/Vector2#equals"> <code>equals</code> </Link> ,{' '} <Link to="/api/core/types/Vector2#squaredMagnitude"> <code>squaredMagnitude</code> </Link> </Issue> <Issue user={'guifeliper'} pr={552}> Names displayed in the project selection view are now retrieved from the meta files. </Issue> <Issue user={'aarthificial'} pr={564}> Introduce initial API for plugins. </Issue> <Issue user={'aarthificial'} pr={565}> The fields in the editor are now autogenerated based on the structure of the meta file. </Issue> </IssueGroup> <IssueGroup type={'fix'}> <Issue user={'aarthificial'} pr={572}> Support multiple fiddles on one page. </Issue> <Issue user={'aarthificial'} pr={563}> Fix CodeBlock types. </Issue> <Issue user={'aarthificial'} pr={562}> Size is now copied when cloning a node. </Issue> <Issue user={'aarthificial'} pr={561}> Zoom to fit works correctly for smaller canvases. </Issue> </IssueGroup>

<small> Check out <Link to="/docs/updating">the Update Guide</Link> for information on how to update your existing projects. </small>