{"id":18059282,"url":"https://github.com/flo-bit/pixi-three-scaffold","last_synced_at":"2026-05-02T03:31:49.634Z","repository":{"id":173999928,"uuid":"596189811","full_name":"flo-bit/pixi-three-scaffold","owner":"flo-bit","description":null,"archived":false,"fork":false,"pushed_at":"2023-02-15T17:00:49.000Z","size":10,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-04-29T21:42:42.719Z","etag":null,"topics":["javascript","js","pixi","scaffold","threejs"],"latest_commit_sha":null,"homepage":"https://flo-bit.github.io/pixi-three-scaffold/","language":"JavaScript","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/flo-bit.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":"2023-02-01T16:53:14.000Z","updated_at":"2025-07-18T16:48:49.000Z","dependencies_parsed_at":null,"dependency_job_id":"2f855e13-b06e-454f-b47d-5e08f650a7e2","html_url":"https://github.com/flo-bit/pixi-three-scaffold","commit_stats":null,"previous_names":["flo-bit/pixi-three-scaffold"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/flo-bit/pixi-three-scaffold","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flo-bit%2Fpixi-three-scaffold","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flo-bit%2Fpixi-three-scaffold/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flo-bit%2Fpixi-three-scaffold/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flo-bit%2Fpixi-three-scaffold/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/flo-bit","download_url":"https://codeload.github.com/flo-bit/pixi-three-scaffold/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flo-bit%2Fpixi-three-scaffold/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32522245,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-02T01:12:54.858Z","status":"online","status_checked_at":"2026-05-02T02:00:05.923Z","response_time":132,"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":["javascript","js","pixi","scaffold","threejs"],"created_at":"2024-10-31T03:10:48.157Z","updated_at":"2026-05-02T03:31:49.613Z","avatar_url":"https://github.com/flo-bit.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PIXI+THREE scaffold\n\nThis is a scaffold for PIXI.js + THREE.js projects (combining 3d and 2d rendering).\n\nincludes:\n\n- import of PIXI.js and THREE.js\n- main pixi app with a root container and a canvas\n- adds an offscreen canvas for THREE.js and a PIXI.js texture of that canvas (pixi texture is added to root container)\n- automatic resizing of root container (fixed size) and canvas to window size\n- keydown and keyup events\n- setup and update functions\n\nsee [flo-bit.github.io/pixi-three-scaffold/](https://flo-bit.github.io/pixi-three-scaffold/) for a simple example.\n\n## Usage\n\n- import the `pixi-scaffold` module\n\n```js\nimport PixiThreeScaffold from \"https://flo-bit.github.io/pixi-scaffold/pixi-three-scaffold.js\";\n```\n\n- make a game class with a `setup` and `update` function\n\n```js\nclass Game {\n  setup(app) {\n    // setup your game here\n  }\n  update(delta, total, app) {\n    // update your game here\n  }\n}\n```\n\n- call `PixiThreeScaffold.run` and pass an instance of the game class\n\n```js\nPixiThreeScaffold.run(new Game());\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflo-bit%2Fpixi-three-scaffold","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fflo-bit%2Fpixi-three-scaffold","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflo-bit%2Fpixi-three-scaffold/lists"}