Files
GhiVideo_v4/docs/history/2026-06-24_1806_평활튜닝-패널슬라이더노출.md
T
b23042andClaude Fable 5 d38b842e8d GhiVideo 소스 복제 — v4 작업 시작 기준
기존 GhiVideo 저장소 HEAD의 트래킹 소스 362개 파일을 복제.
(node_modules·storage·빌드 산출물·대용량 미디어는 .gitignore 규칙대로 제외)

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-09 14:32:51 +09:00

1.4 KiB
Raw Blame History

속도적응 평활 튜닝값을 패널 슬라이더로 노출 (떨림억제·반응속도)

날짜: 2026-06-24 수정 파일: client/src/components/overlay/StationOverlay.tsx 관련: 2026-06-24_1758_라벨팝업-속도적응평활-1배속떨림제거.md

요구

직전에 추가한 SMOOTH_MIN_ALPHA(0.12)/SMOOTH_SPEED_REF(0.01) 을 어디서 조절? (코드 상수였음) → 패널에서 실시간 조절 가능하게.

조치

  • smoothStep 시그니처에 minAlpha, speedRef 파라미터 추가(모듈 상수 제거). SMOOTH_VEL_BETA만 상수 유지.
  • 상태/ref smoothMinAlpha(0.12)·smoothSpeedRef(0.010) + DISPLAY_DEFAULTS 추가.
  • RAF 의 smoothStep 2개 호출에 smoothMinAlphaRef.current, smoothSpeedRefRef.current 전달.
  • 화면표시 옵션 패널 "스무딩" 섹션에 슬라이더 2개: · 떨림억제(min α, 0.020.6) — 낮을수록 1배속 떨림 강하게 평활. · 반응속도(speedRef, 0.0020.04) — 클수록 느린 이동까지 부드럽게, 줄이면 빨리 반응.
  • "기본값" 버튼 리셋 + ghivideo:calib 영속화(저장/복원)에 포함. EMA α 툴팁을 "빠를 때 추종 상한"으로 정리.

검증

  • npm run build -w client (node20) tsc + vite build 통과.

소요 시간: 약 10분 Context 사용량: input ~1010k / output ~5k tokens