Code Monkey home page Code Monkey logo

deep-moon's Introduction

Deep Moon

I tried to download a (200 MB image of the moon's geography)[https://sadr-en.nssdc.ac.cn/detail?dataSetId=972277454573928448&dataSetType=personal] and it crashed my laptop. This repo is just me wrapping that in open seadragon. I'll add a link to the live site here once I get permission from the autors.

Instructiosn

To run this yourself, first download the image from the link above. Move it from your downloads folder to client/public/media (I also snake-cased the filename because I'm a programmer, sorry)

mv "~/Downloads/The geologic map of the Moon at 1-2.5M scale (pre-proof).jpg" client/public/media/the-geologic-map-of-the-moon-at-1-25m-scale-pre-proof.jpg

Next go to the server directory, install deepzoom and create a dzi from the jpg. This should take a minute or two

# create a virtual env
cd server
python3 -m venv .venv
source .venv/bin/activate

# install deepzoom
git clone https://github.com/openzoom/deepzoom.py.git
cd deepzoom.py
python setup.py install
cd ..

# convert the jpg to dzi
python dzi.py ../client/public/media/the-geologic-map-of-the-moon-at-1-25m-scale-pre-proof.jpg

# go back to project root for next step
cd ..

Next install the node packages and start the client

cd client
npm install
npm run serve

You should now see the project at http://localhost:8080/

deep-moon's People

Contributors

chriscauley avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.