Code Monkey home page Code Monkey logo

Comments (3)

slowe avatar slowe commented on July 29, 2024

@espinozaortiz How exactly you are trying to control it with a gyroscope or compass? Presumably you are wanting a gnomic projection like in example 8? http://slowe.github.io/VirtualSky/#ex8

If you have some code that is separately calculating the RA/Dec of where you want to be centred you can set the RA/Dec and redraw the canvas e.g.

// Initial setup
var planetarium = S.virtualsky({config options here});

// Set the coordinates (decimal degrees) and update the screen
planetarium.setRADec(83.8220792,-5.3911111).draw()

from virtualsky.

slowe avatar slowe commented on July 29, 2024

I guess this might have answered the question.

from virtualsky.

espinozaortiz avatar espinozaortiz commented on July 29, 2024

from virtualsky.

Related Issues (20)

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.