{"id":21630085,"url":"https://github.com/virtualritz/frame-sequence","last_synced_at":"2025-06-23T02:08:23.047Z","repository":{"id":57631844,"uuid":"436393404","full_name":"virtualritz/frame-sequence","owner":"virtualritz","description":"A simple parser for frame sequences strings.","archived":false,"fork":false,"pushed_at":"2024-09-13T09:25:48.000Z","size":8,"stargazers_count":4,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-10T18:31:37.930Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","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/virtualritz.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2021-12-08T21:13:06.000Z","updated_at":"2025-03-22T02:19:22.000Z","dependencies_parsed_at":"2024-09-13T20:07:33.692Z","dependency_job_id":"64564112-92a0-42d8-9f55-907cd6362ee0","html_url":"https://github.com/virtualritz/frame-sequence","commit_stats":null,"previous_names":["virtualritz/frame_sequence_parser"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/virtualritz/frame-sequence","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/virtualritz%2Fframe-sequence","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/virtualritz%2Fframe-sequence/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/virtualritz%2Fframe-sequence/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/virtualritz%2Fframe-sequence/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/virtualritz","download_url":"https://codeload.github.com/virtualritz/frame-sequence/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/virtualritz%2Fframe-sequence/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261397372,"owners_count":23152491,"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":[],"created_at":"2024-11-25T02:09:43.856Z","updated_at":"2025-06-23T02:08:18.026Z","avatar_url":"https://github.com/virtualritz.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# `frame-sequence`\n\n\u003c!-- cargo-rdme start --\u003e\n\nA simple parser for frame sequences strings.\n\nThis will parse a [`str`] describing a sequence of frames into\na [`Vec`]`\u003c`[`isize`]`\u003e` containing individual frame numbers.\n\nMainly intended/useful for rendering/animation/VFX applications.\n\n## Example Frame Sequence Strings\n\nIndividual frames:\n\n`1,2,3,5,8,13` ⟶ `[1, 2, 3, 5, 8, 13]`\n\nA sequence:\n\n`10-15` ⟶ `[10, 11, 12, 13, 14, 15]`\n\nWith step size:\n\n`10-20@2` ⟶ `[10, 12, 14, 16, 18, 20]`\n\nStep size must be always positive.\n\nTo get a sequence backwards specify the range in reverse:\n\n`42-33@3` ⟶ `[42, 39, 36, 33]`\n\nWith binary splitting:\n\n`10-20@b` ⟶ `[10, 20, 15, 12, 17, 11, 13, 16, 18, 14, 19]`\n\nThe last frame of a sequence will be omitted if\nthe specified step size does not touch it:\n\n`80-70@4` ⟶ `[80, 76, 72]`\n\n## Nuke-Style Step Size Token\n\nUsing `x` instead of `@` as the step size token separator also works.\n\n\u003c!-- cargo-rdme end --\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvirtualritz%2Fframe-sequence","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvirtualritz%2Fframe-sequence","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvirtualritz%2Fframe-sequence/lists"}