New features ๐โ
- All entities are now imported from the main entry point of each package. The only exception is the
CodeBlock
node which still requires the full import path:Importing from subdirectories will continue to work until version 4.#721#710import {all, createRef} from '@motion-canvas/core';
import {makeScene2D, Circle} from '@motion-canvas/2d';
// the only exception:
import {CodeBlock, insert} from '@motion-canvas/2d/lib/components/CodeBlock'; - New
presenter
andrenderer
plugin hooks.
You can learn how to create your own plugins in the new Authoring Plugins guide.#723 - New
Random.gauss()
method lets you generate random numbers using a gaussian (normal) distribution.#709 - Updated sidebar design lets you hide the timeline and collapse panels by dragging.#692
- Application-wide settings let you configure the project defaults and change the editor appearance. You can edit them in the settings tab on the left.#697
- You can use a new eye dropper tool to pick colors from the canvas
(see browser compatibility)#691 - Error stack traces now include function names.#693
- Overall improvements to the Fiddle editor.#706#712#713
Fixed bugs ๐โ
- Fix
package.json
entry.#720 - Fix collapsable sections.#698
- Use project variables when rendering/presenting.#690