Skip to content

Performs animated color gradient on a path, using Metal vertex / fragment shader

Notifications You must be signed in to change notification settings

riobah/PathGradientVertexShader

Repository files navigation

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

About

Performs animated color gradient on a path, using Metal vertex / fragment shader

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published