Skip to content

Conversation

erhanersoz
Copy link

Hello, I've fixed to reset hue value

Hello, I've fixed to reset hue value

// Ternary operator to reset/increase hue value
hue >= 360 ? 0 : hue++;
hue >= 360 ? hue = 0 : hue++;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hue>=360 ? hue=0 ; hue++ ;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants