From 5dc777f20756d80f1966909f7690d6f5502b4605 Mon Sep 17 00:00:00 2001 From: hata6502 <7702653+hata6502@users.noreply.github.com> Date: Sat, 6 Apr 2024 14:33:34 +0900 Subject: [PATCH 1/2] =?UTF-8?q?1=E3=83=95=E3=83=AC=E3=83=BC=E3=83=A0?= =?UTF-8?q?=E7=9B=AE=E3=81=AB=E8=8B=A5=E5=B9=B2=E3=81=AE=E5=82=BE=E3=81=8D?= =?UTF-8?q?=E3=82=92=E5=85=A5=E3=82=8C=E3=82=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/effects/roulette.ts | 2 +- src/effects/yurayura.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/effects/roulette.ts b/src/effects/roulette.ts index f63857da..55241143 100644 --- a/src/effects/roulette.ts +++ b/src/effects/roulette.ts @@ -2,7 +2,7 @@ import { Effect } from "../types"; const effectRoulette: Effect = (keyframe, ctx, cellWidth, cellHeight) => { ctx.translate(cellWidth / 2, cellHeight / 2); - ctx.rotate(Math.PI * 2 * keyframe); + ctx.rotate(Math.PI * 2 * keyframe + 0.1); ctx.translate(-cellWidth / 2, -cellHeight / 2); }; diff --git a/src/effects/yurayura.ts b/src/effects/yurayura.ts index 3a44952c..42eea27c 100644 --- a/src/effects/yurayura.ts +++ b/src/effects/yurayura.ts @@ -2,7 +2,7 @@ import { Effect } from "../types"; const effectYurayura: Effect = (keyframe, ctx, cellWidth, cellHeight) => { ctx.translate(cellWidth / 2, cellHeight * 3 / 4); - ctx.rotate(0.25 * Math.sin(keyframe * 2 * Math.PI)); + ctx.rotate(0.25 * Math.sin(keyframe * 2 * Math.PI + 0.1)); ctx.translate(-cellWidth / 2, -cellHeight * 3 / 4); }; From 8bc81910fc9e53c2523fe97c144693b3a640ecce Mon Sep 17 00:00:00 2001 From: hata6502 <7702653+hata6502@users.noreply.github.com> Date: Sat, 6 Apr 2024 14:46:11 +0900 Subject: [PATCH 2/2] yurayura --- src/effects/yurayura.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/effects/yurayura.ts b/src/effects/yurayura.ts index 42eea27c..7fa74653 100644 --- a/src/effects/yurayura.ts +++ b/src/effects/yurayura.ts @@ -2,7 +2,7 @@ import { Effect } from "../types"; const effectYurayura: Effect = (keyframe, ctx, cellWidth, cellHeight) => { ctx.translate(cellWidth / 2, cellHeight * 3 / 4); - ctx.rotate(0.25 * Math.sin(keyframe * 2 * Math.PI + 0.1)); + ctx.rotate(0.25 * Math.sin(keyframe * 2 * Math.PI + 0.25)); ctx.translate(-cellWidth / 2, -cellHeight * 3 / 4); };