Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

Recent content by kteemustc

  1. K

    JavaScript If /else statements on a for loop

    var img = new SimpleImage("eastereggs.jpg") print(img) for (var pixel of img.values() ) { if (pixel.getRed() > 70) { pixel.setRed(70) ; } } print(img); I'm trying to create a conditional statement on an image where all red pixels greater than 70 are reduced to 70.
Back
Top Bottom