@@ -9,6 +9,14 @@ |
zu Python: http://python.net/~goodger/projects/pycon/2007/idiomatic/handout.html |
|
Die Schildkröte malt uns ein Koordinatensystem: |
+ |
+ Colormode(255) |
+ Pencolor((255,128,0)) |
+ |
+ Def Mix(color1,color2,weight2): |
+ For rgb in color |
+ Ne'wsbase=int((base1+base2*weight2)/(weight2+1)) |
+ Return result (r,g,b) |
|
---- |
import turtle |
| |