Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def schiarisciDueVolte(pict):
- # @param pict: Picture
- for p in getPixels(pict):
- col = getColor(p)
- lightCol = makeLighter(col)
- lighterCol = makeLighter(lightCol)
- setColor(p, lighterCol)
- show(pict) # questo non ci stava
- myPict = makePicture(pickAFile())
- schiarisciDueVolte(myPict)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement