Skip to content

Commit 6159460

Browse files
committed
Replace Reward = Time animation with clean pulse scale to eliminate edge artifacts
Animation Change: - Reward = Time: Removed rotation and translation movements that caused edge artifacts - New animation: Simple pulse scale (1.08 max) with no movement outside bounds - Added 0.5s delay between color1 and color2 for rhythmic effect - 3s duration for smooth, gentle pulsing like a heartbeat Benefits: - No more edge artifacts or visible boundaries - Clean, professional pulsing effect - Maintains the 'time passing' concept through rhythmic pulsing - Perfectly contained within circular bounds - Smooth and elegant animation The pulse animation provides a subtle, sophisticated effect that represents time passing without any visual artifacts.
1 parent 168d234 commit 6159460

File tree

1 file changed

+7
-12
lines changed

1 file changed

+7
-12
lines changed

src/components/Avatar.tsx

Lines changed: 7 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -27,31 +27,26 @@ const BUZZVIL_VALUE_COLORS = {
2727
// Buzzvil Design Principles - 3 distinct, smooth animations
2828
const BUZZVIL_PRINCIPLE_ANIMATIONS = {
2929
'reward-time': {
30-
// Animation 1: Very subtle flowing movements - like gentle time passing
30+
// Animation 1: Gentle pulse scale - like a heartbeat or time passing
3131
color1: {
3232
animate: {
33-
scale: [1, 1.02, 1],
34-
rotate: [0, 90, 180, 270, 360],
35-
translateX: [0, 0.8, 0],
36-
translateY: [0, -0.6, 0],
33+
scale: [1, 1.08, 1],
3734
},
3835
transition: {
39-
duration: 6,
36+
duration: 3,
4037
repeat: Infinity,
4138
ease: "easeInOut" as const
4239
}
4340
},
4441
color2: {
4542
animate: {
46-
scale: [1, 0.99, 1],
47-
rotate: [0, -90, -180, -270, -360],
48-
translateX: [0, -0.6, 0],
49-
translateY: [0, 0.8, 0],
43+
scale: [1, 0.95, 1],
5044
},
5145
transition: {
52-
duration: 6,
46+
duration: 3,
5347
repeat: Infinity,
54-
ease: "easeInOut" as const
48+
ease: "easeInOut" as const,
49+
delay: 0.5
5550
}
5651
}
5752
},

0 commit comments

Comments
 (0)