Skip to content

cgmi/complex-log-projection

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

68 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

>>> Click here for a live preview <<<

Complex Log Projection

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:

Usage

  1. Clone this repository with its submodules

    git clone --recurse-submodules https://github.com/cgmi/complex-log-projection.git
  2. Install yarn

  3. Install all dependencies of the project

    yarn install
  4. 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. Use yarn build-local to build a production bundle that can be used locally without a webserver.

  5. Navigate your browser to localhost:1234

yarn scripts

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

Visual Studio Code specifics

This repository comes with a launch configuration for VS Code to debug using the Google Chrome debugger.