Giter Site home page Giter Site logo

picture_11's Introduction

picture_11

картинка на python from graph import * windowSize(600, 1200) #небо penColor(0,10,10) penSize(2) brushColor(0,10,10)

rectangle(3,3 ,500, 400)

#земля penColor(0,200,200) penSize(2) brushColor(0,200,200)

rectangle(3,400 ,500, 900)

#левый верхний 1 penColor(0,100,200) penSize(2) brushColor(0,100,200)

rectangle(10,10 ,100, 400)

#левый верхний 2 penColor(0,150,200) penSize(2) brushColor(0,150,200)

rectangle(120,20 ,210, 410)

#левый нижний penColor(0,150,100) penSize(2) brushColor(0,150,100)

rectangle(90,90 ,180, 460)

#правый верхний penColor(0,100,100) penSize(2) brushColor(0,100,100)

rectangle(400,10 ,490, 410)

#правый нижний penColor(0,200,100) penSize(2) brushColor(0,200,100)

rectangle(310 ,50 ,400, 460)

#овальчики penColor(100,100,10) penSize(2) brushColor(100,100,0)

c=canvas() c.create_oval(150,5,590,100) c.create_oval(5,40,300,130) c.create_oval(100,150,590,250) c.create_oval(5,300,200,360) c.create_oval(10,420,130,470) c.create_oval(10,480,130,530) c.create_oval(-30,450,600,650)

#машинка ##крыша penColor(100,0,100) penSize(2) brushColor(100,0,100)

rectangle(250 ,450 ,400, 500) ##корпус penColor(100,0,100) penSize(2) brushColor(100 ,0 ,100)

rectangle(200 ,500 ,450 ,550)

окошки

penColor(0,0,10) penSize(2) brushColor(0,0,10)

rectangle(260 ,460 ,315, 500)

penColor(0,0,10) penSize(2) brushColor(0,0,10)

rectangle(335 ,460 ,390, 500) ##колёса penColor(0,0,10) penSize(2) brushColor(0,0,10)

circle(250 , 540 , 20) circle(400,540,20)

onKey(keyPressed) onTimer(update, 50)

run()

picture_11's People

Contributors

anastasiailina avatar shuleshkoandrew avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.