Open fredkneeland opened 6 years ago
Can you clarify on how to implement averageColorForLetterCounts()
?
Thanks
Sure! The idea is that it will return a color for a combination of letters, so for example if you are looking at specific 3 letter words and 30% are 'A's and 70% are 'G's then it would return the RBG values for A multiplied by .3 added with the RGB values of 'G' multiplied by 0.7. At least that was what I was thinking.
@ThePhantomGamer
Ok, thanks. I will implement that in my fork.
Please take a look at my branch to see if the first method aligns to what you need
Yeah, that looks great, submit a pull request!
Add a class that creates an RBG color for each of the ATGC letters. Add another method that returns an average color for a count of 'A', 'T', 'G' and 'C'
i.e.