raliz #1

Merged
zjt merged 5 commits from raliz into master 2024-07-03 10:57:35 +08:00
Showing only changes of commit e1cbab4d48 - Show all commits

View File

@ -196,7 +196,7 @@ export default function Home() {
(async function () {
const app = new PIXI.Application({
view: document.getElementById("canvas") as HTMLCanvasElement,
backgroundAlpha: 1,
backgroundAlpha: 0,
});
const model = await Live2DModel.from(
@ -222,6 +222,7 @@ export default function Home() {
model.motion("speak");
}
});
console.log("ok")
})();
}, []);
@ -285,8 +286,7 @@ export default function Home() {
>
<img
className="w-full h-full scale-[2.5]"
src={`http://picdown.jchysoft.com/uiIcon/${
useVoice ? "jianpan" : "yuyin"
src={`http://picdown.jchysoft.com/uiIcon/${useVoice ? "jianpan" : "yuyin"
}.png`}
alt="输入方式"
/>