>>> Click here for a live preview <<<
This repo implements a showcase for complex logarithmic views for geo polygons. The actual projection is implemented in another repository: https://github.com/biosmanager/d3-geo-polygon/
The idea is based on the following papers:
- Detail‐In‐Context Visualization for Satellite Imagery
- Complex Logarithmic Views for Small Details in Large Contexts
-
Clone this repository with its submodules
git clone --recurse-submodules https://github.com/cgmi/complex-log-projection.git
-
Install yarn
-
Install all dependencies of the project
yarn install
-
Start the dev server by
yarn dev
or run production by
yarn build
You can use
--public-url <path>
to specify the public URL to serve on. See Parcel CLI for more information and the yarn scripts below. Useyarn build-local
to build a production bundle that can be used locally without a webserver. -
Navigate your browser to localhost:1234
Usage: yarn run <script>
or yarn <script>
Script | Description |
---|---|
dev |
Starts development server |
build |
Builds for production, public URL: / |
build-local |
Builds for production, runs locally without a webserver, public URL: ./ |
build-github |
Builds for production and deployment as a GitHub page, public URL: /complex-log-projection/ |
deploy |
Deploys the current build from build/github to the live GitHub page |
test |
Runs all tests |
This repository comes with a launch configuration for VS Code to debug using the Google Chrome debugger.