{"id":16126759,"url":"https://github.com/mikolalysenko/splat-points-3d","last_synced_at":"2025-07-08T14:05:45.180Z","repository":{"id":13706809,"uuid":"16400746","full_name":"mikolalysenko/splat-points-3d","owner":"mikolalysenko","description":"Splats a collection of points onto a 3D volume","archived":false,"fork":false,"pushed_at":"2015-05-04T19:07:58.000Z","size":116,"stargazers_count":3,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-19T15:59:27.020Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mikolalysenko.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}},"created_at":"2014-01-31T05:47:47.000Z","updated_at":"2021-06-14T03:12:18.000Z","dependencies_parsed_at":"2022-09-06T12:12:32.631Z","dependency_job_id":null,"html_url":"https://github.com/mikolalysenko/splat-points-3d","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mikolalysenko/splat-points-3d","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mikolalysenko%2Fsplat-points-3d","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mikolalysenko%2Fsplat-points-3d/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mikolalysenko%2Fsplat-points-3d/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mikolalysenko%2Fsplat-points-3d/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mikolalysenko","download_url":"https://codeload.github.com/mikolalysenko/splat-points-3d/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mikolalysenko%2Fsplat-points-3d/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264283870,"owners_count":23584623,"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-09T21:40:17.515Z","updated_at":"2025-07-08T14:05:45.158Z","avatar_url":"https://github.com/mikolalysenko.png","language":"JavaScript","readme":"splat-points-3d\n===============\nSplats a point cloud onto a volumetric grid.\n\n## Example\n\n```javascript\nvar splat = require(\"splat-points-3d\")\nvar pack = require(\"ndarray-pack\")\nvar zeros = require(\"zeros\")\n\nvar points = pack([\n  [1, 0, 0],\n  [0, 4, 0],\n  [0, 0, 8]\n])\n\nvar weights = pack([\n  1,\n  2,\n  4\n])\n\nvar grid = zeros([32, 32, 32])\n\nsplat(grid, points, weights, 3.0)\n```\n\n## Install\n\n```\nnpm install splat-points-3d\n```\n\n## API\n\n### `require(\"splat-points-3d\")(out, points, weights, radius)`\nSplats a collection of points onto a 3D volumetric grid using Lanczos/sinc filtering.  If you want a different kernel afterwards, you can apply a convolution via the FFT\n\n* `out` is a 3D ndarray\n* `points` is a `[n, 3]` shape ndarray encoding the x/y/z grid coordinates of the points to splat\n* `weights` is a `[n]` shape ndarray\n* `radius` is the radius of the point splat to draw\n\n\n## Credits\n(c) 2014 Mikola Lysenko. MIT License","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmikolalysenko%2Fsplat-points-3d","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmikolalysenko%2Fsplat-points-3d","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmikolalysenko%2Fsplat-points-3d/lists"}