drawing

Published: 25 February 2023
on channel: Rayan Kiwan electronics
1,021
like

HELLO ALL IN THIS VIDEO I WILL DRAW MERCEDES LOGO USING PYTHON CODE LETS SIMULATE THE OUTPUT RESULTS using trinket
#programming #python #mercedes #mercedesbenz #mercedesamg #car #coding
You can check simulation file
https://trinket.io/python/39f56acb42

And the python code is listed below

import turtle
import time
myPen = turtle.Turtle()
myPen.shape("turtle")
myPen.speed(10)

myPen.color("#333333")

def clearScreen():
  myPen.penup()
  myPen.goto(0,0)
  myPen.setheading(0)
  myPen.clear()
  myPen.pendown()
 
def drawMercedesLogo():
  clearScreen()
  myPen.color("silver")
  myPen.circle(100)
  myPen.left(90)
  myPen.penup()
  myPen.forward(100)
  myPen.pendown()
  myPen.begin_fill()
  myPen.forward(100)
  myPen.penup()
  myPen.forward(-100)
  myPen.left(120)
  myPen.pendown()
 
  myPen.forward(100)
  myPen.penup()
  myPen.forward(-80)
  myPen.goto(-15,105)
 

  myPen.left(230)
  myPen.pendown()
  myPen.forward(90)
  myPen.penup()
  myPen.left(198)
  myPen.pendown()
  myPen.forward(90)
  myPen.left(45)
  myPen.forward(90)
  myPen.left(195)
  myPen.forward(94)
  myPen.left(45)
  myPen.forward(90)
  myPen.right(165)
  myPen.forward(90)
  myPen.penup()
  myPen.goto(0,100)
  myPen.pendown()
  myPen.right(68)
  myPen.forward(100)
  myPen.end_fill()
  myPen.penup()
  myPen.goto(-10,-100)
  myPen.color("black")
  myPen.write("Rayan Kiwan electronics",None, "center", "14pt bold")
  myPen.goto(-100,-400)
drawMercedesLogo()

#python #pythonprogramming #coding #mercedes #logo #mercedesbenz #code #artificialintelligence #tech #technology #turtlepython #all #computer #science #Subscribe #like #share #follow

Also you can check other videos playlist in my YouTube channel :


Arduino Bluetooth projects
   • Arduino Bluetooth projects  

Solar energy

   • Solar energy  

MATLAB ROBOTICS PROJECTS
   • MATLAB,SIMULINK,QUANSER PROJECTS  

Artificial intelligence
   • artificial intelligence  

Arduino lcd projects
   • LCD projects  

5G microstrip antenna design
   • microstrip antenna for 5G  

Electronics circuits
   • electronic circuits using transistors  

Home automation
   • home automation  

Arduino led projects
   • Arduino led projects  

MIT app inventor
   • MIT app inventor  

Arduino projects using motors
   • Arduino project using motors  

Robotics
   • Robotics  

Oled arduino projects
   • OLED  

Arduino songs
   • arduino songs  

Arduino max7219 projects
   • arduino max7219 projects  

Python programming projects
   • Python programming  

Valentine's day projects
   • Valentine's day projects  

Electronics circuits using diode
   • Electronic circuits using diodes  

Computer secret codes
   • Computer secret codes  

PLC ladder diagram
   • plc ladder diagram  

Coding using Black box
   • black box code  


On this page of the site you can watch the video online drawing with a duration of hours minute second in good quality, which was uploaded by the user Rayan Kiwan electronics 25 February 2023, share the link with friends and acquaintances, this video has already been watched 1,021 times on youtube and it was liked by like viewers. Enjoy your viewing!