Click here to Skip to main content
15,881,559 members
Home / Discussions / Design and Architecture
   

Design and Architecture

 
GeneralRe: What's The Right Way To Do This? Pin
jschell17-Jun-12 13:08
jschell17-Jun-12 13:08 
AnswerRe: What's The Right Way To Do This? Pin
Eddy Vluggen17-Jun-12 8:34
professionalEddy Vluggen17-Jun-12 8:34 
AnswerRe: What's The Right Way To Do This? Pin
Luc Pattyn17-Jun-12 9:21
sitebuilderLuc Pattyn17-Jun-12 9:21 
AnswerRe: What's The Right Way To Do This? Pin
Mycroft Holmes17-Jun-12 14:41
professionalMycroft Holmes17-Jun-12 14:41 
GeneralRe: What's The Right Way To Do This? Pin
Kevin Marois22-Jun-12 10:56
professionalKevin Marois22-Jun-12 10:56 
GeneralRe: What's The Right Way To Do This? Pin
Mycroft Holmes22-Jun-12 13:10
professionalMycroft Holmes22-Jun-12 13:10 
GeneralRe: What's The Right Way To Do This? Pin
Kevin Marois22-Jun-12 14:01
professionalKevin Marois22-Jun-12 14:01 
Questioncolor mixing riddle Pin
Kobi_Z13-Jun-12 21:52
Kobi_Z13-Jun-12 21:52 
hi, my question is
if i have 3 basic colors (each made of rgb):
color1 : R:150, B:zero, G:255
color2 : R:255, B:150, G:zero
color3 : R:zero, B:255, G:150

each of them can be mixed using the formula :
new_color = floor(X*0.9)+floor(Y*0.1)
X and Y can be abasic color or a new color allready created by using the formula.

for example, if i want to mix color1 as main with color3 :
new_color(R,B,G) = (floor(0.9*150)+floor(0.1*0) , floor(0.9*0)+floor(0.1*255) , floor(0.9*255)+floor(0.1*150) ) = (135, 25, 244).

<b>I need to find a way to mix the colors in order to get a desired color, for example : R:187 B:135 G:201.</b>
so far i wrote a "brute force" program which go all over the combinations of basic colors (runing for 7 days now...)

hope there is a smarter way to solve the problem.
Thanks.
AnswerRe: color mixing riddle Pin
Bernhard Hiller13-Jun-12 22:18
Bernhard Hiller13-Jun-12 22:18 
GeneralRe: color mixing riddle Pin
Kobi_Z14-Jun-12 4:52
Kobi_Z14-Jun-12 4:52 
GeneralRe: color mixing riddle Pin
Philippe Mori17-Jun-12 2:50
Philippe Mori17-Jun-12 2:50 
AnswerRe: color mixing riddle Pin
Richard MacCutchan14-Jun-12 5:19
mveRichard MacCutchan14-Jun-12 5:19 
GeneralRe: color mixing riddle Pin
Kobi_Z14-Jun-12 7:16
Kobi_Z14-Jun-12 7:16 
GeneralRe: color mixing riddle Pin
Richard MacCutchan14-Jun-12 7:30
mveRichard MacCutchan14-Jun-12 7:30 
GeneralRe: color mixing riddle Pin
Kobi_Z14-Jun-12 8:07
Kobi_Z14-Jun-12 8:07 
GeneralRe: color mixing riddle Pin
Richard MacCutchan14-Jun-12 21:40
mveRichard MacCutchan14-Jun-12 21:40 
AnswerRe: color mixing riddle Pin
R. Giskard Reventlov14-Jun-12 9:46
R. Giskard Reventlov14-Jun-12 9:46 
QuestionGeneral App Design Questions Pin
Kevin Marois6-Jun-12 6:02
professionalKevin Marois6-Jun-12 6:02 
AnswerRe: General App Design Questions Pin
Eddy Vluggen6-Jun-12 7:04
professionalEddy Vluggen6-Jun-12 7:04 
AnswerRe: General App Design Questions Pin
jschell6-Jun-12 9:27
jschell6-Jun-12 9:27 
QuestionApplication Security Pin
Kevin Marois6-Jun-12 5:56
professionalKevin Marois6-Jun-12 5:56 
AnswerRe: Application Security Pin
Eddy Vluggen6-Jun-12 7:08
professionalEddy Vluggen6-Jun-12 7:08 
QuestionEncoding and decoding a text file Pin
Basavaraj Neelagund1-Jun-12 3:54
Basavaraj Neelagund1-Jun-12 3:54 
AnswerRe: Encoding and decoding a text file Pin
Richard MacCutchan1-Jun-12 6:26
mveRichard MacCutchan1-Jun-12 6:26 
AnswerRe: Encoding and decoding a text file Pin
jschell4-Jun-12 8:17
jschell4-Jun-12 8:17 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.