Discuss Scratch
- Discussion Forums
- » Advanced Topics
- » Rainbow text algorithm?:
- Rumanti
- Scratcher
1000+ posts
Rainbow text algorithm?:
So everyone's using rainbow text, and I decided that it would be pretty cool if I could make a program of my own, in Python. Except I don't know how to render the rainbow, I mean, how much RGB did you change per letter? I already googled but I have no idea. Help?
This might or might not belong in AT but I think this place is the best place to ask this question
This might or might not belong in AT but I think this place is the best place to ask this question
:wq
- MegaApuTurkUltra
- Scratcher
1000+ posts
Rainbow text algorithm?:
Use HSL, loop through H, convert to RGB
$(".box-head")[0].textContent = "committing AT crimes since $whenever"
- __init__
- Scratcher
1000+ posts
Rainbow text algorithm?:
Use HSL, loop through H, convert to RGB
thisandagain pls explain
- ChocolatePi
- Scratcher
1000+ posts
Rainbow text algorithm?:
what was the point of that postUse HSL, loop through H, convert to RGB
- Rumanti
- Scratcher
1000+ posts
Rainbow text algorithm?:
What is HSL short for? I knew but I can't remember..
:wq
- ev3commander
- Scratcher
500+ posts
Rainbow text algorithm?:
hue saturation lightness What is HSL short for? I knew but I can't remember..
- Rumanti
- Scratcher
1000+ posts
Rainbow text algorithm?:
Thanks.hue saturation lightness What is HSL short for? I knew but I can't remember..
Oh, HUE. No wonder.
:wq
- DigiTechs
- Scratcher
500+ posts
Rainbow text algorithm?:
Thanks.hue saturation lightness What is HSL short for? I knew but I can't remember..
Oh, HUE. No wonder.
hue hue hue hue hue
Puns mixed with laughter = hue.
hehe.
Also, you need all 256^3 colours to make a true rainbow!
EDIT: Whoops. a value of 0 in a component is also valid RGB. e.e
Last edited by DigiTechs (April 19, 2015 20:37:42)
I do, in fact, have my own site; it's here.
I'm also working on a thing called Fetch. Look at it here!
@thisandagain pls explain. @thisandagain pls explain. @thisandagain pls explain. @thisandagain pls explain. @thisandagain pls explain.
- Discussion Forums
- » Advanced Topics
- » Rainbow text algorithm?: