GithubHelp home page GithubHelp logo

tammojan / paper-globes Goto Github PK

View Code? Open in Web Editor NEW

This project forked from janna112358/paper-globes

0.0 3.0 0.0 9.71 MB

Projecting spherical images onto polyhedral surfaces that can be printed to fold a paper globe

License: MIT License

Python 100.00%

paper-globes's Introduction

paper-globes

This software projects a spherical image onto the surfaces of a polyhedron, and plots these unto a net that can be cut-out and folded up to make a paper globe.

The software currently is able to build an icosahedron and project points in spherical coordinates onto it. A globe is build using coordinates and magnitudes of stars (in 'stars.dat').

Usage

Run the file 'plot_globe.py' to make an Icosahedron paper globe. Inside this script, options such as the output file name and colours can be changed.

python plot_globe.py

Files

files in this repository are organised as follows

.
├── globes                      ## Python scripts
│   ├── import_stars.py         # Import star data
│   ├── projection.py           # Main projection code
├── Icosahedron_net.py          # Building the icosahedron net
├── info                        ## Some useful files and pictures
│   ├── icosahedron_naming.png  # Naming conventions used for the icosahedron
│   ├── notes.txt               # Some notes on the projection and conventions
│   └── paper_globe_pic.jpg     # Picture of the finished paper globe
├── plot_globe.py               # Run scripts
├── stars.dat                   # Star data (coordinates, magnitudes, some names)
└── test-projection.py          # Some tests for projection

Copying

paper-globes is licensed under the terms of the MIT License. Please see the file LICENSE for full details.

paper-globes's People

Contributors

davidgardenier avatar eaydin avatar janna112358 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.