{"id":19005973,"url":"https://github.com/flareflo/smallpt","last_synced_at":"2026-04-21T21:30:18.444Z","repository":{"id":179045679,"uuid":"662721742","full_name":"FlareFlo/smallpt","owner":"FlareFlo","description":null,"archived":false,"fork":false,"pushed_at":"2023-07-19T08:58:10.000Z","size":21106,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-01T19:43:42.208Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/FlareFlo.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,"governance":null,"roadmap":null,"authors":"authorship","dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-07-05T18:35:59.000Z","updated_at":"2023-10-28T00:46:33.000Z","dependencies_parsed_at":null,"dependency_job_id":"e6cc9d98-f4db-4231-824a-05e60d77721d","html_url":"https://github.com/FlareFlo/smallpt","commit_stats":null,"previous_names":["flareflo/smallpt"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FlareFlo%2Fsmallpt","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FlareFlo%2Fsmallpt/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FlareFlo%2Fsmallpt/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FlareFlo%2Fsmallpt/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/FlareFlo","download_url":"https://codeload.github.com/FlareFlo/smallpt/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240027760,"owners_count":19736271,"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-08T18:29:46.754Z","updated_at":"2026-04-21T21:30:18.226Z","avatar_url":"https://github.com/FlareFlo.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"_Licensed under the MIT license_\n\n# Installation\n\nStable rust toolchain from [the official installation guide](https://rustup.rs)\n\n## Prerequisites\n\n### Windows\nIf the executable installer is not used, you may need to manually install [the MSVC prerequisites for Windows](https://rust-lang.github.io/rustup/installation/windows-msvc.html)\n\n### Linux\nThe [GNU Compiler Collection tools](https://gcc.gnu.org/) must be installed, as Rust uses the linker from said toolchain.  \nThese can typically be installed through a package-manager:\n* `build-essential` on ubuntu and debian\n* `base-devel` on arch\n\n# Rendering\n## Run with optimal settings\n```shell\nRUSTFLAGS=\"--emit=asm -Ctarget-cpu=native\" cargo run --release $SAMPLE_COUNT\n```\n\n## View image\nImage viewers like Gwenview are required to view the PPM file format directly emitted  \nIf no such program is available, converting the image to alternative formats such as PNG are recommended\n```shell\ngwenview image.ppm\n```\n\n\n## Convert PPM to PNG using [ImageMagick](https://imagemagick.org/index.php)\nImageMagick is available for all operating systems\nConverting to PNG usually cuts file size down by 60%\n```shell\nconvert image.ppm image.png\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflareflo%2Fsmallpt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fflareflo%2Fsmallpt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflareflo%2Fsmallpt/lists"}