Are they just being ignored now? Most of them are easy fixes.
Results 1 to 18 of 18
Thread: Suggestions
- 14 Aug. 2012 06:15am #1
- Age
- 33
- Join Date
- Mar. 2007
- Location
- Death Star
- Posts
- 6,682
- Reputation
- 757
- LCash
- 172.00
- Awards
Suggestions
Voted Hottest Male Member
Crowned King of Logical Gamers
10 Years of Logical Service.
- 14 Aug. 2012 06:04pm #2
- 14 Aug. 2012 06:11pm #3
- 14 Aug. 2012 07:39pm #4
- 15 Aug. 2012 01:32am #5
- 15 Aug. 2012 02:48am #6
- 15 Aug. 2012 08:14pm #7
- 15 Aug. 2012 10:01pm #8
The aforementioned was not rainbow.
You should use HSL to generate the colors, and then just convert it to RGB when outputting as hex.
Hue is beautifully simple. Just scale it by whatever-max-hue-is-i-think-360 divided by the number of characters in the string (minus the number of spaces if you want).
- 15 Aug. 2012 10:06pm #9Define a function or procedure that takes as input a string that you will convert to arbitrary "rainbow" BBCode
The criteria I defined was to create something to arbitrarily generate rainbow BBCode. Which by definition is something that consists of its 7 colors.
Artificial's solution was an example of the algorithm you're referring to.Last edited by The Unintelligible; 15 Aug. 2012 at 10:09pm.
- 16 Aug. 2012 05:17am #10
Global Moderator Literally Hitler
Morbidly Obese
Bird Jesus
- Age
- 34
- Join Date
- Nov. 2009
- Location
- The Land Of Ooo
- Posts
- 8,569
- Reputation
- 711
- LCash
- 65.00
- 16 Aug. 2012 07:10pm #11
Because it's the best algorithm!
Either way, I'd use HSL.
Just pick seven random hues, then increment from one to the other by (color2 - color1) / (total_string_characters / total_colors_7)
I think that's right anywho, on the most layman of examples that is obviously not optimized for for loop use yet.
- 16 Aug. 2012 07:36pm #12
I agree that it looks better. I realize that. I wasn't trying to accomplish that at all. Like I said, on hindsight I realized I should have done it that way because when I first created mine my initial thoughts were "wow this is so hideous in contrast to this."
Thanks, but you also don't need to describe the algorithm to me. It seems simple enough. You're creating an iterator based on this formula.
Rainbow Color Algorithm? - Yahoo! Answers
I don't intend on trying this anytime soon.
- 16 Aug. 2012 09:59pm #13
Thomas most likely can't do much of anything, cause Arty restricted FTP access to only him.
- 16 Aug. 2012 10:18pm #14
- Age
- 33
- Join Date
- Mar. 2007
- Location
- Death Star
- Posts
- 6,682
- Reputation
- 757
- LCash
- 275.00
- Awards
- 16 Aug. 2012 11:58pm #15
I'm on now. Had to go through a headache that almost made me have to delay uni a year. Should be back on track now tho. So what'd I miss?
// Signature
- 17 Aug. 2012 05:51am #16
- Age
- 33
- Join Date
- Mar. 2007
- Location
- Death Star
- Posts
- 6,682
- Reputation
- 757
- LCash
- 239.00
- Awards
- 17 Aug. 2012 06:01am #17
- 17 Aug. 2012 06:21am #18
- Age
- 33
- Join Date
- Mar. 2007
- Location
- Death Star
- Posts
- 6,682
- Reputation
- 757
- LCash
- 163.00
- Awards