{"id":16147506,"url":"https://github.com/edap/leafgeometry","last_synced_at":"2025-10-04T12:52:42.510Z","repository":{"id":145594091,"uuid":"80359387","full_name":"edap/LeafGeometry","owner":"edap","description":"Low-poly palm's leaf geometry for Three.js","archived":false,"fork":false,"pushed_at":"2017-02-17T23:44:52.000Z","size":566,"stargazers_count":11,"open_issues_count":1,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-07-31T01:56:07.273Z","etag":null,"topics":["3d","algorithmic-botany","geometry","threejs"],"latest_commit_sha":null,"homepage":"http://davideprati.com/demo/LeafGeometry/","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/edap.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":"2017-01-29T17:14:39.000Z","updated_at":"2025-04-13T05:14:50.000Z","dependencies_parsed_at":"2024-04-14T10:02:54.083Z","dependency_job_id":null,"html_url":"https://github.com/edap/LeafGeometry","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/edap/LeafGeometry","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edap%2FLeafGeometry","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edap%2FLeafGeometry/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edap%2FLeafGeometry/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edap%2FLeafGeometry/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/edap","download_url":"https://codeload.github.com/edap/LeafGeometry/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edap%2FLeafGeometry/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278315198,"owners_count":25966775,"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","status":"online","status_checked_at":"2025-10-04T02:00:05.491Z","response_time":63,"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":["3d","algorithmic-botany","geometry","threejs"],"created_at":"2024-10-10T00:25:30.809Z","updated_at":"2025-10-04T12:52:42.494Z","avatar_url":"https://github.com/edap.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"This repository contains a [demo](http://davideprati.com/demo/LeafGeometry) that uses the LeafGeometry.\n\nFor now it is es6 only, to use it in your project, download the file `src/LeafGeometry.js`, include it in your application and use this geometry to create a mesh, for example:\n\n```javascript\nimport LeafGeometry from './leafGeometry.js';\nlet opt = {\n    length: gui.params.length,\n    length_stem: gui.params.length_stem,\n    width_stem: gui.params.width_stem,\n    leaf_width: gui.params.leaf_width,\n    leaf_up: gui.params.leaf_up,\n    density: gui.params.density,\n    curvature: gui.params.curvature,\n    curvature_border: gui.params.curvature_border,\n    leaf_inclination: gui.params.leaf_inclination\n};\nlet geometry = new LeafGeometry(opt);\n\nobject = new THREE.Mesh(geometry, new THREE.MeshPhongMaterial({color: 0x2194CE}));\nscene.add(object);\n\n```\n\nTo try out this example, clone the repository and:\n\n```javascript\nnpm install\nnpm start\nnpm build\n```\n\n![example](uno.png)\n![example](due.png)\n![example](tre1.png)\n![example](quattro.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fedap%2Fleafgeometry","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fedap%2Fleafgeometry","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fedap%2Fleafgeometry/lists"}