Coder Social home page Coder Social logo

lugduna-gaiasky's Introduction

lugduna-gaiasky

Visualize the orbit of the asteroid 1133 Lugduna with GaiaSky. This video was made in connection with the Leiden European City of Science 2022 events.

Many thanks to Toni Sagristà Sellés for helping me figure out how to create this GaiaSky animation.

animation still

How to reproduce the video

GaiaSky setup

  • Install GaiaSky
  • Run GaiaSky first to configure it properly for reproducing the video:
    • Make sure that the Hipparcos data set is installed (in addition to the base data set
    • Run GaiaSky and change the GUI Graphics settings to windowed mode with a size of 1280x720 pixels
  • Exit GaiaSky

GaiaSky config files

  • To use PNG output frames edit ~/.xdg/gaiasky/config.yaml and change the "JPG" occurences to "PNG"
    • This step is only needed after the first time running GaiaSky
  • Copy the file orbit-lugduna.json from the gsfiles folder to ~/.local/share/gaiasky/data/default-data/
  • Copy the file dataset.json from the gsfiles folder to ~/.local/share/gaiasky/data/default-data/, replacing the existing dataset.json
  • Edit ~/gaiasky/conf/config.yaml and change "pointCloud: POINTS" to "pointCloud: TRIANGLES" (assuming your hardware can handle this).

Create the video

  • Start GaiaSky and while GaiaSky is running execute the following instruction from the command line:
python lugduna.py -s
  • Generate the video by running (can be done without GaiaSky running):
./makevideo.sh [-e] [-n]
  • The output videos can be found in the video folder.

If you modify anything you can see what the animation sequence looks like by running python lugduna.py without the -s switch. This will be faster (no frames are stored from GaiaSky) but the explanations and Lugduna and date labels will be missing (these are added with the makevideo.sh script).

Dependencies

lugduna-gaiasky's People

Contributors

agabrown avatar

Watchers

 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.