Skip to content

Instantly share code, notes, and snippets.

@miracle7
Last active May 17, 2020 01:09
Show Gist options
  • Save miracle7/0fc02b5c8674b904bcb379c55e993fe2 to your computer and use it in GitHub Desktop.
Save miracle7/0fc02b5c8674b904bcb379c55e993fe2 to your computer and use it in GitHub Desktop.
After Effects hue cycle
phaseSpeed = 1;
hsl = rgbToHsl(value);
newHsl = [(hsl[0] + (time * phaseSpeed))%1.0, hsl[1], hsl[2], hsl[3]];
hslToRgb(newHsl);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment