Skip to content

Conversation

@aarthificial
Copy link
Contributor

Adds a project setting for enabling experimental features:

// project.ts

export default makeProject({
  experimentalFeatures: true,
  // ...
});

The setting can be accessed in the UI:

const {project} = useApplication();
console.log(project.experimentalFeatures);

As well as in the runtime code:

const scene = useScene();
console.log(scene.experimentalFeatures);

Once enabled, the UI displays the following indication:
image

Copy link
Contributor

@hhenrichsen hhenrichsen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Couple minor questions, no blockers. Excited to be able to use this for fun new APIs!

@aarthificial aarthificial merged commit 498d387 into motion-canvas:main Dec 20, 2023
@aarthificial aarthificial deleted the experimental branch December 20, 2023 18:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants