Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

How to draw a Ninja Design using python turtle

import turtle
ninja = turtle.Turtle()
ninja.speed(10)

for i in range(180):
    ninja.forward(100)
    ninja.right(30)
    ninja.forward(20)
    ninja.left(60)
    ninja.forward(50)
    ninja.right(30)

    ninja.penup()
    ninja.setposition(0, 0)
    ninja.pendown()

    ninja.right(2)

turtle.done()
 
PREVIOUS NEXT
Tagged: #How #draw #Ninja #Design #python #turtle
ADD COMMENT
Topic
Name
8+8 =