Thursday 8 October 2015

Write a JavaScript program to make an image have more red in it, by adding a given value to the red, making sure it doesn’t go over 255. Your program should have a function called moreRed with two parameters, a pixel and a value to increase the red by. Run your program on an image to see it get redder.

1 comment:

  1. great man! i'm a new student of javascript from colombia and I'm studying the Duke-Coursera course, sincerely I wasn't be able to develop this program and I never thought it could be on the internet... fortunatelly it is, thanks so much for helping me and probably many others students. How did you learn javascritp? are you a master or you're just learning too?

    ReplyDelete