Posts

Showing posts from October 4, 2022

New Post

TURTLE GRAPHICS USING PYTHON || CIRCLE PATTERN || ~xRay Pixy

Image
TURTLE GRAPHICS USING PYTHON SOURCE CODE import turtle as r r.title('CIRCLE PATTERN') r.speed(20) r.bgcolor('white') r.shape('circle') r.color('red') for i in range (0,360,10):     r.seth(i)     r.circle(125) r.done() OUTPUT

PYTHON TURTLE GRAPHICS DESIGNS || Geometric Art || ~xRay Pixy

Image
PYTHON TURTLE GRAPHICS DESIGNS SOURCE CODE FOR SPIRAL HEXAGON import turtle colors = ['red','yellow','blue','green','white','orange','silver','pink'] s = turtle.Pen() turtle.bgcolor('black') for i in range (250):     s.pencolor(colors [i % 6])     s.width(i/100 +1)     s.forward(i)     s.left(50) OUTPUT

Python Turtles Graphics | Source Code | ~xRay Pixy

Image
Python Turtles Graphics || Source Code || PYTHON TURTLE SOURCE CODE import turtle c = turtle.Turtle() c.color("blue") c.pensize(10) c.shape("turtle") c.backward(150) c.left(90) c.forward(150) c.right(90) c.forward(150) c.left(45) c.forward(40) c.right(67) c.backward(50) c.left(250) c.backward(60) c.left(180) c.forward(50) c.right(90) c.forward(100) c.down() c.forward(150) c.left(60) c.down() c.forward(40) c.down() c.right(60) c.forward(100) c.left(230) c.forward(200) c.up() c.right(52) c.forward(50) c.backward(200) c.left(20) c.forward(100) turtle.done()
More posts