{"id":16986932,"url":"https://github.com/amrdeveloper/turtle","last_synced_at":"2025-03-17T09:30:33.753Z","repository":{"id":44248310,"uuid":"511256828","full_name":"AmrDeveloper/Turtle","owner":"AmrDeveloper","description":"Turtle Graphics 🐢 implementation for Android Platform with Code Editor, Preview Screen and packages","archived":false,"fork":false,"pushed_at":"2025-01-24T21:15:43.000Z","size":4734,"stargazers_count":31,"open_issues_count":1,"forks_count":4,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-03-16T08:29:52.976Z","etag":null,"topics":["drawing-app","lilo","logo","programming-language","turtle-graphics"],"latest_commit_sha":null,"homepage":"https://play.google.com/store/apps/details?id=com.amrdeveloper.turtle","language":"Kotlin","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/AmrDeveloper.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":"amrdeveloper"}},"created_at":"2022-07-06T18:50:52.000Z","updated_at":"2025-01-24T21:15:47.000Z","dependencies_parsed_at":"2024-07-17T23:47:23.500Z","dependency_job_id":"5a2c300b-5f28-4865-85fd-05c8cf2ee40a","html_url":"https://github.com/AmrDeveloper/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/AmrDeveloper%2FTurtle","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AmrDeveloper%2FTurtle/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AmrDeveloper%2FTurtle/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AmrDeveloper%2FTurtle/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AmrDeveloper","download_url":"https://codeload.github.com/AmrDeveloper/Turtle/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243858159,"owners_count":20359253,"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":["drawing-app","lilo","logo","programming-language","turtle-graphics"],"created_at":"2024-10-14T02:47:24.859Z","updated_at":"2025-03-17T09:30:32.854Z","avatar_url":"https://github.com/AmrDeveloper.png","language":"Kotlin","funding_links":["https://github.com/sponsors/amrdeveloper"],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003eTurtle Graphics\u003c/h1\u003e\u003c/br\u003e\n\n\u003cp align=\"center\"\u003e\n\u003cimg src=\"media/turtle_graphics_logo.svg\" width=\"20%\" height=\"20%\"/\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\nTurtle is an Android Application inspired from the original Turtle Graphics and Logo, Logo is an educational programming language designed in 1967 by Computer scientists Wally Feurzeig, Seymour Papert, and Cynthia Solomon and it known for its use of turtle graphics,\nthis project has a simple tree walking interpreted language called Lilo (Inspired from Logo too :D), with declarations statements, control flow, collections, and instructions for control the turtle in 2D Space which is our case a custom Android Canvas View and also control colors\n\u003c/p\u003e\n\n# Download\n\n\u003ca href='https://play.google.com/store/apps/details?id=com.amrdeveloper.turtle'\u003e\u003cimg alt='Get it on Google Play' src='https://upload.wikimedia.org/wikipedia/commons/thumb/7/78/Google_Play_Store_badge_EN.svg/512px-Google_Play_Store_badge_EN.svg.png' width=\"20%\" height=\"60\"/\u003e\u003c/a\u003e\n\u003ca href=\"https://www.amazon.com/AmrDeveloper-Turtle-Graphics/dp/B0B5NN3Q43\"\u003e\u003cimg src=\"https://images-na.ssl-images-amazon.com/images/G/01/mobile-apps/devportal2/res/images/amazon-appstore-badge-english-black.png\" alt=\"Amazon App Store\" width=\"20%\" height=\"60\"\u003e\u003c/a\u003e\n\u003ca href=\"https://galaxystore.samsung.com/detail/com.amrdeveloper.turtle\"\u003e\u003cimg src=\"https://img.samsungapps.com/seller/images/badges/galaxyStore/png_big/GalaxyStore_English.png\" alt=\"Samsung Galaxy Store\" width=\"20%\" height=\"60\"\u003e\u003c/a\u003e\n\u003ca href=\"https://appgallery.huawei.com/#/app/C106630055\"\u003e\u003cimg src=\"https://upload.wikimedia.org/wikipedia/commons/e/e7/Huawei_AppGallery_white_badge_EN.png\" alt=\"Huawei AppGallery\" width=\"20%\" height=\"60\"\u003e\u003c/a\u003e\n\n\n## Screenshots\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"media/screenshots/screenshot_editor.png\" width=\"30%\" height=\"500\"\u003e\n  \u003cimg src=\"media/screenshots/screenshot_preview.png\" width=\"30%\" height=\"500\"\u003e\n  \u003cimg src=\"media/screenshots/screenshot_docs.png\" width=\"30%\" height=\"500\"\u003e\n\u003c/p\u003e\n\n## Features\n- Free And open source with no ads.\n- Full Text Editor that support auto complete, snippets, highlighter for Lilo.\n- Clear diagnostics messages with line number and column position.\n- Supports Lexer, Parser errors and Runtime exceptions\n- Preview custom view with turtle that show the current direction.\n- Full documentation view that teach you how to write your script.\n- Save and Update your current script into packages with name.\n\n## Declarations\n\n- Let Declaration to declare variables\n\n```\nlet c = BLACK\n```\n\n- Function Declaration to declare function with 0 or more parameters\n\n```\nfun f1 (n) {\n   return n * 2\n}\n\nfun f2 {}\n\nfun f3 (n) = n * 2\n\nfun f4 = 1000\n```\n\n## Control flow\n\n- If statement to execute block if the condition is true\n\n```\nif condition {}\nelif condition2 {}\nelif condition3 {}\nelse {}\n```\n\n- Repeat statement to execute block n times\n\n```\nrepeat n {\n\n}\n```\n\n- While statement to execute block while the condition is true\n\n```\nwhile condition {\n\n}\n```\n- Speed statement, take time in ms to wait before each next instruction\n\n```\nspeed 100\n```\n\n- Sleep statement, take time in ms to wait before the next instruction\n\n```\nsleep 100\n```\n\n- Show statement, to show turtle pointer\n\n```\nshow\n```\n\n- Hide statement, to hide turtle pointer\n\n```\nhide\n```\n\n- Stop statement, to stop the current execution\n\n```\nstop\n```\n\n## Collections\n\n- List to collect values\n\n```\nlet colors = [RED, BLUE, WHITE]\n```\n\n- Access list element by index\n\n```\ncolor colors[0]\n```\n\n- Update list element\n\n```\ncolors[0] = YELLOW\n```\n\n## Movement instructions\n\n- Rotate used to add value to the current turtle pointer degree\n\n```\nrotate 90\n```\n\n- Forward used to move forward n space\n\n```\nforward 90\n```\n\n- Backward used to rotate and move backward n space\n\n```\nbackward 90\n```\n\n- Right used to rotate and move right n space\n\n```\nright 90\n```\n\n- Left used to rotate and move Left n space\n\n```\nleft 90\n```\n\n## Drawing Instructions\n\n- Circle used to draw circle around the current position with radius r\n\n```\ncircle 50\n```\n\n- Cube used to draw Cube around the current position with value v\n\n```\ncube 50\n```\n\n## Coloring instructions\n\n- Color Instruction to change the current color\n\n```\ncolor BLUE\n```\n\n### License\n```\nMIT License\n\nCopyright (c) 2022 Amr Hesham\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Famrdeveloper%2Fturtle","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Famrdeveloper%2Fturtle","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Famrdeveloper%2Fturtle/lists"}