Skip to content

Latest commit

 

History

History
14 lines (9 loc) · 768 Bytes

README.md

File metadata and controls

14 lines (9 loc) · 768 Bytes

Color Gradient Animation on a path

Performs animated color gradient on a path (made of line blocks), using Metal vertex / fragment shader. It is based on Apple's Metal example code

Try different values of the following variable for slightly different animations

    const BONAnimationType animation = BONAnimationTypeDecreasingDiscreteBrightness;

BONAnimationTypeContinuous BONAnimationTypeDecreasingBrightness BONAnimationTypeDecreasingDiscreteBrightness