feat(projects): intro and outro animations
This commit is contained in:
@@ -124,6 +124,9 @@ useRender((ctx) => {
|
||||
"black",
|
||||
"black",
|
||||
);
|
||||
|
||||
ctx.fillStyle = `rgba(0, 0, 0, ${store.isIntro ? store.intro.fadeOpacity : store.isOutro ? store.outro.fadeOpacity : 0})`;
|
||||
ctx.fillRect(0, 0, SCREEN_WIDTH, SCREEN_HEIGHT);
|
||||
});
|
||||
|
||||
defineOptions({
|
||||
|
||||
Reference in New Issue
Block a user