Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[✨ FEATURE] 애니메이션에 가중치를 줄 수 있는 유틸 함수를 구현한다. #15

Open
1 task
JengYoung opened this issue Sep 27, 2022 · 0 comments
Assignees
Labels
✨ feature 새로운 기능을 추가합니다!

Comments

@JengYoung
Copy link
Owner

요약

애니메이션을 동작시킬 때, 시간의 흐름에 일정한 효과를 주는 게 아닌, 더 자유자재로 속도에 가중치를 줄 수 있는 유틸 함수를 구현한다.

🚦 배경

이번에 #11 을 만들면서 영감을 얻었는데, 선형으로 애니메이션을 동작시키면 재미가 없다.
그렇다고 등비수열로 하기에도 뭔가 살짝 밋밋한 느낌이 분명히 든다. 무엇보다, 딜레이를 정확히 내가 산정해줄 수 없단 게 가장 큰 단점이다.
따라서... 이를 제대로 구현하기 위한 유틸함수를 구현해보고자 한다.

✅ 체크리스트

  • requestAnimationFrame에서 timestamp가 있는데, 여기서 영감을 얻으면 어떨까 싶다. 추후 좋은 생각이 날 때마다 메모하자.

📑 참고자료

requestAnimationFrame - MDN

@JengYoung JengYoung added the ✨ feature 새로운 기능을 추가합니다! label Sep 27, 2022
@JengYoung JengYoung self-assigned this Sep 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
✨ feature 새로운 기능을 추가합니다!
Projects
Development

No branches or pull requests

1 participant