{"id":19154728,"url":"https://github.com/rgrannell1/poly2020","last_synced_at":"2026-06-20T11:32:21.515Z","repository":{"id":42742142,"uuid":"281510034","full_name":"rgrannell1/poly2020","owner":"rgrannell1","description":"Polynomial is a CLI tool that plots the solution to large numbers of polynomials, to create beautiful fractal images.","archived":false,"fork":false,"pushed_at":"2022-12-11T15:21:30.000Z","size":555,"stargazers_count":1,"open_issues_count":7,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-10-28T05:53:43.786Z","etag":null,"topics":["fractals","polynomials"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/rgrannell1.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":"2020-07-21T21:40:37.000Z","updated_at":"2022-01-30T15:22:05.000Z","dependencies_parsed_at":"2023-01-27T02:00:34.570Z","dependency_job_id":null,"html_url":"https://github.com/rgrannell1/poly2020","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/rgrannell1/poly2020","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rgrannell1%2Fpoly2020","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rgrannell1%2Fpoly2020/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rgrannell1%2Fpoly2020/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rgrannell1%2Fpoly2020/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rgrannell1","download_url":"https://codeload.github.com/rgrannell1/poly2020/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rgrannell1%2Fpoly2020/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34568741,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-20T02:00:06.407Z","response_time":98,"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":["fractals","polynomials"],"created_at":"2024-11-09T08:28:02.913Z","updated_at":"2026-06-20T11:32:21.501Z","avatar_url":"https://github.com/rgrannell1.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# Poly2020 🦜\n\n![Example Polynomial Image](example.png)\n\n## Stability\n\n\u003e 2, Evolving - This project is healthy, but might lack testing or documentation or it is prone to breaking changes\n\nThis repository is a reimplementation of:\n\n- https://github.com/rgrannell1/polynomial \n- https://github.com/rgrannell1/pretty-poly\n- https://github.com/rgrannell1/poly\n\nI've reimplemented this several times to improve performance, with this iteration being substantially faster.\n\n## Usage\n\nPoly2020 accepts a config file and a name argument to specify which arguments are used to generate images.\n\n```\npoly2020 --config config.json --name default\n```\n\nThis config file can be edited or have new sections added to support new graphs.\n\n## Files\n\n```\nconfig.json                 configuration describing which job to run\ntest/*                      assorted unit-tests and utility files for testing\nsrc/\n  external.d.ts             external module definitions\n  commons/\n    colours.ts              colour utility functions\n    types.ts                type-definitions reused across this project\n    utils.ts                misc. utility functions\n  cli/\n    poly.ts                 the command-line definition and point-of-entry for running the project\n  app/\n    commands/\n      draw.ts               draw the output polynomial images for the project\n      metadata.ts           display metadata about the project, such as the number of solutions stored and size of outputs\n      solve.ts              solve polynomials and write their solutions to a series of LZMA-compressed files\n    storage/\n      binary-transcoder.ts  convert pixel-positions to and from a binary format\n      index.ts              the \"interface\" file to storage; this is imported elsewhere\n      read.ts               storage read operations\n      write.ts              storage write operations\n      transform.ts          transform write operations\n    bounds.ts               \n    config.ts               read and valdiate poly configuration\n    poly.ts                 accepts command-line arguments and calls underlying commands in commands/\n```\n\n## Build\n\nCreating a flame-graph\n\n```\nnpm run perf:show\n```\n\nTesting locally\n\n```\nnpm run draw:default\n```\n\nRemoving existing data\n\n```\nnpm run clean\n```\n\n## Testing\n\n## Installation\n\nPoly can be installed using NPM\n\n```\nnpm install github:rgrannell1/poly2020\n```\n\n## Performance \n\n| Solutions     | Time (2016)   | `4d753d`      |\n| ------------- |:-------------:| :------------:|\n| ten thousand  | 1 second      | 0.01 seconds  | \n| ten million   | 16 minutes    | 17 seconds    |\n| one billion   | 1.15 days     | 30 minutes    |\n| one trillion  | new laptop 🙁 | 20 days       |\n\n## Changelog\n\n## License\n\nThe MIT License\n\nCopyright (c) 2020 Róisín Grannell\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frgrannell1%2Fpoly2020","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frgrannell1%2Fpoly2020","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frgrannell1%2Fpoly2020/lists"}