{"id":18772854,"url":"https://github.com/chux0519/purr","last_synced_at":"2025-04-13T08:55:24.648Z","repository":{"id":62443092,"uuid":"283152374","full_name":"chux0519/purr","owner":"chux0519","description":"Reproducing images with geometric primitives. Rust implementation of [primitive](https://github.com/fogleman/primitive).","archived":false,"fork":false,"pushed_at":"2021-11-18T09:29:31.000Z","size":16048,"stargazers_count":25,"open_issues_count":1,"forks_count":1,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-09T10:28:46.994Z","etag":null,"topics":["art","graphics","primitives","rust"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/chux0519.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}},"created_at":"2020-07-28T08:38:25.000Z","updated_at":"2025-02-07T17:34:30.000Z","dependencies_parsed_at":"2022-11-01T23:33:25.726Z","dependency_job_id":null,"html_url":"https://github.com/chux0519/purr","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chux0519%2Fpurr","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chux0519%2Fpurr/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chux0519%2Fpurr/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chux0519%2Fpurr/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chux0519","download_url":"https://codeload.github.com/chux0519/purr/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248688544,"owners_count":21145763,"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":["art","graphics","primitives","rust"],"created_at":"2024-11-07T19:31:15.335Z","updated_at":"2025-04-13T08:55:24.622Z","avatar_url":"https://github.com/chux0519.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Purr\n\nIt's a rust implementation of fogleman's [primitive](https://github.com/fogleman/primitive).\n\nCreated at Rusty Days Hackathon, 2020.\n\nFor more details about the algorithm, check this out: [Hill Climbing](https://en.wikipedia.org/wiki/Hill_climbing)\n\n## Features\n\n- fast(even faster than the original version), check [purrmitive](./purrmitive/README.md) for more details\n- provide both rust lib and c lib (WIP)\n- there is also a WIP gui app written in Qt, check [chux0519/purrmitive-qt](https://github.com/chux0519/purrmitive-qt)\n\n### Usage\n\n#### Use `purrmitive` as rust lib\n\n\u003e purrmitive = \"\\*\"\n\n#### or install `purr` as binary\n\n\u003e cargo install --bin purr --features=\"cli\" purrmitive\n\nor\n\n\u003e cd purrmitive \u0026\u0026 cargo run --release --features=cli --bin=purr  --  -i ./assets/input.png -o output.gif -n 100\n\nmost `primitive` flags are supported, it should be a dropin replacement in most cases.\n\n#### or use it as a c lib (WIP)\n\nsee [purrmitive-ffi](./purrmitive-ffi/README.md)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchux0519%2Fpurr","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchux0519%2Fpurr","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchux0519%2Fpurr/lists"}