{"id":28393571,"url":"https://github.com/pistondevelopers/piston-examples","last_synced_at":"2025-06-26T11:32:22.709Z","repository":{"id":799461,"uuid":"21298530","full_name":"PistonDevelopers/piston-examples","owner":"PistonDevelopers","description":"A collection of examples using the Piston game engine","archived":false,"fork":false,"pushed_at":"2024-05-22T00:24:03.000Z","size":2674,"stargazers_count":351,"open_issues_count":28,"forks_count":89,"subscribers_count":47,"default_branch":"master","last_synced_at":"2025-06-24T21:51:39.858Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"GLSL","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/PistonDevelopers.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":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2014-06-28T07:43:36.000Z","updated_at":"2025-06-14T08:27:00.000Z","dependencies_parsed_at":"2023-11-14T21:29:16.988Z","dependency_job_id":"315ecde2-cd48-4423-9515-7c2a91ec8829","html_url":"https://github.com/PistonDevelopers/piston-examples","commit_stats":{"total_commits":431,"total_committers":41,"mean_commits":"10.512195121951219","dds":0.2761020881670534,"last_synced_commit":"d388ca21c13199b1a5a0866467c33113f359251e"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/PistonDevelopers/piston-examples","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PistonDevelopers%2Fpiston-examples","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PistonDevelopers%2Fpiston-examples/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PistonDevelopers%2Fpiston-examples/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PistonDevelopers%2Fpiston-examples/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PistonDevelopers","download_url":"https://codeload.github.com/PistonDevelopers/piston-examples/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PistonDevelopers%2Fpiston-examples/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262056193,"owners_count":23251618,"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":"2025-05-31T16:38:46.740Z","updated_at":"2025-06-26T11:32:22.704Z","avatar_url":"https://github.com/PistonDevelopers.png","language":"GLSL","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Piston Examples\n\nA collection of examples using the Piston game engine\n\n[How to contribute](https://github.com/PistonDevelopers/piston/blob/master/CONTRIBUTING.md)\n\n## How to build \u0026 run examples\n\nTo build the examples, you need Rust and Cargo installed.\n\n1. Install Rustlang for example through [rustup](https://rustup.rs/)\n2. Invoke `cargo run --example \u003cNAME\u003e` where the `NAME` are a file names from `examples` directory\n2.1. Optionally navigate to `examples/\u003cdirectory\u003e` and invoke `cargo run` for more complex examples\n\n## Troubleshooting\n\n* [I get `ld: library not found for -lSDL2` error on OSX](https://github.com/PistonDevelopers/rust-empty/issues/175)\n\n* I get \"GL context creation failed\" when running an example.\n\n  It's likely your hardware or driver doesn't support PistonWindow's default OpenGl spec. Just change it to something\n  you can support at the beginning of the example. See hello_world.rs for an example.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpistondevelopers%2Fpiston-examples","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpistondevelopers%2Fpiston-examples","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpistondevelopers%2Fpiston-examples/lists"}