{"id":15640249,"url":"https://github.com/nwtgck/ray-tracing-iow-rust","last_synced_at":"2025-10-04T20:03:24.711Z","repository":{"id":40310901,"uuid":"193943027","full_name":"nwtgck/ray-tracing-iow-rust","owner":"nwtgck","description":"Ray Tracing in One Weekend written in Rust","archived":false,"fork":false,"pushed_at":"2022-12-11T21:03:20.000Z","size":13974,"stargazers_count":82,"open_issues_count":6,"forks_count":6,"subscribers_count":5,"default_branch":"develop","last_synced_at":"2025-04-19T17:26:07.117Z","etag":null,"topics":["parallel","parallel-computing","rayon","raytracer","rust","tray-tracing"],"latest_commit_sha":null,"homepage":"","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/nwtgck.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":"2019-06-26T16:41:41.000Z","updated_at":"2024-04-07T23:12:15.000Z","dependencies_parsed_at":"2023-01-27T07:01:18.528Z","dependency_job_id":null,"html_url":"https://github.com/nwtgck/ray-tracing-iow-rust","commit_stats":null,"previous_names":[],"tags_count":19,"template":false,"template_full_name":null,"purl":"pkg:github/nwtgck/ray-tracing-iow-rust","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nwtgck%2Fray-tracing-iow-rust","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nwtgck%2Fray-tracing-iow-rust/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nwtgck%2Fray-tracing-iow-rust/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nwtgck%2Fray-tracing-iow-rust/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nwtgck","download_url":"https://codeload.github.com/nwtgck/ray-tracing-iow-rust/tar.gz/refs/heads/develop","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nwtgck%2Fray-tracing-iow-rust/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278366664,"owners_count":25975095,"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-10-04T02:00:05.491Z","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":["parallel","parallel-computing","rayon","raytracer","rust","tray-tracing"],"created_at":"2024-10-03T11:32:53.575Z","updated_at":"2025-10-04T20:03:24.682Z","avatar_url":"https://github.com/nwtgck.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ray-tracing-iow\n[![CircleCI](https://circleci.com/gh/nwtgck/ray-tracing-iow-rust.svg?style=shield)](https://circleci.com/gh/nwtgck/ray-tracing-iow-rust)\n\nRay Tracing in One Weekend written in Rust\n\n![Ray Tracing Animation](doc_assets/ray-tracing-animation.gif)\n\n## Features\n* Written in Rust\n* Parallel processing by [Rayon](https://github.com/rayon-rs/rayon)\n* Animation\n* Reproducible random generation\n\n## Usage\n\n### One image generation\n\nCreate one image.\n\n```bash\ncargo run --release -- image.ppm\n```\n\n### Animation generation\n\nHere is very small video generation.\n\n```bash\n# Generate .ppm files\ncargo run --release -- --width=60 --height=40 --anime-out-dir-path=my_anime\n# Create anime.mp4\ncd my_anime\nffmpeg -i anime%08d.ppm -c:v libx264 -vf fps=25 -pix_fmt yuv420p anime.mp4\n```\n\n### Other options\n\n```txt\nray-tracing-iow 0.1.0\nRyo Ota \u003cnwtgck@gmail.com\u003e\nRay Tracing in One Weekend in Rust\n\nUSAGE:\n    ray-tracing-iow [OPTIONS] [file]\n\nFLAGS:\n    -h, --help       Prints help information\n    -V, --version    Prints version information\n\nOPTIONS:\n        --anime-dt \u003canime-dt\u003e                        Animation dt [default: 0.03]\n        --anime-max-t \u003canime-max-t\u003e                  Animation max time [default: 6.0]\n        --anime-min-t \u003canime-min-t\u003e                  Animation minimum time [default: 0.0]\n        --anime-out-dir-path \u003canime-out-dir-path\u003e    Animation output directory\n        --height \u003cheight\u003e                            Image height [default: 400]\n        --min-float \u003cmin-float\u003e                      Minimum float number [default: 0.001]\n        --n-samples \u003cn-samples\u003e                      Number of samples [default: 10]\n        --random-seed \u003crandom-seed\u003e                  Random seed [default: 101]\n        --width \u003cwidth\u003e                              Image width [default: 600]\n\nARGS:\n    \u003cfile\u003e    Output file path\n```\n\n## Related projects\n\nHere are related projects.\n\n* [iyahoo/clj-ray-tracing](https://github.com/iyahoo/clj-ray-tracing) (Clojure)\n* [petershirley/raytracinginoneweekend](https://github.com/petershirley/raytracinginoneweekend) (C++)\n* [nwtgck/ray-tracing-iow-scala](https://github.com/nwtgck/ray-tracing-iow-scala) (Scala)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnwtgck%2Fray-tracing-iow-rust","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnwtgck%2Fray-tracing-iow-rust","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnwtgck%2Fray-tracing-iow-rust/lists"}