About 50 results
Open links in new tab
  1. python - different fill and border using turtle - Stack Overflow

    Mar 13, 2013 · thankyou very much, that works fine. a very simple to understand answer as well- thanks Worth noting the position of the 'fill' color changes with the number of parameters. For example, …

  2. Python turtle color changing and fill - Stack Overflow

    May 29, 2019 · There are several problems with your code -- the primary one is you're using the wrong color model. By default, turtle colors are specified as floating point values between 0.0 and 1.0. …

  3. How to fill with multiple color in Python using turtle module?

    Jun 13, 2015 · How to fill with multiple color in Python using turtle module? Asked 10 years, 8 months ago Modified 10 years, 8 months ago Viewed 7k times

  4. Changing only fill or line color in Python turtle

    Jan 30, 2021 · The turtle.color() takes in from zero to two arguments. If only one argument is provided, the turtle will change both its outline and its fill color to the color provided as the argument.

  5. Filling a shape with color in python turtle - Stack Overflow

    Nov 13, 2017 · Issues with your program: you create and set the speed of a turtle that you don't actually use; turtle.py already has a shape() method so don't override it to mean something else, pick a new …

  6. python - Turtle graphics, draw a filled star? - Stack Overflow

    turtle.color("purple") turtle.begin_fill() turtle.circle(100, extent=720, steps=5) turtle.end_fill() However, this code has two problems: it isn't the same style star as your illustration; it doesn't work the same on all …

  7. How Can I Fill These Squares in Turtle - Python - Stack Overflow

    Sep 17, 2012 · I am trying to fill the color in these squares: Right now the turtle only fills the corners of theses squares, not the entire square. Here is my code: import turtle import time import random pri...

  8. Python Turtle transparent fill? - Stack Overflow

    Nov 13, 2020 · I'm trying to recreate this picture using the Turtle library: but I'm struggling when trying to make the inner circles 'transparent'. I searched the documentation but found no way to change the op...

  9. Fill color is not working for my function (Python turtle graphics ...

    Nov 10, 2019 · Fill color is not working for my function (Python turtle graphics) Asked 6 years, 3 months ago Modified 6 years, 3 months ago Viewed 4k times

  10. Filling rectangles with colors in python using turtle

    May 27, 2016 · The color of the lines are blue and the fill color, from top to bottom is grey0, grey14, grey28, …. How can I do this and make sure the picture fits onto the screen?