{"id":13425952,"url":"https://github.com/felixpalmer/procedural-gl-js","last_synced_at":"2025-04-08T09:09:17.640Z","repository":{"id":51427610,"uuid":"314197488","full_name":"felixpalmer/procedural-gl-js","owner":"felixpalmer","description":"Mobile-first 3D mapping engine with emphasis on user experience","archived":false,"fork":false,"pushed_at":"2021-05-11T23:18:01.000Z","size":2753,"stargazers_count":1297,"open_issues_count":22,"forks_count":86,"subscribers_count":33,"default_branch":"main","last_synced_at":"2025-04-01T05:35:40.727Z","etag":null,"topics":["3d-maps","javascript","map","procedural-gl-js","webgl"],"latest_commit_sha":null,"homepage":"https://www.procedural.eu/map","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/felixpalmer.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"github":"felixpalmer"}},"created_at":"2020-11-19T09:25:13.000Z","updated_at":"2025-03-29T01:45:38.000Z","dependencies_parsed_at":"2022-08-12T23:30:45.777Z","dependency_job_id":null,"html_url":"https://github.com/felixpalmer/procedural-gl-js","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/felixpalmer%2Fprocedural-gl-js","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/felixpalmer%2Fprocedural-gl-js/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/felixpalmer%2Fprocedural-gl-js/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/felixpalmer%2Fprocedural-gl-js/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/felixpalmer","download_url":"https://codeload.github.com/felixpalmer/procedural-gl-js/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247809964,"owners_count":20999816,"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":["3d-maps","javascript","map","procedural-gl-js","webgl"],"created_at":"2024-07-31T00:01:22.793Z","updated_at":"2025-04-08T09:09:17.617Z","avatar_url":"https://github.com/felixpalmer.png","language":"JavaScript","funding_links":["https://github.com/sponsors/felixpalmer"],"categories":["JavaScript","javascript","Digital Content Creation Software (DCCs)","Game Development"],"sub_categories":["3D realtime engines","Game Dev Tools: AI \u0026 Procedural Generation"],"readme":"procedural-gl.js\n================\n\n\u003cimg src=\"https://raw.githubusercontent.com/felixpalmer/procedural-gl-js/main/screenshots/title.jpg\" width=\"40%\" align=\"right\" /\u003e\n\nProcedural GL JS is a library for creating 3D map experiences on the web, written in JavaScript and WebGL. It is built on top of [THREE.js](https://github.com/mrdoob/three.js).\n\nIt provides an easy-to-use, but powerful framework to allow beautiful landscapes of the outdoors to be embedded into web pages. It loads super-fast and is optimized for mobile devices.\n\n[Demo](https://www.procedural.eu/map/) | [Docs](https://www.procedural.eu/) | [Overlay playground](https://www.procedural.eu/overlays.html) | [Elevation data](https://www.nasadem.xyz) | [Source](https://github.com/felixpalmer/procedural-gl-js)\n\nKey features\n============\n\n- Novel GPU powered level-of-detail system gives butter-smooth rendering, including on mobile\n- Stream in standard raster imagery tiles. Supports map tiles from a variety of providers\n- Easily include elevation data for 3D terrain\n- Powerful overlay capabilities. Draw crisp markers and lines\n- Well-thought-out API, complex applications can be built without needing to deal with 3D concepts\n- Great UX and intuitive controls, mouse-based on desktop \u0026 touch-based on mobile\n- Tiny filesize means library is parsed fast. Package size is less than THREE.js thanks to code stripping\n\nScreenshots\n===========\n\u003cp\u003e\n\u003cimg src=\"https://raw.githubusercontent.com/felixpalmer/procedural-gl-js/main/screenshots/1.jpg\" width=\"17%\" \u003e\n\u003cimg src=\"https://raw.githubusercontent.com/felixpalmer/procedural-gl-js/main/screenshots/2.jpg\" width=\"17%\" align=\"left\" /\u003e\n\u003cimg src=\"https://raw.githubusercontent.com/felixpalmer/procedural-gl-js/main/screenshots/3.jpg\" width=\"17%\" align=\"left\" /\u003e\n\u003cimg src=\"https://raw.githubusercontent.com/felixpalmer/procedural-gl-js/main/screenshots/4.jpg\" width=\"17%\" align=\"left\" /\u003e\n\u003cimg src=\"https://raw.githubusercontent.com/felixpalmer/procedural-gl-js/main/screenshots/5.jpg\" width=\"17%\" align=\"left\" /\u003e\n\u003c/p\u003e\n\nInstall\n=======\n\n    npm install procedural-gl\n\nUsage\n=====\n\n```javascript\nimport Procedural from 'procedural-gl';\n\n// Choose a DOM element into which the library should render\nconst container = document.getElementById( 'container' );\n\n// Configure datasources\nconst datasource = {\n  provider: 'maptiler',\n  // To get a free key, use https://cloud.maptiler.com/account/?ref=procedural\n  apiKey: 'GET_AN_API_KEY_FROM_MAPTILER'\n};\n\n// Initialize library and optionally add UI controls\nProcedural.init( { container, datasource } );\nProcedural.setRotationControlVisible( true );\n\n// Load real-world location\nconst montBlanc = { latitude: 45.8326364, longitude: 6.8564201 };\nProcedural.displayLocation( montBlanc );\n```\n\nConnecting to a datasource\n--------------------------\n\nTo actually load data using a library you will need to connect to a source of data. The quickest way to get setup is to register for a [free account with MapTiler](https://cloud.maptiler.com/account/?ref=procedural) and then use the API key as shown above.\n\nFor detailed instructions for setting up the datasource, [see this page in the wiki](https://github.com/felixpalmer/procedural-gl-js/wiki/Data-sources)\n\nExamples\n========\n\n- [🏞️ New Zealand National Parks](https://github.com/felixpalmer/new-zealand-3d/)\n- [🏔️ Peaks of Austria](https://github.com/felixpalmer/peaks-of-austria/)\n- [🌋 Volcanoes of Japan](https://github.com/felixpalmer/volcanoes-of-japan)\n- [🗺️ XYCarto(NZ 8m DEM)](https://xycarto.github.io/3D_Aotearoa/)\n\nSponsor\n=======\n\nIf this library is useful to you, please consider [sponsoring](https://github.com/sponsors/felixpalmer) the project.\n\nBlog posts / Guides\n===================\n\n- [Quickstart setup of datasources for Procedural GL JS](https://github.com/felixpalmer/procedural-gl-js/wiki/Data-sources)\n- [Build New Zealand in an afternoon](https://www.pheelicks.com/posts/build-new-zealand-in-an-afternoon/)\n- [RGB Elevation Creation for 3D Online Mapping](https://xycarto.com/2021/04/16/rgb-elevation-creation-for-3d-online-mapping-terrain-rgb/)\n\n\nLicense\n=======\n\nProcedural GL JS is licensed under the [Mozilla Public License Version 2.0](https://www.mozilla.org/en-US/MPL/2.0/).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffelixpalmer%2Fprocedural-gl-js","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffelixpalmer%2Fprocedural-gl-js","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffelixpalmer%2Fprocedural-gl-js/lists"}