{"id":17446870,"url":"https://github.com/damonoehlman/turtz","last_synced_at":"2025-09-11T02:33:01.918Z","repository":{"id":23858401,"uuid":"96262410","full_name":"DamonOehlman/turtz","owner":"DamonOehlman","description":"An attempt at teaching (my) kids to code through a logo-like language","archived":false,"fork":false,"pushed_at":"2023-01-12T10:34:11.000Z","size":339,"stargazers_count":4,"open_issues_count":7,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-08-09T17:55:59.988Z","etag":null,"topics":["animation","composability","logo"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/DamonOehlman.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-07-05T00:50:49.000Z","updated_at":"2023-03-04T03:25:58.000Z","dependencies_parsed_at":"2022-09-26T16:22:01.229Z","dependency_job_id":null,"html_url":"https://github.com/DamonOehlman/turtz","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/DamonOehlman/turtz","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DamonOehlman%2Fturtz","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DamonOehlman%2Fturtz/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DamonOehlman%2Fturtz/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DamonOehlman%2Fturtz/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DamonOehlman","download_url":"https://codeload.github.com/DamonOehlman/turtz/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DamonOehlman%2Fturtz/sbom","scorecard":{"id":36438,"data":{"date":"2025-08-11","repo":{"name":"github.com/DamonOehlman/turtz","commit":"1c361f92a76d8166ab14094045fa25afccaeedc2"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":1.3,"checks":[{"name":"Code-Review","score":0,"reason":"Found 0/30 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":0,"reason":"license file not detected","details":["Warn: project does not have a license file"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Vulnerabilities","score":0,"reason":"31 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-fwr7-v2mv-hh25","Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw","Warn: Project is vulnerable to: GHSA-x9w5-v3q2-3rhw","Warn: Project is vulnerable to: GHSA-hc9w-4p87-j549","Warn: Project is vulnerable to: GHSA-wg6g-ppvx-927h","Warn: Project is vulnerable to: GHSA-9vvw-cc9w-f27h","Warn: Project is vulnerable to: GHSA-gxpj-cx7g-858c","Warn: Project is vulnerable to: GHSA-vh7m-p724-62c2","Warn: Project is vulnerable to: GHSA-r9p9-mrjm-926w","Warn: Project is vulnerable to: GHSA-434g-2637-qmqr","Warn: Project is vulnerable to: GHSA-49q7-c7j4-3p7m","Warn: Project is vulnerable to: GHSA-977x-g7h5-7qgw","Warn: Project is vulnerable to: GHSA-f7q4-pwc6-w24p","Warn: Project is vulnerable to: GHSA-fc9h-whq2-v747","Warn: Project is vulnerable to: GHSA-vjh7-7g9h-fjfh","Warn: Project is vulnerable to: GHSA-fvqr-27wr-82fm","Warn: Project is vulnerable to: GHSA-4xc9-xhrj-v574","Warn: Project is vulnerable to: GHSA-x5rq-j2xg-h7qm","Warn: Project is vulnerable to: GHSA-jf85-cpcp-j695","Warn: Project is vulnerable to: GHSA-p6mc-m468-83gw","Warn: Project is vulnerable to: GHSA-29mw-wpgm-hmr9","Warn: Project is vulnerable to: GHSA-35jh-r3h4-6jhm","Warn: Project is vulnerable to: GHSA-wrvr-8mpx-r7pp","Warn: Project is vulnerable to: GHSA-f8q6-p94x-37v3","Warn: Project is vulnerable to: GHSA-vh95-rmgr-6w4m","Warn: Project is vulnerable to: GHSA-xvch-5gv4-984h","Warn: Project is vulnerable to: GHSA-hj48-42vr-x3v9","Warn: Project is vulnerable to: GHSA-v62p-rq8g-8h59","Warn: Project is vulnerable to: GHSA-g4rg-993r-mgx7","Warn: Project is vulnerable to: GHSA-5mjw-6jrh-hvfq","Warn: Project is vulnerable to: GHSA-x9hc-rw35-f44h"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-14T20:25:27.492Z","repository_id":23858401,"created_at":"2025-08-14T20:25:27.492Z","updated_at":"2025-08-14T20:25:27.492Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271991712,"owners_count":24854827,"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","status":"online","status_checked_at":"2025-08-24T02:00:11.135Z","response_time":111,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["animation","composability","logo"],"created_at":"2024-10-17T19:01:50.584Z","updated_at":"2025-08-25T01:35:52.961Z","avatar_url":"https://github.com/DamonOehlman.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# Turtz\n\nI remember when I was a kid playing alot with\n[Logo](https://en.wikipedia.org/wiki/Logo_(programming_language)). You can actually\ntake a trip down memory lane thanks to an Apple II emulator written in JS:\n\n\u003chttps://www.scullinsteel.com/apple2/#logo\u003e\n\nAfter I did this, I found that I was probably remembering my experiences better than\nit actually was. So I set about thinking what a modern equivalent might look like. I\ndecided it should have the following attributes:\n\n1. Demonstrate some elements of functional programming:\n\n- Create lists of steps rather than a set of procedural commands.\n- Support composability through the ability to define a function which produces\n  a series of steps, and be able to invoke that command within another series of\n  instructions.\n\n2. Seek to simple geometry.\n\n3. Create a \"render\" system agnostic way of demonstrating how the instructions are\n executed. At present, only a 2D canvas renderer is supported, however, I believe\n this could easily be extended to other graphical formats and potentially even to\n something like [NodeBots](http://nodebots.io/).\n\n\n[![NPM](https://nodei.co/npm/turtz.png)](https://nodei.co/npm/turtz/)\n\n[![bitHound Score](https://www.bithound.io/github/DamonOehlman/turtz/badges/score.svg)](https://www.bithound.io/github/DamonOehlman/turtz) \n\n## Code Example\n\nThe following is a rather long code sample, that I'll break into smaller parts in\nthe future:\n\n```js\n// @flow\n\nconst {\n  Pen,\n  Move,\n  Turn,\n  Path,\n  Surface\n} = require('turtz');\n\nconst { repeat } = require('turtz/logic');\n\nfunction square(size: number) {\n  return [\n    Pen.down(),\n    repeat(4, [\n      Move.forward(size),\n      Turn.right(90)\n    ]),\n    Pen.up()\n  ];\n}\n\nconst triangle = (size) =\u003e [\n  Pen.down(),\n  repeat(3, [\n      Move.forward(size),\n      Turn.right(360 / 3)\n  ]),\n  Pen.up()\n];\n\nconst poly = (sides, size) =\u003e [\n  Pen.down(),\n  repeat(sides, [\n    Move.forward(size),\n    Turn.right(360 / sides)\n  ]),\n  Pen.up()\n];\n\nconst lineAndSquare = [\n  Pen.down(),\n  Turn.right(90),\n  Move.forward(50),\n  Turn.left(45),\n  square(50),\n];\n\nSurface.create({}, surface =\u003e {\n  return [\n    surface.draw(lineAndSquare, 0, -100),\n    surface.draw(square(50), -25, -25),\n    surface.draw(poly(10, 50), 25, 25)\n  ];\n});\n\n```\n\nThis generates the following output:\n\n![](docs/images/turtz-friendly-sample.gif)\n\n## License(s)\n\n### MIT\n\nCopyright (c) 2017 Damon Oehlman \u003cdamon.oehlman@gmail.com\u003e\n\nPermission is hereby granted, free of charge, to any person obtaining\na copy of this software and associated documentation files (the\n'Software'), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so, subject to\nthe following conditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\nIN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY\nCLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,\nTORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE\nSOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdamonoehlman%2Fturtz","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdamonoehlman%2Fturtz","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdamonoehlman%2Fturtz/lists"}