{"id":18824275,"url":"https://github.com/ndbaker1/string-bean","last_synced_at":"2025-06-29T15:33:11.354Z","repository":{"id":186250472,"uuid":"672672489","full_name":"ndbaker1/string-bean","owner":"ndbaker1","description":"🧵 A String Art Generation Library","archived":false,"fork":false,"pushed_at":"2023-10-02T07:49:26.000Z","size":109,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-22T11:33:27.056Z","etag":null,"topics":["computational-art","string-art","thread-art"],"latest_commit_sha":null,"homepage":"https://ndbaker1.github.io/string-bean/","language":"Rust","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/ndbaker1.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"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}},"created_at":"2023-07-30T21:45:15.000Z","updated_at":"2024-04-15T12:11:41.000Z","dependencies_parsed_at":null,"dependency_job_id":"4b68b91f-1cfb-4bca-9bea-22bd76565355","html_url":"https://github.com/ndbaker1/string-bean","commit_stats":null,"previous_names":["ndbaker1/string-bean"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ndbaker1/string-bean","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ndbaker1%2Fstring-bean","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ndbaker1%2Fstring-bean/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ndbaker1%2Fstring-bean/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ndbaker1%2Fstring-bean/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ndbaker1","download_url":"https://codeload.github.com/ndbaker1/string-bean/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ndbaker1%2Fstring-bean/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262618494,"owners_count":23338010,"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":["computational-art","string-art","thread-art"],"created_at":"2024-11-08T00:56:01.535Z","updated_at":"2025-06-29T15:33:11.330Z","avatar_url":"https://github.com/ndbaker1.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n\t\u003ch1 align=\"center\"\u003e🧵 string-bean\u003c/h1\u003e\n\u003c/p\u003e\n\u003cp align=\"center\"\u003eA String Art Generation Library\u003c/p\u003e\n\n## [🌐 Demo](https://ndbaker1.github.io/string-bean/)\n\n1. Upload an image\n2. Preview the greyscale conversion from source image\n3. View thread anchor sequence drawn onto canvas\n4. Play with input parameters to change output\n\n#### Sample Output\n\u003e drawn by me ◕_◕ \n\n![string-bean-sample](https://github.com/ndbaker1/string-bean/assets/48701178/1eb4b052-7ed6-4d74-a211-e6052b08fa71)\n\n## ⚡ Usage\n\n### 📦 Cargo\n\nYou can pull the crate from git and I will maybe publish at some point\n\n```toml\n[dependencies]\nstring-bean = { git = 'https://github.com/ndbaker1/string-bean' }\n```\n\nThe CLI has some good example usage: https://github.com/ndbaker1/string-bean/blob/2daab678d45f400408a8dbdb39555c916c21ada6/string-bean-cli/src/main.rs#L50-L61\n### ⌨️ CLI\n\nThough minimal, the repo includes a CLI that you can install by running:\n\n```shell\ncargo install --git https://github.com/ndbaker1/string-bean\n```\n\nIt currently supports:\n* generating thread art for a circular boundary inside an input image and outputing an SVG file\n\n## 🤔 Motivation\n\nA recent youtube video about string art, [The Mathematics of String Art](https://youtu.be/WGccIFf6MF8), showed up in my recommended and was pretty interesting so i decided to try implementing it in 🦀 Rust.  \n\nThere are also very few well documented projects for computational string/thread-art, so i figured i would try to make one that was easily accessible and avoided using libraries to do heavy lifting magic\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fndbaker1%2Fstring-bean","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fndbaker1%2Fstring-bean","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fndbaker1%2Fstring-bean/lists"}