Basic Python Turtle Art
Basic Python Turtle Art
  • Видео 180
  • Просмотров 25 627
Simple Python Turtle Graphic and Code: Bloom 2
A floral image created with squares or diamonds and circles.
import turtle
import colorsys #Module call to, in this illustration, allow use of HSV color system
t = turtle.Turtle() #Definitions and Initializations
screen = turtle.Screen()
t.speed(0) #Changeable to other fast speed numbers
t.pensize(3) #Changeable line width
side_length = 10 #Changeable to a number close to 10; Distance between two consecutive vertices of a square
number_of_layers = 15 #Changeable to a number close to 15; Count of circular bands of squares or diamonds
diamonds_per_layer = 13 #Changeable to a number close to 13; Count of squares or diamonds per circular band
gap_betw_layers = 7 #Changeable to a number close to 7; ...
Просмотров: 90

Видео

Simple Python Turtle Graphic and Code: Bloom 1
Просмотров 7128 дней назад
An image of a flower generated by a petal that changes in size and color from one layer to another. Feel free to copy the basic Python Turtle code that is given below. Don't hesitate to ask questions about the code if you have any. Enjoy! Please comment, like, or subscribe :) Incidentally, for manually colorable graphics and variations, please visit my author site at www.amazon.com/author/basic...
Simple Python Turtle Graphic and Code Line Segments 3
Просмотров 61Месяц назад
Another image created with line segments connecting paired points. Feel free to copy the simple Python Turtle code that is given below. Don't hesitate to ask questions about the code if you have any. Enjoy! Please comment, like, or subscribe :) Incidentally, for manually colorable graphics and variations, please visit my author site at www.amazon.com/author/basicpythonturtleart.url (Ooops! I fo...
Simple Python Turtle Graphic and Code: Line Segments 2
Просмотров 80Месяц назад
A six-pointed image completed with line segments crisscrossing each arm pair. Feel free to copy the basic Python Turtle code that is given below. Don't hesitate to ask questions about the code if you have any. Enjoy! Please comment, like, or subscribe :) Incidentally, for manually colorable graphics and variations, please visit my author site at www.amazon.com/author/basicpythonturtleart.url Fo...
Simple Python Turtle Graphic and Code Line Segments 1 Made with Clipchamp
Просмотров 602 месяца назад
A graphic drawn by line segments connecting point pairs from four arms. Feel free to copy the simple Python Turtle code that is given below. Don't hesitate to ask questions about the code if you have any. Enjoy! Please comment, like, or subscribe :) Incidentally, for manually colorable graphics and variations, please visit my author site at www.amazon.com/author/basicpythonturtleart.url import ...
Simple Python Turtle Graphic and Code Octagon Swirl
Просмотров 622 месяца назад
A spinning wheel generated by alternating-colored and size-decreasing octagons drawn one on top of another. Feel free to copy the basic Python Turtle code that is given below. Don't hesitate to ask questions about the code if you have any. Enjoy! Please comment, like, or subscribe :) Incidentally, for manually colorable graphics and variations, please visit my author site at www.amazon.com/auth...
Simple Python Turtle Graphic and Code: Pentagon Swirl
Просмотров 872 месяца назад
A tunnel-like image generated by shrinking pentagons. Feel free to copy the simple Python Turtle code that is given below. Don't hesitate to ask questions about the code if you have any. Enjoy! Please comment, like, or subscribe :) Incidentally, for manually colorable graphics and variations, please visit my author site at www.amazon.com/author/basicpythonturtleart.url import turtle t = turtle....
Simple Python Turtle Graphic and Code Spark 3 Made with Clipchamp
Просмотров 433 месяца назад
Simple Python Turtle Graphic and Code Spark 3 Made with Clipchamp
Simple Python Turtle Graphic and Code: Spirograph 7
Просмотров 2093 месяца назад
Simple Python Turtle Graphic and Code: Spirograph 7
Simple Python Turtle Graphic and Code: Spirograph 6
Просмотров 693 месяца назад
Simple Python Turtle Graphic and Code: Spirograph 6
Simple Python Turtle Graphic and Code: Spirograph 5
Просмотров 1053 месяца назад
Simple Python Turtle Graphic and Code: Spirograph 5
Simple Python Turtle Graphic and Code: colorsys hsv 4 Bent Metal
Просмотров 654 месяца назад
Simple Python Turtle Graphic and Code: colorsys hsv 4 Bent Metal
Simple Python Turtle Graphic and Code: colorsys hsv 3
Просмотров 1374 месяца назад
Simple Python Turtle Graphic and Code: colorsys hsv 3
Simple Python Turtle Graphic and Code: colorsys hsv 2
Просмотров 2744 месяца назад
Simple Python Turtle Graphic and Code: colorsys hsv 2
Simple Python Turtle Graphic and Code colorsys hsv 1
Просмотров 2475 месяцев назад
Simple Python Turtle Graphic and Code colorsys hsv 1
Simple Python Turtle Graphic and Code: Infiniti Logo
Просмотров 435 месяцев назад
Simple Python Turtle Graphic and Code: Infiniti Logo
Simple Python Turtle Graphic and Code: Tesla Logo
Просмотров 525 месяцев назад
Simple Python Turtle Graphic and Code: Tesla Logo
Simple Python Turtle Graphic and Code: Vignette
Просмотров 396 месяцев назад
Simple Python Turtle Graphic and Code: Vignette
Simple Python Turtle Graphic and Code: Simple Spiral
Просмотров 1346 месяцев назад
Simple Python Turtle Graphic and Code: Simple Spiral
Simple Python Turtle Graphic and Code: Spark 2
Просмотров 836 месяцев назад
Simple Python Turtle Graphic and Code: Spark 2
Simple Python Turtle Graphic and Code: Spark 1
Просмотров 757 месяцев назад
Simple Python Turtle Graphic and Code: Spark 1
Simple Python Turtle Graphic and Code: Spirograph 4 24 Arcs
Просмотров 797 месяцев назад
Simple Python Turtle Graphic and Code: Spirograph 4 24 Arcs
Simple Python Turtle Graphic and Code: Spirograph 3
Просмотров 707 месяцев назад
Simple Python Turtle Graphic and Code: Spirograph 3
Simple Python Turtle Graphic and Code: Coil
Просмотров 438 месяцев назад
Simple Python Turtle Graphic and Code: Coil
Simple Python Turtle Graphic and Code: Poppies
Просмотров 338 месяцев назад
Simple Python Turtle Graphic and Code: Poppies
Simple Python Turtle Graphic and Code: Almonds 2
Просмотров 1429 месяцев назад
Simple Python Turtle Graphic and Code: Almonds 2
Simple Python Turtle Graphic and Code: Eights
Просмотров 1609 месяцев назад
Simple Python Turtle Graphic and Code: Eights
Simple Python Turtle Graphic and Code: Diamonds
Просмотров 689 месяцев назад
Simple Python Turtle Graphic and Code: Diamonds
Simple Python Turtle Graphic and Code: Spirograph 2
Просмотров 7610 месяцев назад
Simple Python Turtle Graphic and Code: Spirograph 2
Simple Python Turtle Graphic and Code: Spirograph 1
Просмотров 11310 месяцев назад
Simple Python Turtle Graphic and Code: Spirograph 1

Комментарии

  • @basicpythonturtleart
    @basicpythonturtleart 18 дней назад

    For manually colorable graphics, please visit www.amazon.com/author/basicpythonturtleart.url

  • @JonelLopez-wp8zo
    @JonelLopez-wp8zo 21 день назад

    🎉🎉🎉🎉🎉🎉🎉🎉🎉🎉🎉🎉 Amazing, how do you do that.

    • @basicpythonturtleart
      @basicpythonturtleart 20 дней назад

      Tell the computer what to do in a code that it understands :) Entiendes?

  • @basicpythonturtleart
    @basicpythonturtleart 29 дней назад

    For manually colorable graphics please visit www.amazon.com/author/basicpythonturtleart.url

  • @basicpythonturtleart
    @basicpythonturtleart 29 дней назад

    For manually colorable graphics please visit www.amazon.com/author/basicpythonturtleart.url

  • @basicpythonturtleart
    @basicpythonturtleart Месяц назад

    For manually colorable graphics, please visit www.amazon.com/author/basicpythonturtleart.url Here's the Python code: import turtle t = turtle.Turtle() #Definitions and Initializations screen = turtle.Screen() t.pensize(4) t.speed(4) side_length = 255 #Changeable; Length of 6 arms side_pts_number = 14 #Changeable; Count of points on one of 6 arms distance_betw_pts = 2 * side_length / 3 ** 0.5 / (side_pts_number - 1) #Gap bewteen consecutive points on an arm point_set1 = [] #Initialization of list to contain points on 1st arm in a pair of arms point_set2 = [] #Initialization of list to contain points on 2nd arm in a pair of arms def point_sets(x): #Procedure to identify and list points on the 1st and 2nd arms in the t.color("red") #current pair of arms, where x is identified below as distance_betw_pts for j in range(2): #2 is for two arms for i in range(side_pts_number): if j == 0: point_set1.append(t.pos()) #Append or record current turtle position to 1st arm list if j == 1: point_set2.append(t.pos()) #Append or record current turtle position to 2nd arm list if i == side_pts_number - 1: #Conditional execution if the point that is listed is the last in an arm t.right(120) else: #Alternative execution if the point that is listed is not the last in an arm t.forward(x) def connect_pts(a, b): #Procedure for connecting point pairs from (a) 1st and (b) 2nd arms for i in range(side_pts_number - 1): if (side_pts_number - 1) // 3 < i < 2 * (side_pts_number - 1) // 3: #Conditional execution if i is between the t.color("blue") #indicated limits else: #Conditional execution if i is not between the indicated limits above t.color("red") t.goto(a[i]) t.pendown() t.goto(b[i + 1]) t.penup() t.penup() #Python_Graphic start of drawing procedure t.goto(-side_length / 3 ** 0.5, side_length) #Trail-less turtle movement to outer tip of north northwest (NNW) pointing arm t.right(60) t.pendown() for i in range(6): #Loop to identify and list the connecting points in the 6 possible pairs of arms, point_sets(distance_betw_pts) #namely, north northwest (NNW) - west (W), west (W) - south southwest (SSW), t.penup() #SSW - SSE, SSE - E, E - NNE, and NNE - NNW connect_pts(point_set1, point_set2) point_set1.clear() #Stepwise emptying of point_set1 and point_set2 lists after connecting points in point_set2.clear() #a pair of arms t.right(60) t.pendown() t.hideturtle() screen.exitonclick()

  • @ZukiMSM
    @ZukiMSM Месяц назад

    Code pls!

    • @basicpythonturtleart
      @basicpythonturtleart Месяц назад

      Here it is. :) import turtle t = turtle.Turtle() screen = turtle.Screen() t.pensize(4) t.speed(4) screen.bgcolor("black") t.color("light green") side_length = 155 side_pts_number = 7 distance_betw_pts = 2 * side_length / 3 ** 0.5 / \ (side_pts_number - 1) point_set1 = [] point_set2 = [] def point_sets(x): for j in range(2): for i in range(side_pts_number): if j == 0: point_set1.append(t.pos()) if j == 1: point_set2.append(t.pos()) if i == side_pts_number - 1: t.right(120) else: t.forward(x) def connect_pts(a, b): for i in range(side_pts_number - 1): t.goto(a[i]) t.pendown() t.goto(b[i + 1]) t.penup() t.penup() t.goto(-side_length / 3 ** 0.5, side_length) t.right(60) t.pendown() for i in range(6): point_sets(distance_betw_pts) t.penup() connect_pts(point_set1, point_set2) point_set1.clear() point_set2.clear() t.right(60) t.pendown() t.hideturtle() screen.exitonclick()

    • @ZukiMSM
      @ZukiMSM Месяц назад

      @@basicpythonturtleart... Thank you!

  • @basicpythonturtleart
    @basicpythonturtleart 2 месяца назад

    For manually colorable graphics, please visit amazon.com/author/basicpythonturtleart.url

  • @basicpythonturtleart
    @basicpythonturtleart 2 месяца назад

    For manually colorable graphics, please visit www.amazon.com/author/basicpythonturtleart.url

  • @basicpythonturtleart
    @basicpythonturtleart 3 месяца назад

    For manually colorable graphics, please visit amazon.com/author/basicpythonturtleart.url

  • @basicpythonturtleart
    @basicpythonturtleart 3 месяца назад

    For manually colorable graphics, please visit www.amazon.com/author/basicpythonturtleart.url

  • @basicpythonturtleart
    @basicpythonturtleart 3 месяца назад

    For manually colorable graphics, please visit www.amazon.com/author/basicpythonturtleart.url

  • @khush5133
    @khush5133 4 месяца назад

    Nicee❤

  • @basicpythonturtleart
    @basicpythonturtleart 4 месяца назад

    For manually colorable graphics please visit www.amazon.com/author/basicpythonturtleart.url

  • @basicpythonturtleart
    @basicpythonturtleart 4 месяца назад

    For manually colorable graphics, please visit www.amazon.com/author/basicpythonturtleart.url

  • @basicpythonturtleart
    @basicpythonturtleart 4 месяца назад

    For manually colorable graphics and variations, please visit www.amazon.com/author/basicpythonturtleart.url

  • @basicpythonturtleart
    @basicpythonturtleart 5 месяцев назад

    For manually colorable graphics, please visit www.amazon.com/author/basicpythonturtleart.url

  • @basicpythonturtleart
    @basicpythonturtleart 5 месяцев назад

    For manually colorable graphics, please visit www.amazon.com/author/basicpythonturtleart.url

  • @basicpythonturtleart
    @basicpythonturtleart 5 месяцев назад

    For manually colorable graphics, please visit www.amazon.com/authot/basicpythonturtleart.url

  • @basicpythonturtleart
    @basicpythonturtleart 5 месяцев назад

    For manually colorable graphics, please visit www.amazon.com/authot/basicpythonturtleart.url

  • @Mirage1951
    @Mirage1951 5 месяцев назад

    Beautiful🤩

  • @basicpythonturtleart
    @basicpythonturtleart 6 месяцев назад

    For manually colorable graphics, please visit www.amazon.com/authot/basicpythonturtleart.url

  • @basicpythonturtleart
    @basicpythonturtleart 6 месяцев назад

    For manually colorable graphics, please visit www.amazon.com/author/basicpythonturtleart.url

  • @basicpythonturtleart
    @basicpythonturtleart 7 месяцев назад

    For manually colorable graphics, please visit www.amazon.com/author/basicpythonturtleart.url

  • @basicpythonturtleart
    @basicpythonturtleart 7 месяцев назад

    For manually colorable graphics, please visit www.amazon.com/author/basicpythonturtleart.url

  • @basicpythonturtleart
    @basicpythonturtleart 7 месяцев назад

    For manually colorable graphics, please visit www.amazon.com/author/basicpythonturtleart.url

  • @basicpythonturtleart
    @basicpythonturtleart 8 месяцев назад

    For manually colorable graphics, please visit www.amazon.com/author/basicpythonturtleart.url

  • @random_kidoofer8198
    @random_kidoofer8198 8 месяцев назад

    Best thing I have ever seen ❤

  • @basicpythonturtleart
    @basicpythonturtleart 8 месяцев назад

    For manually colorable graphics, please visit www.amazon/author/basicpythonturtleart.url

  • @basicpythonturtleart
    @basicpythonturtleart 8 месяцев назад

    For manually colorable graphics, please visit amazon.com/author/basicpythonturtleart.url

  • @basicpythonturtleart
    @basicpythonturtleart 9 месяцев назад

    For manually colorable graphics, please visit amazon.com/author/basicpythonturtleart.url

  • @basicpythonturtleart
    @basicpythonturtleart 9 месяцев назад

    For manually colorable graphics, please visit www.amazon.com/author/basicpythonturtleart.url

  • @basicpythonturtleart
    @basicpythonturtleart 9 месяцев назад

    For manually colorable graphics, please visit amazon.com/author/basicpythonturtleart.url

  • @basicpythonturtleart
    @basicpythonturtleart 10 месяцев назад

    For manually colorable graphics, please visit amazon.com/author/basicpythonturtleart.url

  • @basicpythonturtleart
    @basicpythonturtleart 10 месяцев назад

    For manually colorable graphics, please visit amazon.com/author/basicpythonturtleart.url

  • @basicpythonturtleart
    @basicpythonturtleart 10 месяцев назад

    For manually colorable graphics, please visit amazon.com/author/basicpythonturtleart.url

  • @basicpythonturtleart
    @basicpythonturtleart 11 месяцев назад

    For manually colorable graphics, please visit amazon.com/author/basicpythonturtleart.url

  • @basicpythonturtleart
    @basicpythonturtleart 11 месяцев назад

    For manually colorable graphics, please visit amazon.com/author/basicpythonturtleart.url

  • @AlannaWandz
    @AlannaWandz 11 месяцев назад

    Thank you so much for all your vids, hey are extremely helpful and this is the only episode that my assignment may have in common but I don't care, this helped me in coding so i subscribed to you

  • @basicpythonturtleart
    @basicpythonturtleart 11 месяцев назад

    For manually colorable graphics, please visit amazon.com/author/basicpythonturtleart.url

  • @basicpythonturtleart
    @basicpythonturtleart Год назад

    For manually colorable graphics, please visit amazon.com/author/basicpythonturtleart.url

  • @basicpythonturtleart
    @basicpythonturtleart Год назад

    For manually colorable graphics, please visit amazon.com/author/basicpythonturtleart.url

  • @basicpythonturtleart
    @basicpythonturtleart Год назад

    For manually colorable graphics, please visit amazon.com/author/basicpythonturtleart.url

  • @zahraaalgburi8925
    @zahraaalgburi8925 Год назад

    Do you have online classes?

    • @basicpythonturtleart
      @basicpythonturtleart Год назад

      I am a retired Assistant Professor in Math so I no longer have on-site and online classes. If you want online tutoring however, I am free 10 am to 12 noon Guam time. I charge $35 per hour via Paypal so please have a Paypal account first. I hope to hear from you.

  • @basicpythonturtleart
    @basicpythonturtleart Год назад

    For manually colorable graphics, please visit amazon.com/author/basicpythonturtleart.url :)

  • @basicpythonturtleart
    @basicpythonturtleart Год назад

    For manually colorable graphics, please visit amazon.com/author/basicpythonturtleart.url

  • @basicpythonturtleart
    @basicpythonturtleart Год назад

    For manually-colorable graphics, please visit amazon.com/author/basicpythonturtleart.url

  • @basicpythonturtleart
    @basicpythonturtleart Год назад

    For manually colorable graphics, please visit amazon.com/author/basicpythonturtleart.url

  • @basicpythonturtleart
    @basicpythonturtleart Год назад

    For manually colorable graphics, please visit amazon.com/author/basicpythonturtleart.url

  • @basicpythonturtleart
    @basicpythonturtleart Год назад

    For manually colorable graphics, please visit amazon.com/author/simplepythonturtleart.url

  • @basicpythonturtleart
    @basicpythonturtleart Год назад

    For manually colorable graphics and variations, please visit my author site at amazon.com/author/basicpythonturtleart.url