{"id":17040941,"url":"https://github.com/uggla/rotozoom","last_synced_at":"2026-05-12T23:35:49.286Z","repository":{"id":36958841,"uuid":"467289541","full_name":"uggla/rotozoom","owner":"uggla","description":null,"archived":false,"fork":false,"pushed_at":"2025-01-13T17:51:47.000Z","size":867,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-14T19:59:24.246Z","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":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/uggla.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":"2022-03-07T23:12:09.000Z","updated_at":"2025-01-13T17:51:51.000Z","dependencies_parsed_at":"2024-10-14T09:11:01.210Z","dependency_job_id":"e3122234-c8fd-492f-bea0-1dfbe48d1253","html_url":"https://github.com/uggla/rotozoom","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uggla%2Frotozoom","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uggla%2Frotozoom/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uggla%2Frotozoom/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uggla%2Frotozoom/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/uggla","download_url":"https://codeload.github.com/uggla/rotozoom/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245040189,"owners_count":20551301,"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-10-14T09:10:56.027Z","updated_at":"2026-05-12T23:35:49.245Z","avatar_url":"https://github.com/uggla.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# rotozoom\n\n[![rotozoom](https://github.com/uggla/rotozoom/actions/workflows/rotozoom.yml/badge.svg)](https://github.com/uggla/rotozoom/actions/workflows/rotozoom.yml)\n\nA naive  rotozoom with macroquad\n* Compute a 2D Texture to create a rotozoom the old school way.\n* No usage of camera, texture rotation or shader.\n\n*Note: build with ``--release`` switch to achieve descent fps.*\n\n## Authors\n\n- [@Uggla](https://www.github.com/Uggla)\n\n## Screenshots\n\nNative application:\n![App native screenshot](images/rotozoom_native.png)\n\nRunning the wasm application into Firefox:\n![App wasm32 screenshot](images/rotozoom_wasm.png)\n\n\n## Binaries\nBinaries are available here:\n[Binary releases](https://github.com/uggla/rotozoom/releases)\n\n## Run Locally (mainly for development purposes)\n\n1. Clone the project\n\n```bash\n  git clone https://github.com/uggla/rotozoom\n```\n\n2. Go to the project directory\n\n```bash\n  cd rotozoom\n```\n\n#### Native\n1. Install Rust following the instructions [here](https://www.rust-lang.org/fr/learn/get-started).\n\n   *Tips: the rustup method is the simplest one.*\n\n2. Install required library for macroquad\n\n* Ubuntu system dependencies\n```bash\napt install pkg-config libx11-dev libxi-dev libgl1-mesa-dev libasound2-dev\n```\n\n* Fedora system dependencies\n```bash\ndnf install libX11-devel libXi-devel mesa-libGL-devel alsa-lib-devel\n```\n\n* Windows system\n```\nNo dependencies are required for Windows or MacOS\n```\n\n3. Run the native client\n```bash\ncargo run --release\n```\n\n#### Wasm32\n\n1. Follow the above instruction of the native client.\n\n2. Install basic-http-server\n```bash\ncargo install basic-http-server\n```\n\n3. Add the wasm32 compilation target\n```bash\nrustup target add wasm32-unknown-unknown\n```\n\n4. Go to the client directory and run the native client\n```bash\ncargo build --target wasm32-unknown-unknown --release\n```\n\n5. Serve the files and open the browser\n```bash\nbasic-http-server\nxdg-open http://127.0.0.1:4000\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fuggla%2Frotozoom","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fuggla%2Frotozoom","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fuggla%2Frotozoom/lists"}