Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add [cycle] tag to allow for cycling between different custom colours #85

Closed
JujuAdams opened this issue Jun 28, 2020 · 3 comments
Closed
Labels
feature 💭 It would be extra good if...

Comments

@JujuAdams
Copy link
Owner

The [rainbow] effect cycles the blend colour of a specific portion of text through the entire hue-space.

Sometimes, however, it's useful to cycle through a specific selection of colours. The [cycle] tag should take a variable number of arguments (up to some maximum e.g. 8) and then pass this data to the shader. Each argument is a value from 0 - 255 and describes a hue. The shader then cycles between these hues by interpolating through RGB space.

@JujuAdams JujuAdams added the feature 💭 It would be extra good if... label Jun 28, 2020
@JujuAdams
Copy link
Owner Author

...could also interpolate through YUV space?

@DragoniteSpam
Copy link

I foresee using this to make text of the default color flash to red or blue or something periodically. This should be interesting.

@JujuAdams
Copy link
Owner Author

Implemented for v6.0.8

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature 💭 It would be extra good if...
Projects
None yet
Development

No branches or pull requests

2 participants