이징과 지속 시간: 토큰 및 사양
이징과 지속 시간은 반응성이 뛰어나고 표현력 있는 모션을 구현합니다.
TIP
Expressive 업데이트에서 컴포넌트와 모션은 이제 스프링 기반의 모션 물리 시스템을 사용합니다. 제품은 새 시스템으로 마이그레이션해야 합니다. 이징 및 지속 시간 시스템은 전환에 여전히 사용되며, 아직 GM3 Expressive로 업데이트하지 않은 팀에서도 사용할 수 있지만 더 이상 유지 관리되지 않습니다.
토큰
모션 이징과 지속 시간은 이징 및 지속 시간 토큰으로 구현할 수 있습니다. 디자인 토큰 자세히 알아보기
| 토큰 | 값 |
|---|---|
| Motion spring fast spatial | damping 0.9, stiffness 1400 |
| Motion spring fast effects | damping 1, stiffness 3800 |
| Motion spring default spatial | damping 0.9, stiffness 700 |
| Motion spring default effects | damping 1, stiffness 1600 |
| Motion spring slow spatial | damping 0.9, stiffness 300 |
| Motion spring slow effects | damping 1, stiffness 800 |
이징
강조 이징 세트
이 세트는 M3의 표현력 있는 스타일을 잘 보여 주므로 가장 널리 사용됩니다.
| 정보/플랫폼 | 강조 | 강조 감속 | 강조 가속 |
|---|---|---|---|
| 토큰 | md.sys.motion.easing.emphasized | md.sys.motion.easing.emphasized.decelerate | md.sys.motion.easing.emphasized.accelerate |
| Android | pathInterpolator(M 0,0 C 0.05, 0, 0.133333, 0.06, 0.166666, 0.4 C 0.208333, 0.82, 0.25, 1, 1, 1) | PathInterpolator(0.05f, 0.7f, 0.1f, 1f) | PathInterpolator(0.3f, 0f, 0.8f, 0.15f) |
| CSS | 해당 없음 (표준 이징을 대체 수단으로 사용) | cubic-bezier(0.05, 0.7, 0.1, 1.0) | cubic-bezier(0.3, 0.0, 0.8, 0.15) |
| Flutter | easeInOutCubicEmphasized | Cubic(0.05, 0.7, 0.1, 1.0); | Cubic(0.3, 0.0, 0.8, 0.15); |
| iOS | 해당 없음 (표준 이징을 대체 수단으로 사용) | ControlPoints:0.05f:0.7f:0.1f:1.0f | ControlPoints:0.3f:0.0f:0.8f:0.15f |
| After Effects | After Effects Easing Panel을 사용하세요 (다운로드) | ||
표준 이징 세트
이 세트는 단순하거나 규모가 작은 전환, 또는 유틸리티 중심 전환에 사용됩니다.
| 표준 | 표준 감속 | 표준 가속 | |
|---|---|---|---|
| 토큰 | md.sys.motion.easing.standard | md.sys.motion.easing.standard.decelerate | md.sys.motion.easing.standard.accelerate |
| Android | PathInterpolator(0.2f, 0f, 0f, 1f) | PathInterpolator(0f, 0f, 0f, 1f) | PathInterpolator(0.3f, 0f, 1f, 1f) |
| CSS | cubic-bezier(0.2, 0.0, 0, 1.0); | cubic-bezier(0, 0, 0, 1); | cubic-bezier(0.3, 0, 1, 1); |
| Flutter | Cubic(0.2, 0.0, 0, 1.0); | Cubic(0, 0, 0, 1); | Cubic(0.3, 0, 1, 1); |
| iOS | ControlPoints:0.2f:0.0f:0.0f:1.0f | ControlPoints:0.0f:0.0f:0.0f:1.0f | ControlPoints:0.3f:0.0f:1.0f:1.0f |
| After Effects | After Effects Easing Panel을 사용하세요 (다운로드) | ||
지속 시간
짧은 지속 시간
짧은 지속 시간은 규모가 작은 유틸리티 중심 전환에 사용됩니다.
| 토큰 | 값 |
|---|---|
md.sys.motion.duration.short1 | 50ms |
md.sys.motion.duration.short2 | 100ms |
md.sys.motion.duration.short3 | 150ms |
md.sys.motion.duration.short4 | 200ms |
중간 지속 시간
중간 지속 시간은 화면의 중간 영역을 가로지르는 전환에 사용됩니다.
| 토큰 | 값 |
|---|---|
md.sys.motion.duration.medium1 | 250ms |
md.sys.motion.duration.medium2 | 300ms |
md.sys.motion.duration.medium3 | 350ms |
md.sys.motion.duration.medium4 | 400ms |
긴 지속 시간
이러한 지속 시간은 종종 강조 이징과 함께 사용됩니다. 규모가 크고 표현력 있는 전환에 사용됩니다.
| 토큰 | 값 |
|---|---|
md.sys.motion.duration.long1 | 450ms |
md.sys.motion.duration.long2 | 500ms |
md.sys.motion.duration.long3 | 550ms |
md.sys.motion.duration.long4 | 600ms |
매우 긴 지속 시간
흔하지는 않지만 일부 전환은 600ms를 초과하는 지속 시간을 사용합니다. 이러한 지속 시간은 일반적으로 사용자 입력이 없는 앰비언트 전환에 사용됩니다.
| 토큰 | 값 |
|---|---|
md.sys.motion.duration.extra-long1 | 700ms |
md.sys.motion.duration.extra-long2 | 800ms |
md.sys.motion.duration.extra-long3 | 900ms |
md.sys.motion.duration.extra-long4 | 1000ms |