All Projects → heremaps → Harp.gl

heremaps / Harp.gl

Licence: apache-2.0
harp.gl - web map rendering engine

Programming Languages

javascript
184084 projects - #8 most used programming language
typescript
32286 projects

Projects that are alternatives of or similar to Harp.gl

Roygbiv
A 3D engine for the Web
Stars: ✭ 499 (-39.73%)
Mutual labels:  3d, webgl, threejs
React Three Editable
👀 ✏️ Edit your react-three-fiber scene with a visual editor without giving up control over your code.
Stars: ✭ 261 (-68.48%)
Mutual labels:  3d, webgl, threejs
Pathfinding Visualizer Threejs
A visualizer for pathfinding algorithms in 3D with maze generation, first-person view and device camera input.
Stars: ✭ 209 (-74.76%)
Mutual labels:  3d, webgl, threejs
Threejs Sandbox
Set of experiments and extensions to THREE.js.
Stars: ✭ 163 (-80.31%)
Mutual labels:  3d, webgl, threejs
Trois
✨ ThreeJS + VueJS 3 + ViteJS ⚡
Stars: ✭ 648 (-21.74%)
Mutual labels:  3d, webgl, threejs
L7
🌎 Large-scale WebGL-powered Geospatial Data Visualization analysis framework which relies on Mapbox GL or AMap to render basemaps.
Stars: ✭ 2,517 (+203.99%)
Mutual labels:  3d, webgl, map
3dio Js
JavaScript toolkit for interior apps
Stars: ✭ 255 (-69.2%)
Mutual labels:  3d, webgl, threejs
3d Force Graph
3D force-directed graph component using ThreeJS/WebGL
Stars: ✭ 2,386 (+188.16%)
Mutual labels:  3d, webgl, threejs
Glmaps
Data visualization examples and tutorials from scratch. 数据可视化示例代码集与新手学习教程。
Stars: ✭ 288 (-65.22%)
Mutual labels:  3d, webgl, threejs
Glas
WebGL in WebAssembly with AssemblyScript
Stars: ✭ 278 (-66.43%)
Mutual labels:  3d, webgl, threejs
Wechart
Create all the [ch]arts by cax or three.js - Cax 和 three.js 创造一切图[表]
Stars: ✭ 152 (-81.64%)
Mutual labels:  3d, webgl, threejs
Vue Gl
Vue.js components rendering 3D WebGL graphics reactively with three.js
Stars: ✭ 434 (-47.58%)
Mutual labels:  3d, webgl, threejs
Jeelizfacefilter
Javascript/WebGL lightweight face tracking library designed for augmented reality webcam filters. Features : multiple faces detection, rotation, mouth opening. Various integration examples are provided (Three.js, Babylon.js, FaceSwap, Canvas2D, CSS3D...).
Stars: ✭ 2,042 (+146.62%)
Mutual labels:  3d, webgl, threejs
Openglobus
JavaScript 3d maps and geospatial data visualization engine library.
Stars: ✭ 199 (-75.97%)
Mutual labels:  3d, webgl, map
Andromeda
This is a WebGL recreation of the popular music video Gorillaz - Andromeda.
Stars: ✭ 145 (-82.49%)
Mutual labels:  3d, webgl, threejs
Dc Sdk
DC-SDK 是基于 Cesium 进行二次开发的2、3D一体 WebGis 应用框架,该框架优化了 Cesium 的使用方式和增添了一些额外功能,旨在为开发者快速构建 WebGis 应用。🌎
Stars: ✭ 206 (-75.12%)
Mutual labels:  3d, webgl, map
Earthjs
D3 Earth JS
Stars: ✭ 128 (-84.54%)
Mutual labels:  3d, webgl, threejs
Timeline
直观地显示各个历史时间段及历史地图。Visually display various historical time periods and historical maps.
Stars: ✭ 127 (-84.66%)
Mutual labels:  3d, threejs, map
Enable3d
🕹️ Standalone 3D Framework / Physics for three.js (using ammo.js) / 3D extension for Phaser 3
Stars: ✭ 271 (-67.27%)
Mutual labels:  3d, webgl, threejs
React Postprocessing
📬 postprocessing for react-three-fiber
Stars: ✭ 311 (-62.44%)
Mutual labels:  3d, webgl, threejs

harp.gl

CI codecov twitter

harp.gl is an experimental and work in progress open-source 3D map rendering engine written in TypeScript.

harp.gl site

harp.gl Slack channel Registration available here.

Overview

You can use this engine to:

  • Develop visually appealing 3D maps
  • Create highly animated and dynamic map visualization with WebGL, using the popular three.js library.
  • Create themeable maps, with themes that can change on the fly.
  • Create a smooth map experience with highly performant map rendering and decoding. Web workers parallelize the CPU intensive tasks, for optimal responsiveness.
  • Design your maps modularly, where you can swap out modules and data providers as required.

With that in mind, we have included some modules that let's you get started with some simple web applications that can display a map using our default style. You can get results like the one shown below:

New York City rendered with our default style

Getting started with harp.gl

There are three methods to get up and running with harp.gl quickly, in order of difficulty:

  1. Using the yeoman generator.
  2. linking a simple bundle as a <script> tag in your html
  3. installing a set of node modules from npm

If you want to learn more about the applications you can create, please check the Getting Started Guide.

Authentication

Regardless of how you structure your project, you need some means to authenticate, please see the following guide to generate a token.

About This Repository

This repository is a monorepo containing the core components of harp.gl, organized in a yarn workspace.

All components can be used stand-alone and are in the @here subdirectory.

Installation

In Node.js

All harp.gl modules are installable via yarn (or npm):

yarn add @here/harp-mapview
npm install @here/harp-mapview

In Browser

Since harp.gl consists of a set of modules, there are no ready-made bundles available. Take a look at the examples on information on how to use tools like webpack to create a bundle for the browser.

Development

Prerequisites

  • Node.js - Please see nodejs.org for installation instructions
  • Yarn - Please see yarnpkg.com for installation instructions.

Download dependencies

Run:

yarn install

to download and install all required packages and set up the yarn workspace.

Launch development server for harp.gl examples

Run:

yarn start

To launch webpack-dev-server. Open http://localhost:8080/ in your favorite browser.

Launch development server for unit tests

Run:

yarn start-tests

Open http://localhost:8080/ in your favorite browser to run the tests.

Run unit tests in Node.js environment

Run:

yarn test

Run unit & integration tests in Browser environment

Run:

yarn run start-tests
>: Project is running at http://localhost:8080/

Note the URL and invoke tests using mocha-webdriver-runner. Example:

npx mocha-webdriver-runner http://localhost:8081/ --chrome
npx mocha-webdriver-runner http://localhost:8081/ --headless-firefox

Run performance tests in Node.js environment

As for now, there is no baseline for performance tests results, so before examining performance one have to establish baseline:

Performance test steps

  1. Establish baseline results.
$ git checkout master
PROFILEHELPER_COMMAND=baseline yarn performance-test-node # create baseline of measurements for your particular platform

Note, that performance test suite is very limited, so it is highly possible that you have to write new dedicated performance test for code that is about to be optimized. See tests/performance for examples.

  1. Go back to your branch, change stuff and

  2. Rerun tests with your changes

yarn performance-test-node --grep lines # assuming you're playing with lines
  1. Examine output:
...

performance createLineGeometry segments=2
  min=0.0014ms (-2.44% vs 0.0014ms) sum=999.16ms (0% vs 999.12ms) repeats=499568.00 (-6.47% vs 534131.00) throughput=499988.43/s (-6.47% vs 534600.13/s)
  avg=0.002ms (6.92% vs 0.0019ms) med=0.0015ms (0.2% vs 0.0015ms) med95=0.0031ms (17.6% vs 0.0026ms)
  gcTime=39.6195ms (-3.39% vs 41.011ms) sumNoGc=959.54ms (0.15% vs 958.11ms) throughputNoGc=520633.00/s (-6.61% vs 557461.83/s)

Generate documentation

Run:

yarn run typedoc

It will output all documentation under /dist/doc.

License

Copyright (C) 2017-2021 HERE Europe B.V.

See the LICENSE file in the root of this project for license details about using harp.gl.

In addition, please note that the fonts are under a different set of licenses.

For other use cases not listed in the license terms, please contact us.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].