Skip to content

tdiprima/multi-viewer

Repository files navigation

multi-viewer

Multiple synchronized OpenSeadragon viewers

Renders colorized segmentations, heatmaps, etc.

The code uses HTML5, JavaScript ES6, CSS3, the npm package manager, Grunt automation...

Install & Build

OS X & Linux:

npm install; grunt

Generate docs

npm run doc

Usage

Explore & run the HTML files for example usage.

Meta

Tammy DiPrima tammy.diprima@stonybrook.edu

Distributed under the Apache License 2.0. See LICENSE.txt for more information.

Contributing

When contributing, please attempt to match the code style already in the codebase.

  1. Fork this repo via GitHub
  2. Create your feature branch
git checkout -b feature/fooBar
  1. Commit your changes
git commit -m "Add fooBar"
  1. Push to the branch
git push origin feature/fooBar
  1. Create a new Pull Request via GitHub

Linting code

Lint JavaScript

# all
npm run lint:write
# or
npx eslint yourscript.js --fix

Lint CSS

csscomb file.css

Dependencies

color-picker

fabric.js

Font Awesome

jQuery

OpenSeadragon

OpenseadragonFabricjsOverlay

OpenSeadragonFiltering

OpenSeadragonScalebar