confirm build

This commit is contained in:
Developers Digest
2025-09-10 10:12:06 -04:00
parent 8687860a47
commit 13a4c5e1de
42 changed files with 6151 additions and 439 deletions
@@ -129,7 +129,7 @@ const tickAscii: Ticker = async ({ app, canvas }) => {
let i = 0;
//@ts-ignore
//@ts-expect-error - safeAdd method exists on extended ticker
app.ticker.safeAdd(() => {
i++;
if (i >= sprites.length) i = 0;
@@ -1,4 +1,3 @@
//@ts-nocheck
import { AnimationOptions, cubicBezier } from "motion";
import { Application, Container, Graphics, Sprite } from "pixi.js";
@@ -94,11 +93,11 @@ export default function AnimatedRect(props: Props) {
},
render,
animate: (renderProps: Partial<Props>, settings?: AnimationOptions) =>
props.app.animate(p, renderProps, {
(props.app as any).animate(p, renderProps, {
...p.animationConfig,
...settings,
onUpdate: render,
}),
reset: () => props.app.animate(p, props, { onUpdate: render }),
reset: () => (props.app as any).animate(p, props, { onUpdate: render }),
};
}
@@ -1,4 +1,3 @@
//@ts-nocheck
import { Application, Graphics } from "pixi.js";
@@ -58,22 +57,22 @@ export default function BlinkingContainer({
animatedRect.animate({ scale: 1 });
},
blink: ({ delay = 0 }: { delay?: number } = {}) => {
app
(app as any)
.animate(0, 0.32, {
repeatType: "reverse",
repeat: 2,
delay,
duration: 0.065,
ease: "linear",
onUpdate: (value) => {
onUpdate: (value: any) => {
blinkLayer.alpha = value as number;
},
})
.then(() => {
app.animate(0.32, 0, {
(app as any).animate(0.32, 0, {
duration: 0.065,
ease: "linear",
onUpdate: (value) => {
onUpdate: (value: any) => {
blinkLayer.alpha = value as number;
},
});