{"id":15314002,"url":"https://github.com/vanruesc/octree-helper","last_synced_at":"2025-10-08T23:32:16.680Z","repository":{"id":57313414,"uuid":"92678706","full_name":"vanruesc/octree-helper","owner":"vanruesc","description":"An octree visualization tool for three.js.","archived":true,"fork":false,"pushed_at":"2021-02-28T21:45:20.000Z","size":409,"stargazers_count":18,"open_issues_count":0,"forks_count":4,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-07T03:23:15.796Z","etag":null,"topics":["geometry","helper","octree","octree-helper","threejs","visualization"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"zlib","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/vanruesc.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-05-28T18:17:01.000Z","updated_at":"2024-09-10T22:49:31.000Z","dependencies_parsed_at":"2022-09-20T23:22:14.899Z","dependency_job_id":null,"html_url":"https://github.com/vanruesc/octree-helper","commit_stats":null,"previous_names":[],"tags_count":41,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vanruesc%2Foctree-helper","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vanruesc%2Foctree-helper/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vanruesc%2Foctree-helper/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vanruesc%2Foctree-helper/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vanruesc","download_url":"https://codeload.github.com/vanruesc/octree-helper/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":235775518,"owners_count":19043180,"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":["geometry","helper","octree","octree-helper","threejs","visualization"],"created_at":"2024-10-01T08:44:08.658Z","updated_at":"2025-10-08T23:32:11.369Z","avatar_url":"https://github.com/vanruesc.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Octree Helper\n\n[![Build status](https://travis-ci.org/vanruesc/octree-helper.svg?branch=master)](https://travis-ci.org/vanruesc/octree-helper) \n[![npm version](https://badgen.net/npm/v/octree-helper?color=green)](https://www.npmjs.com/package/octree-helper)\n[![Peer dependencies](https://david-dm.org/vanruesc/octree-helper/peer-status.svg)](https://david-dm.org/vanruesc/octree-helper?type=peer)\n\n:warning: __Deprecation Notice: The octree helper is now included in [sparse-octree](https://github.com/vanruesc/sparse-octree).__ :warning:\n\nAn octree visualization tool for [three.js](https://threejs.org/).\n\n*[Demo](https://vanruesc.github.io/sparse-octree/public/demo)\u0026ensp;\u0026middot;\u0026ensp;[Documentation](https://vanruesc.github.io/octree-helper/docs)*\n\n\n## Installation\n\nThis library requires the peer dependency [three](https://github.com/mrdoob/three.js/).\n\n```sh\nnpm install three octree-helper\n``` \n\n\n## Requirements\n\nThis helper can visualize any octree that conforms to the following protocols:\n\n- [Tree](https://vanruesc.github.io/sparse-octree/public/docs/class/src/core/Tree.js~Tree.html)\n- [Node](https://vanruesc.github.io/sparse-octree/public/docs/class/src/core/Node.js~Node.html)\n\n\n## Usage\n\nThe following example uses the [sparse-octree](https://github.com/vanruesc/sparse-octree) module.\n\n```javascript\nimport { Scene } from \"three\";\nimport { Octree } from \"sparse-octree\";\nimport { OctreeHelper } from \"octree-helper\";\n\nconst scene = new Scene();\nconst octree = new Octree();\nconst octreeHelper = new OctreeHelper(octree);\n\n// Render the helper.\nscene.add(octreeHelper);\n\n// Set a different octree.\noctreeHelper.octree = otherOctree;\n\n// Destroy the helper geometry and rebuild.\noctreeHelper.update();\n\n// Destroy the helper geometry.\noctreeHelper.dispose();\n```\n\n\n## Contributing\n\nMaintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvanruesc%2Foctree-helper","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvanruesc%2Foctree-helper","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvanruesc%2Foctree-helper/lists"}