Turtle database (turtles)

Source: Internet
Author: User
Turtle Library (Image Library) standard library + third-party library = Python computing ecosystem library layout turtle. setup (width, height, startx, starty) sets the size and position of the form (the computer screen position in the upper right corner) turtle. screensize (widith, height, "color") space coordinate system absolute coordinate turtle. goto (x, y) returns the coordinates turtle. fdturtle. bkturtle. circle (radius, extent, step) angle order 3 triangle angle coordinate system absolute angle Seth () changes the direction of the returnee only changes the direction but not the angle absolute angle of the returnee angle turtle. left (angle) turtle. right (angle) RGB color system (red, green, and blue) 0 ~ 255 white 255 255 255 1 1 yellow 255 255 0 1 0 foreign red 255 0 255 1 0 1 color switch turtle. colormode (mode) 1.0 decimal 255 integer default decimal paint control function penup () Lift paint pendown () drop paint pensize () paint width pencolor () paint color dot (r) draw the dot color string turtle. pencolor ("Purple") RGB small value turtle. pencolor (0.63, 0.13, 0.94) RGB tuples value turtle. pencolor (0.63, 0.13.0.94) motion control function FD () circle ()

Turtle database (turtles)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.