Giter VIP home page Giter VIP logo

planetarium's Introduction

Planetarium

planetarium-screen

This is a solar system model.

It uses OpenGL and SDL for graphics and ui.

Data mostly from nasa factsheet.

Textures from solarsystemscope

Starting

Add Planetarium to the quickload load path and start its main function

(ql:quickload 'planetarium)
(planetarium::main)

On my Linux system I need to add /usr/lib/x86_64-linux-gnu to the path, otherwise SDL2 does not get loaded.

Navigation

Currently the navigation is always centered on the sun, and you move in a sphere around it. Real 6 dof navigation should be implemented eventually.

You can navigate using the keyboard:

  • ↑ - view pitch up
  • ↓ - view pitch down
  • ← - roll left
  • → - roll right
  • w - move forward toward the center
  • s - move away from the center
  • a - rotate view left
  • d - rotate view right
  • t - toggle planets rescaling - useful because planets are too small in their actual size
  • . - increase time rate
  • , - decrease time rate
  • r - reset camera
  • o - toggle orbits drawing
  • 8 - fast travel
  • 6 - slow travel

Inaccuracies

Note that this is a simple simulation of planets moving in predefined orbits, and thus far from a "real" Solar system simulation.

There also is no "phase" information, and thus all planets start at the same radial line.

License

GPL-2.0

planetarium's People

Contributors

monomon avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  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.