{"id":20349478,"url":"https://github.com/zalo/stochasticlatticegen","last_synced_at":"2025-04-09T04:48:03.593Z","repository":{"id":250122276,"uuid":"833530181","full_name":"zalo/StochasticLatticeGen","owner":"zalo","description":"Build Stochastic Lattice Structures in the browser!","archived":false,"fork":false,"pushed_at":"2024-08-14T22:28:05.000Z","size":5182,"stargazers_count":9,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-14T23:24:15.486Z","etag":null,"topics":["cad","field","lattice","stochastic"],"latest_commit_sha":null,"homepage":"https://zalo.github.io/StochasticLatticeGen/","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/zalo.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-07-25T08:40:07.000Z","updated_at":"2024-09-05T03:56:05.000Z","dependencies_parsed_at":"2024-07-25T10:19:48.399Z","dependency_job_id":"279e2f57-8258-4931-93b3-66b0a0759c1d","html_url":"https://github.com/zalo/StochasticLatticeGen","commit_stats":null,"previous_names":["zalo/stochasticlatticegen"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zalo%2FStochasticLatticeGen","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zalo%2FStochasticLatticeGen/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zalo%2FStochasticLatticeGen/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zalo%2FStochasticLatticeGen/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zalo","download_url":"https://codeload.github.com/zalo/StochasticLatticeGen/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247980821,"owners_count":21027803,"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":["cad","field","lattice","stochastic"],"created_at":"2024-11-14T22:26:01.395Z","updated_at":"2025-04-09T04:48:03.552Z","avatar_url":"https://github.com/zalo.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# [StochasticLatticeGen](https://zalo.github.io/StochasticLatticeGen/)\n\n\u003cp align=\"left\"\u003e\n  \u003ca href=\"https://github.com/zalo/StochasticLatticeGen/deployments/activity_log?environment=github-pages\"\u003e\n      \u003cimg src=\"https://img.shields.io/github/deployments/zalo/StochasticLatticeGen/github-pages?label=Github%20Pages%20Deployment\" title=\"Github Pages Deployment\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://github.com/zalo/StochasticLatticeGen/commits/master\"\u003e\n      \u003cimg src=\"https://img.shields.io/github/last-commit/zalo/StochasticLatticeGen\" title=\"Last Commit Date\"\u003e\u003c/a\u003e\n  \u003c!--\u003ca href=\"https://github.com/zalo/StochasticLatticeGen/blob/master/LICENSE\"\u003e\n      \u003cimg src=\"https://img.shields.io/github/license/zalo/StochasticLatticeGen\" title=\"License: Apache V2\"\u003e\u003c/a\u003e--\u003e  \u003c!-- No idea what license this should be! --\u003e\n\u003c/p\u003e\n\nGenerate mesh-bounded stochastic lattice structures in the browser!\n\n[![Image](assets/image.png)](https://zalo.github.io/StochasticLatticeGen/)\n\nTODO:\n- Spawn the voronoi centers with variable density according to a density field (density check first, then interior check)\n- Allow importing meshes and saving lattices\n- Optionally Prune Disconnected Elements\n- Allow List or Mesh Export\n- Allow changing the Mesh Lattice Style (Swept Tets, Cubes, Spheres, Customizable width)\n- Consider Implicit Meshing using Closest Point to Connections and Marching Cubes(?)\n\n # Building\n\nThis demo can either be run without building (in Chrome/Edge/Opera since raw three.js examples need [Import Maps](https://caniuse.com/import-maps)), or built with:\n```\nnpm install\nnpm run build\n```\nAfter building, make sure to edit the index .html to point from `\"./src/main.js\"` to `\"./build/main.js\"`.\n\n # Dependencies\n - [Voro3D](https://github.com/LukPopp0/voro3d) (Voronoi Cell Computation)\n - [three.js](https://github.com/mrdoob/three.js/) (3D Rendering Engine)\n - [three-mesh-bvh](https://github.com/gkjohnson/three-mesh-bvh) (Accelerated Raycasting and Closest Point Queries)\n - [esbuild](https://github.com/evanw/esbuild/) (Bundler)\n - [worker-with-import-map](https://github.com/kungfooman/worker-with-import-map/) (Hack to allow Import Maps in Workers)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzalo%2Fstochasticlatticegen","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzalo%2Fstochasticlatticegen","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzalo%2Fstochasticlatticegen/lists"}