Skip to content

Is there any easy way for beginners to use the turtle Python module on Py5 ? #660

@wissme

Description

@wissme

It's in the title :

import py5
import turtle as tt

def setup():
py5.size(500,500)
lea = tt.Turtle()

def draw():
lea.forward(1)
lea.left(10)
if py5.frame_count > 20 : py5.no_loop()

py5.run_sketch()

I know I can code myself a simple Turtle class, or use translate, rotate, etc. but just using the turtle CPython module ?
Maybe somebody has already a py5.Turtle class available ?
Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions