{"id":15902848,"url":"https://github.com/erikh/fireworks.rs","last_synced_at":"2025-08-19T22:11:30.142Z","repository":{"id":195195487,"uuid":"692418200","full_name":"erikh/fireworks.rs","owner":"erikh","description":"rust port of https://github.com/erikh/fireworks","archived":false,"fork":false,"pushed_at":"2023-09-16T16:48:52.000Z","size":18,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-07-02T12:48:51.195Z","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/erikh.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}},"created_at":"2023-09-16T12:17:43.000Z","updated_at":"2023-09-18T11:21:58.000Z","dependencies_parsed_at":"2023-09-16T23:56:44.852Z","dependency_job_id":null,"html_url":"https://github.com/erikh/fireworks.rs","commit_stats":null,"previous_names":["erikh/fireworks.rs"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/erikh/fireworks.rs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/erikh%2Ffireworks.rs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/erikh%2Ffireworks.rs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/erikh%2Ffireworks.rs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/erikh%2Ffireworks.rs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/erikh","download_url":"https://codeload.github.com/erikh/fireworks.rs/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/erikh%2Ffireworks.rs/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271230695,"owners_count":24722967,"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-19T02:00:09.176Z","response_time":63,"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":[],"created_at":"2024-10-06T12:00:22.875Z","updated_at":"2025-08-19T22:11:30.112Z","avatar_url":"https://github.com/erikh.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# fireworks demo ported from python\n\nThis is the [fireworks demo](https://github.com/erikh/fireworks) that I wrote\nto learn python from. I tried to see what it would also look like in rust, and\nI was pleasantly surprised at the results.\n\n[Here](https://www.youtube.com/watch?v=XOKrxJumlAQ) is a video on YouTube if\nyou'd just like to review the results!\n\nOne thing this version does differently is that it moves the cursor position\nbased on a difference of the previous draw and the current; this results in a\nmuch more optimized draw routine. You will notice the frames per second much\nhigher and I feel the animation is a little better. It is also much easier on\nthe CPU.\n\nThis is published as [`fireworks-erikh` on\ncrates.io](https://crates.io/crates/fireworks-erikh) and installs a `fireworks`\nbinary when you `cargo install` it. This conflicts with the\n[`fireworks`](https://crates.io/crates/fireworks) crate which does more or less\nthe same thing, just done by someone else, hah. Enjoy the weird terminal\nscreensavers I guess.\n\nThis is a TUI \"screen saver\" that displays fireworks on the terminal. It will\ndisplay them until Ctrl+C is pressed and is designed to work with `tmux`, etc,\nto provide some bling on your terminal when you only need half of it.\n\nSome notes:\n\n10 fireworks are launched at start, and every 5 iterations (about half a\nsecond) a new one is launched. Fireworks trail north and have a chance of\nexploding on every frame. Each flare and explosion have random components to\nthe trail and characters used. If the terminal is resized, it clears and\nrebuilds the scene anew.\n\n## Author\n\nErik Hollensbe \u003cgit@hollensbe.org\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ferikh%2Ffireworks.rs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ferikh%2Ffireworks.rs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ferikh%2Ffireworks.rs/lists"}