AWESOME AI MOTION
효과Effects / 데이터Data / Nº 268

부분 아이콘 채우기Fractional Icon Fill

Fractional Icon Fill
부분 아이콘 채우기
다른 이름Also known as · Fractional star fill · 소수 별점 채우기 · Fractional Rating · 부분 별점 채움 · stat-bars-and-fills · Fractional pictogram fill · 부분 아이콘 비율 채움
268
렌더 추가 예정CLIP COMING부분 아이콘 채우기Fractional Icon Fill정의·파라미터·프롬프트는 아래에 있다Definition, parameters and prompts are below
도판Fig. 268. 부분 아이콘 채우기 · Fractional Icon Fill · power2.out

아이콘 내부의 채움 경계가 이동해 수량이나 비율을 나타낸다. 마지막 아이콘은 소수 비율만큼만 채워진다.A clipping boundary fills icons to the exact fractional value.

01

무엇을 전하나What it tells

전달 효과ConveysCONVEYS
평점의 정수와 소수값을 정확히 전달한다.Communicates whole and fractional quantities.
언제 쓰나Use whenUSE WHEN
  • 4.5점은 별 4개와 다섯 번째 별의 절반을 채운다.
  • 평점의 정수와 소수값을 정확히 전달한다. 기준값과 대상을 함께 표시할 때.
  • Show a fractional rating.
  • Keep the encoded values, labels, and visual state synchronized.
과용 주의AvoidAVOID
  • 아이콘 간격은 채움 비율 계산에서 제외한다.
02

좋은 예와 나쁜 예Good and bad use

좋은 사례GOOD

4.5점은 별 4개와 다섯 번째 별의 절반을 채운다.

과용 · 나쁜 사례OVERUSE

4.5점을 별 5개 전체로 표시한다.

03

파라미터Parameters

기본값은 클립에 쓴 값Defaults are the values used in the clip

항목PARAM기본DEFAULT범위RANGE메모NOTE
지속1000ms600~1500ms값은 고정하고 경계만 이동
평점4.5/50~5실제 측정값 사용
채움 폭90%0~100%평점 나누기 최댓값
GSAP
const tl=gsap.timeline({paused:true});
tl.fromTo('.rating-fill',{clipPath:'inset(0 100% 0 0)'},
 {clipPath:'inset(0 10% 0 0)',duration:1,ease:'power2.out'});
04

에이전트 프롬프트Agent prompts

그대로 붙여 넣는다Paste as is

Claude Code

<파일>의 <대상>에 부분 아이콘 채우기을 적용해. 비어 있는 별 위 색 별 레이어의 클리핑 폭을 보간한다. 지속 1000ms; 평점 4.5/5; 채움 폭 90%을 적용한다. GSAP 코어의 paused 타임라인 하나로 seek 가능하게 만들고 임의 난수와 타이머를 쓰지 마.

Implement Fractional Icon Fill on <target> in <file>. Animate for 1000ms to a rating of 4.5 out of 5, filling exactly 90% of the icon area while excluding gaps. Use one paused GSAP core timeline, support seeking, and avoid random values and timers.

Codex

<파일>의 설명 장면에서 <대상>에 부분 아이콘 채우기을 적용해. 비어 있는 별 위 색 별 레이어의 클리핑 폭을 보간한다. 지속 1000ms; 평점 4.5/5; 채움 폭 90%을 적용한다. 0초, 0.5초, 1초를 캡처해 시작 상태, 중간 진행, 최종 상태를 확인하고 같은 시각으로 다시 seek했을 때 좌표와 라벨이 같은지 검증해.

Implement Fractional Icon Fill on <target> in <file>. Animate for 1000ms to a rating of 4.5 out of 5, filling exactly 90% of the icon area while excluding gaps. Use one paused GSAP core timeline, support seeking, and avoid random values and timers. Capture at 0s, 0.5s, and 1s to check the initial state, intermediate motion, and final state. Seek to each time again and verify identical geometry and labels.

05

도구별로 쓰기In your tools

HyperFrames · ReelForge · Scrolline

HyperFramesVIDEO · GSAP
paused 타임라인에 부분 아이콘 채우기 상태를 넣고 seek 시 1초의 좌표와 색을 다시 계산한다.
ReelForgeBRIEF TO VIDEO
씬 워커 브리프에 지속 1000ms; 평점 4.5/5; 채움 폭 90%을 싣고 4.5점은 별 4개와 다섯 번째 별의 절반을 채운다.
Scrolline DeckSCROLL SCRUB
진행률 0~1을 1초 구간에 매핑한다. scrub에서는 스프링 대신 power2.out을 쓰고 역방향에서도 라벨과 도형을 함께 갱신한다.
06

잘 맞는 조합Pairs well with

07

출처Sources

개념 출처와 라이선스. 구현은 이 레포에서 새로 씀Concept sources and licenses. Implementations are original to this repo