C# |
Struggling to understand what this code doing?? help please
Hi i am trying to understand what this code doing can sum help me please justa few comments of whatver the function doing would really help me out as i have been trying to modify so i know what does what but i am strugling

JureRank #2,128 · 670 reputationPosted Nov 3, 2010, 1:54 PM EDT
The most confusing function that I can see is getColorFromWaveLength, which transforms wavelength to RGB values, and then uses those values to return Color object (Color.FromARGB).
For example, wavelength at 0 is red, at 25 it's red-green (equals yellow), at 50 it's green, and so on. The code above has different values, but I think you get the idea.