Create a movie where a person seems to be fading out of the scene. You can base

Question:

Create a movie where a person seems to be fading out of the scene. You can base this on the slowFadeout function (Program 177 (page 393)).


Data from Program 177

def swapBack (pic1, back, newBg, threshold): for x in range (0, getwidth(pic1)): for y in range (0, getHeight(pic1)): p1Pixel = getPixel(picl,x,y) backPixel = getPixel(back,x,y) if (distance (getColor(p1Pixel),getColor(backPixel)) < threshold): setColor(p1Pixel,getColor(getPixel (newBg, x,y))) return picl def slowFadeout (directory): origBack = makePicture(getMediaPath(

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question
Question Posted: