One comment on “Spectrum-Generating Color Function Using Sine Waves

  1. Hi, I’ve tried to use your function, but there is a “y” not defined on lines 3,5,7. I’ve tried to substitute respectively with r,g,b (reading the article it seemed to me that should be the idea!), but I only get Red, Green and Blue colors using m = 10000 and ciclyng trough different values of n (from 0 to 10000)… could you help me?
    thank you in advance!

Leave a Reply