Skip to content

Swift로 구현한 Roulette - Metal구현, Layer Animation 구현

Notifications You must be signed in to change notification settings

ximhear/roulette

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

룰렛 컨트롤 만들기

iOS 8.0 이상 지원.

룰렛판의 회전 애니메이션과 회전이 멈추는 위치를 조절하는 알고리즘을 구현한다.

menu metal layer

정지 알고리즘

3차 함수 y = (x-1)^3+1을 이용한 정지알고리즘 동영상

Metal로 구현

메탈로 구현한 룰렛동영상

메탈로 구현한 코드는 시뮬레이터에서는 돌지 않습니다.

Layer로 구현

Layer로 구현한 룰렛동영상

View로 구현

License

소스코드는 자유롭게 사용/수정할 수 있습니다. 소스코드 이용시 라이센스를 포함하지 않아도 됩니다. 이 소스코드를 사용한 소프트웨어의 소스코드를 오픈할 필요도 없습니다. 그러나, 이 소스코드의 이용으로 발생한 손해에 대해서는 책임지지 않습니다.

About

Swift로 구현한 Roulette - Metal구현, Layer Animation 구현

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published