Advertisement
davide1409

schiarisciDueVolte

Nov 19th, 2019
399
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.31 KB | None | 0 0
  1. def schiarisciDueVolte(pict):
  2. # @param pict: Picture
  3.   for p in getPixels(pict):
  4.     col = getColor(p)
  5.     lightCol = makeLighter(col)
  6.     lighterCol = makeLighter(lightCol)
  7.     setColor(p, lighterCol)
  8.    
  9.   show(pict) # questo non ci stava
  10.  
  11.  
  12.  
  13. myPict = makePicture(pickAFile())
  14. schiarisciDueVolte(myPict)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement