{"id":20517185,"url":"https://github.com/iprit/three.webglstats","last_synced_at":"2025-06-22T20:38:34.795Z","repository":{"id":73267819,"uuid":"137941864","full_name":"IPRIT/three.webglstats","owner":"IPRIT","description":null,"archived":false,"fork":false,"pushed_at":"2018-06-19T20:25:07.000Z","size":106,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-18T12:06:43.444Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/IPRIT.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":"2018-06-19T20:24:59.000Z","updated_at":"2018-06-19T20:25:09.000Z","dependencies_parsed_at":"2023-02-26T11:45:10.886Z","dependency_job_id":null,"html_url":"https://github.com/IPRIT/three.webglstats","commit_stats":{"total_commits":22,"total_committers":2,"mean_commits":11.0,"dds":0.5,"last_synced_commit":"5c47e1cd5dc08d510bf3abcecd6d9ae09e164c3b"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IPRIT%2Fthree.webglstats","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IPRIT%2Fthree.webglstats/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IPRIT%2Fthree.webglstats/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IPRIT%2Fthree.webglstats/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/IPRIT","download_url":"https://codeload.github.com/IPRIT/three.webglstats/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242120945,"owners_count":20075019,"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-15T21:34:15.380Z","updated_at":"2025-03-05T23:27:55.622Z","avatar_url":"https://github.com/IPRIT.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"@xailabs/three-renderer-stats\n========================================\n\nFORKED FROM https://github.com/jeromeetienne/threex.rendererstats\n\n- Allow reset by calling `update()` without passing renderer\n- Published on npm\n- Fix programs count \u003ca href=\"https://github.com/jeromeetienne/threex.rendererstats/pull/4\" target=\"_blank\"\u003e(~ PR4)\u003c/a\u003e\n\n========================================\n\nIt is a three.js extension to display realtime informations about ```THREE.WebGLRenderer```.\nHere is a [basic example](http://jeromeetienne.github.io/threex.rendererstats/examples/basic.html). It is widely inpired from @mrdoob [stats.js](https://github.com/mrdoob/stats.js/).\nIt is released under MIT license.\n\n## How To install it\n\nVia yarn:\n```javascript\nyarn add @xailabs/three-renderer-stats\n```\n\nVia npm:\n```javascript\nnpm install @xailabs/three-renderer-stats --save\n```\n\n## How To Use It\n\n```javascript\nimport RendererStats from '@xailabs/three-renderer-stats';\nconst rendererStats = new RendererStats();\n```\n\nposition it on the page with css with something along this line:\n\n```javascript\nrendererStats.domElement.style.position\t= 'absolute'\nrendererStats.domElement.style.left\t= '0px'\nrendererStats.domElement.style.bottom\t= '0px'\ndocument.body.appendChild( rendererStats.domElement )\n```\n\nfinally update it at every frame, passing the webGLRenderer reference:\n\n```javascript\nrendererStats.update(renderer);\n```\n\n\nupdate it without passing anything (or passing something falsy) to reset the displayed output:\n\n```javascript\nrendererStats.update(null);\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiprit%2Fthree.webglstats","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fiprit%2Fthree.webglstats","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiprit%2Fthree.webglstats/lists"}