Python Turtle Opacity?
问题 Just wondering, is it possible to make a turtle draw/fill with semi-transparent ink? Something like: turtle.setfillopacity(50) # Would set it to 50% transparency Running python 2.7 回答1: It's not possible to do that, but you could define your colors, and then a light equivalent, and use those. Red = (255,0,0,0) LRed = (100,0,0) I think that would achieve similar effects. You could then just use a lighter color when you want it semi-transparent. 回答2: This python turtle example fades out the