{"id":21027250,"url":"https://github.com/liquidev/retrove","last_synced_at":"2026-05-17T18:02:36.117Z","repository":{"id":117500543,"uuid":"391414436","full_name":"liquidev/retrove","owner":"liquidev","description":"A super-simple low resolution canvas scaling library for LÖVE.","archived":false,"fork":false,"pushed_at":"2021-07-31T16:55:35.000Z","size":2,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-16T17:26:16.537Z","etag":null,"topics":["love2d","lua"],"latest_commit_sha":null,"homepage":"","language":"Lua","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/liquidev.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-07-31T16:55:20.000Z","updated_at":"2021-08-08T19:28:47.000Z","dependencies_parsed_at":null,"dependency_job_id":"8323fe36-ad2b-4d14-a1d6-95119f95a271","html_url":"https://github.com/liquidev/retrove","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/liquidev/retrove","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/liquidev%2Fretrove","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/liquidev%2Fretrove/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/liquidev%2Fretrove/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/liquidev%2Fretrove/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/liquidev","download_url":"https://codeload.github.com/liquidev/retrove/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/liquidev%2Fretrove/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33149519,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-17T09:28:26.183Z","status":"ssl_error","status_checked_at":"2026-05-17T09:27:52.702Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["love2d","lua"],"created_at":"2024-11-19T11:49:06.006Z","updated_at":"2026-05-17T18:02:36.091Z","avatar_url":"https://github.com/liquidev.png","language":"Lua","funding_links":[],"categories":[],"sub_categories":[],"readme":"# retrove\n\nA super-simple low resolution canvas scaling library for LÖVE.\n\n## Usage\n\nBefore retrove can be of any use, it's best to make the window resizable in\n`love.conf`:\n\n**File:** conf.lua\n```lua\nfunction love.conf(t)\n  t.window.resizable = true\nend\n```\n\nThe library interface consists of a single function that renders the pixel\ncanvas to the currently active canvas. It's worth noting that retrove supports\nrendering the scaled pixel canvas to an off-screen canvas, to allow for\npost-processing effects.\n\n**File:** main.lua\n```lua\nlocal retrove = require \"retrove\"\n\nlocal canvas\n\nfunction love.load()\n  canvas = love.graphics.newCanvas(64, 64)\nend\n\nfunction love.draw()\n  love.graphics.setCanvas(canvas)\n\n  -- draw stuff here\n\n  love.graphics.setCanvas()\n  retrove(canvas)\nend\n```\nBy default, retrove will render with integer scaling. To instead use fractional\nscaling, pass an extra `true` parameter to the `retrove` function:\n```lua\n  retrove(canvas, true)\n```\n\n## License\n\nThis library is freely available under the public domain.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fliquidev%2Fretrove","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fliquidev%2Fretrove","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fliquidev%2Fretrove/lists"}