{"id":13503169,"url":"https://github.com/sunjay/turtle","last_synced_at":"2025-05-15T21:05:39.253Z","repository":{"id":26241550,"uuid":"104974886","full_name":"sunjay/turtle","owner":"sunjay","description":"Create Animated Drawings in Rust","archived":false,"fork":false,"pushed_at":"2022-10-27T07:10:48.000Z","size":18218,"stargazers_count":568,"open_issues_count":57,"forks_count":54,"subscribers_count":17,"default_branch":"master","last_synced_at":"2025-05-09T14:17:42.809Z","etag":null,"topics":["draw","rust","turtle","turtle-graphics"],"latest_commit_sha":null,"homepage":"http://turtle.rs","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sunjay.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-09-27T05:15:59.000Z","updated_at":"2025-05-02T00:29:04.000Z","dependencies_parsed_at":"2022-07-25T18:22:29.593Z","dependency_job_id":null,"html_url":"https://github.com/sunjay/turtle","commit_stats":null,"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sunjay%2Fturtle","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sunjay%2Fturtle/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sunjay%2Fturtle/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sunjay%2Fturtle/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sunjay","download_url":"https://codeload.github.com/sunjay/turtle/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254422755,"owners_count":22068678,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["draw","rust","turtle","turtle-graphics"],"created_at":"2024-07-31T22:02:39.812Z","updated_at":"2025-05-15T21:05:39.222Z","avatar_url":"https://github.com/sunjay.png","language":"Rust","readme":"# turtle\n\n[![Crates.io](https://img.shields.io/crates/v/turtle.svg)](https://crates.io/crates/turtle)\n[![Docs.rs](https://docs.rs/turtle/badge.svg)](https://docs.rs/turtle)\n[![Crates.io](https://img.shields.io/crates/l/turtle.svg)](https://crates.io/crates/turtle)\n[![Crates.io](https://img.shields.io/crates/d/turtle.svg)](https://crates.io/crates/turtle)\n[![Build Status](https://dev.azure.com/sunjayv/turtle/_apis/build/status/sunjay.turtle?branchName=master)](https://dev.azure.com/sunjayv/turtle/_build/latest?definitionId=1\u0026branchName=master)\n[![Codecov](https://codecov.io/gh/sunjay/turtle/branch/master/graph/badge.svg)](https://codecov.io/gh/sunjay/turtle)\n[![Zulip](https://img.shields.io/badge/chat-on%20zulip-success)](https://turtle.zulipchat.com)\n[![Tokei Line Count](https://tokei.rs/b1/github/sunjay/turtle?category=code)](https://github.com/sunjay/turtle)\n\n*Tweet your drawings to us on Twitter at [@RustTurtle](https://twitter.com/RustTurtle) and follow us to see what is being created!*\n\nCreate animated drawings with the [Rust programming language][rust]. This\ncrate is a tool for teaching programming by drawing pictures. Learning this\nway is fun and interesting for people of all ages!\n\n**The idea:** You control a turtle with a pen tied to its tail. As it moves\nacross the screen, it draws the path that it follows. You can use this to draw\nany picture you want just by moving the turtle across the screen.\n\n![turtle moving forward](https://github.com/sunjay/turtle/raw/9240f8890d1032a0033ec5c5338a10ffa942dc21/forward.gif)\n\n## Documentation\n\n* [Website](http://turtle.rs)\n* [API Documentation](https://docs.rs/turtle)\n\n## Example\n\nAs a simple example, you can draw a circle with only the following code:\n\n```rust\nuse turtle::Turtle;\n\nfn main() {\n    let mut turtle = Turtle::new();\n\n    for _ in 0..360 {\n        // Move forward three steps\n        turtle.forward(3.0);\n        // Rotate to the right (clockwise) by 1 degree\n        turtle.right(1.0);\n    }\n}\n```\n\nThis will produce the following:\n\n![turtle drawing a circle](https://github.com/sunjay/turtle/raw/9240f8890d1032a0033ec5c5338a10ffa942dc21/circle.gif)\n\nSee the [`examples/`](https://github.com/sunjay/turtle/raw/master/examples)\ndirectory for more examples of how to use this crate.\n\n## Need help?\n\nThe following are some resources you can use to find help when you run into a\nproblem. The links are listed in the order you should try each one, but feel\nfree to come to the [Turtle Zulip] anytime if you are lost.\n\n* **Help with the Rust Language** - [Google], [Stack Overflow], [Rust Users Forum], [Turtle Zulip]\n* **Help with Turtle** - [Stack Overflow], [Turtle Zulip], [Google], [Rust Users Forum]\n* **Found a bug?** - [Open an issue][issues] (feel free to ask about your bug in the [Turtle Zulip] if you are not sure)\n\n[Google]: http://google.com/\n[Stack Overflow]: https://stackoverflow.com/\n[Rust Users Forum]: https://users.rust-lang.org/\n[Turtle Zulip]: https://turtle.zulipchat.com\n[issues]: https://github.com/sunjay/turtle/issues\n\n## Contributing\n\nSee [CONTRIBUTING.md](CONTRIBUTING.md) for information about contributing to\nthis project including how to build and test the project, submit new examples,\nreport bugs, and more.\n\n## Inspiration \u0026 Goals\n\nThis crate is inspired by the [Logo educational programming language][logo-lang].\nMany languages contain implementations of Logo's \"turtle graphics\". For example,\nthe [Python programming language][python] comes with a\n[built-in turtle module][turtle-py]. This crate is largely inspired by the\nPython implementation, but uses Rust conventions and best practices to provide\nthe best possible platform for learning Rust.\n\nThe goal of this crate is to be as easy to approach as possible and also provide\nthe opportunity to explore Rust's most advanced features. We welcome\ncontributions from anyone and everyone, including those that are new to the Rust\nprogramming language.\n\n[rust]: https://www.rust-lang.org/\n[logo-lang]: https://en.wikipedia.org/wiki/Logo_(programming_language)\n[python]: https://www.python.org/\n[turtle-py]: https://docs.python.org/2/library/turtle.html\n","funding_links":[],"categories":["Rust"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsunjay%2Fturtle","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsunjay%2Fturtle","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsunjay%2Fturtle/lists"}