GithubHelp home page GithubHelp logo

stellarium / stellarium-web-engine Goto Github PK

View Code? Open in Web Editor NEW
410.0 26.0 86.0 32.59 MB

JavaScript planetarium engine

Makefile 0.19% Python 0.42% GLSL 0.23% C 86.14% C++ 10.58% JavaScript 1.04% HTML 0.35% Dockerfile 0.01% Vue 0.99% SCSS 0.07% Shell 0.01%

stellarium-web-engine's Introduction

Stellarium Web Engine

About

Stellarium Web Engine is a JavaScript planetarium renderer using WebGL that can be embedded into a website.

Features

  • Atmosphere simulation.
  • Gaia stars database access (more than 1 billion stars).
  • HiPS surveys rendering.
  • High resolution planet textures.
  • Constellations.
  • Support for adding layers and shapes in the sky view.
  • Landscapes.

Build the javascript version

You need to make sure you have both emscripten and sconstruct installed.

# Setup emscripten path.
source $PATH_TO_EMSDK/emsdk_env.sh

# Build stellarium-web-engine.js and stellarium-web-engine.wasm
# This will also copy the files into html/static/js
make js

# Now see apps/simple-html/ to try the library in a browser.

Contributing

In order for your contribution to Stellarium Web Engine to be accepted, you have to sign the Stellarium Web Contributor License Agreement (CLA).

stellarium-web-engine's People

Contributors

alx-khramov avatar dependabot[bot] avatar guillaumechereau avatar xalioth avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

stellarium-web-engine's Issues

Error in Pluto's position relative to background stars?

At https://stellarium-web.org/, I noticed the position of Pluto appears to be wrong against the background stars. The RA shows 19h 38m38.4s, but theskylive.com shows 19h 36m41.0s. The Stellarium software on my PC shows it at the same location as theskylive.com and I believe I see it at that location through my telescope.

If this is a real issue, I suspect it affects the other planets since I see differences in their RA as well, but interestingly not the exact same amount.

Bottom buttons aren't visible on Chrome mobile

Hello, I have an issue with Stellarium Web (it doesn't matter if it's served with yarn run dev or served statically with files built via yarn run build command), where buttons on the bottom of the screen are not visible. The buttons work on PCs, I tested on Windows and on Linux, on Firefox, Chromium and Edge, and they work everywhere. They just don't work on Chrome mobile, but they work on other mobile browsers, like Firefox mobile.

"Couldnt find skysource" information for some stars

DISCLAIMER: I havent seen this before, it might not be a bug. Feel free to close the issue if it isnt.

Summary

TLDR: https://gyazo.com/656e7a16a1b5ac20dec4feb7d3b96b91
SUMMARY: A cluster of stars all are not displaying their "v-sheet"/basic information panel.
PRIORITY: Medium

STAR NAMES:

  • C/2019 Y4-A (Atlas)
  • C/2019 Y4-B (Atlas)
  • C/2019 Y4-C (Atlas)

Expected Behavior

The "v-sheet"/informational panel should display for all clickable objects

Actual Behavior

The panel doesnt display for these specific stars

Gif of execution
https://gyazo.com/656e7a16a1b5ac20dec4feb7d3b96b91

Stellarium Web

Hello Developers My name is dale roberts i can explain to you i have a new verification for implementation i know implement on github i only fork when i reload the page of stellarium web the color of sky not appears

Support to install it in web domain.

Hello, I have written you by mail from the contact area of your website but I have not received an answer, we would like you to install your stellarium-web project in our domain.
Can you give me a price for this job?
Thank you.

Offline data

Hi,
I'm looking into integrating stellarium-web-engine into my astrophotography web application: https://github.com/GuLinux/StarQuew

However my main concern is that stellarium-web-engine requires access to data.stellarium.org, and I saw this hostname is hardcoded into the sources.
The ideal usage of my StarQuew application though is mainly for local installation, for instance on a raspberry pi on the field, without internet access.
Hence my 2 questions:

  1. Could it be possible to download and have a local mirror of this data? Is there any licence restriction?
  2. If 1) is possible, could you make the data source uri a configurable parameter?
    Thanks,
    Marco

dependencies were not found

I am trying to use this web-frontend folder section with node. But i am getting this error
`These dependencies were not found:

  • @/assets/js/stellarium-web-engine.js in ./src/assets/sw_helpers.js
  • @/assets/js/stellarium-web-engine.wasm in ./node_modules/vuetify-loader/lib/loader.js??ref--19-0!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/App.vue?vue&type=script&lang=js&

To install them, you can run: npm install --save @/assets/js/stellarium-web-engine.js @/assets/js/stellarium-web-engine.wasm
^C
`
Please help my with this.

Search not working?

Hello,
first of all thanks a lot for this project, I really like it a lot.
After some issues (Linux noob) I got this up and running (at least the docker version), but for some reason the search doesn't work, as in it doesn't seem to be doing anything at all.
Any chance someone can point me in the right direction?

Is there actually a way to run this just using the javascript without the docker stuff from the /stellarium-web-enginge folder?
When running the "make js" there is no test-page.html in the html folder afterwards.
Thanks in advance!

Error in star data

Hi there,
for some reason the star data for Gienah (belonging to Corvus) seems to be wrong.
If you click on it (stellarium-web.org), it shows HIP 102488. However, if you enter HIP 102488 in the search you get pointed to a completely different star!
Gienah should be HIP 59803 according to wikipedia.

Any chance you can fix that? Or can I actually create a fork and fix it myself?
Thanks in advance :-)

Search supports some greek letters(η, γ, ε) and not others (α, β, δ)

Summary

TLDR: watch https://gyazo.com/650c2c2c638e21ba06358defa97c32fc
SUMMARY: The search bar will recognize and search celestial bodies with some greek letters(e.g. (η, γ, ε), but notably doesnt display results when searching using other greek letters(e.g. (α, β, δ))
PRIORITY: Low to Medium

NOTES: Purely a stylistic choice here, but "NO RESULTS FOUND" should be displayed somewhere when a search returns no results(in my opinion)

Expected Behavior

Support the searching of all named celestial bodies by their names(which may or not include greek letters)

Actual Behavior

Only some letters are recognized and not others

Steps to reproduce

1.) Attempt to search for "η Car Nebula"
2.) You will find it
3.) Attempt to search for Sirius (α Canis Majoris) using "α Canis"
4.) The search will display no results

Gif of execution

https://gyazo.com/650c2c2c638e21ba06358defa97c32fc

default time

Sorry if this is not the right place for this question:

Is there a way to set a default time (and location) for each user to access the site?
I found a similar question on sourceforge with no answer so far.

On android it looks like something similar is implemented, because it always shows the sky at nighttime. On desktop (windows) however it uses the actual time.

Is there an easy way to do this? Or mayber a difficult one by changing the source code?

Thanks in advance!

Adding CCD FOV calculator feature for stellarium-web

Dear developers,

I would like to ask for a CCD field of view calculator on the new stellarium-web that could be used by all the community of astrophotographers to plan their sessions. Just like another set of input parameters in "Observation with Eyes/Binoculars/Telescope", a four tab called CCD could be added.

Input parameters could be the X/Y field of view and rotation, or more detailed, including the CCD resolution, pixel size, focal length of the telescope, and eventually, the aperture.

Output parameters could be (apart from plotting the FOV on the sky): the plate scale, field of view, resolving power.

As a reference, it could be similar to what provided by this website, in the "Imaging mode" tab: http://astronomy.tools/calculators/field_of_view/

Many thanks,
Abel de Burgos
Support Astronomer for the Nordic Optical Telescope.

Atmosphere Model

@@ -52,10 +52,10 @@ constexpr int SCATTERING_TEXTURE_MU_SIZE = 128;
constexpr int SCATTERING_TEXTURE_MU_S_SIZE = 32 ;
constexpr int SCATTERING_TEXTURE_NU_SIZE = 8 ;

constexpr int SCATTERING_TEXTURE_WIDTH =
SCATTERING_TEXTURE_NU_SIZE * SCATTERING_TEXTURE_R_SIZE;
constexpr int SCATTERING_TEXTURE_WIDTH = SCATTERING_TEXTURE_MU_S_SIZE;
constexpr int SCATTERING_TEXTURE_HEIGHT = SCATTERING_TEXTURE_MU_SIZE;
constexpr int SCATTERING_TEXTURE_DEPTH = SCATTERING_TEXTURE_MU_S_SIZE; @@ -89,7 +89,7 @@ void SaveTexture(const GLenum texture_unit, const GLenum texture_target,
{
using namespace atmosphere;
const std::int32_t header[]={SCATTERING_TEXTURE_MU_S_SIZE, SCATTERING_TEXTURE_MU_SIZE,
SCATTERING_TEXTURE_R_SIZE, SCATTERING_TEXTURE_NU_SIZE,
SCATTERING_TEXTURE_NU_SIZE, SCATTERING_TEXTURE_R_SIZE,
4};
output_stream.write(reinterpret_cast<const char*>(header), sizeof header);
} @@ -784,7 +784,7 @@ vec4 GetScatteringTextureUvwzFromRMuMuSNu(IN(AtmosphereParameters) atmosphere,
// Distance to the horizon.
Length rho =
SafeSqrt(r * r - atmosphere.bottom_radius * atmosphere.bottom_radius);
Number u_r = GetTextureCoordFromUnitRange(rho / H, SCATTERING_TEXTURE_R_SIZE);
Number u_r = rho / H;

// Discriminant of the quadratic equation for the intersections of the ray
// (r,mu) with the ground (see RayIntersectsGround).
@@ -821,8 +821,9 @@ vec4 GetScatteringTextureUvwzFromRMuMuSNu(IN(AtmosphereParameters) atmosphere,
Number u_mu_s = GetTextureCoordFromUnitRange(
max(1.0 - a / A, 0.0) / (1.0 + a), SCATTERING_TEXTURE_MU_S_SIZE);

Number u_nu = (nu + 1.0) / 2.0;
return vec4(u_nu, u_r, u_mu, u_mu_s);
Number u_nu = GetTextureCoordFromUnitRange((nu + 1.0) / 2.0,
SCATTERING_TEXTURE_NU_SIZE);
return vec4(u_nu, u_mu_s, u_mu, u_r);
}

/*
@@ -842,7 +843,7 @@ void GetRMuMuSNuFromScatteringTextureUvwz(IN(AtmosphereParameters) atmosphere,
atmosphere.bottom_radius * atmosphere.bottom_radius);
// Distance to the horizon.
Length rho =
H * GetUnitRangeFromTextureCoord(uvwz.y, SCATTERING_TEXTURE_R_SIZE);
H * uvwz.w;
r = sqrt(rho * rho + atmosphere.bottom_radius * atmosphere.bottom_radius);

if (uvwz.z < 0.5) {
@@ -870,7 +871,7 @@ void GetRMuMuSNuFromScatteringTextureUvwz(IN(AtmosphereParameters) atmosphere,
}

Number x_mu_s =
GetUnitRangeFromTextureCoord(uvwz.w, SCATTERING_TEXTURE_MU_S_SIZE);
GetUnitRangeFromTextureCoord(uvwz.y, SCATTERING_TEXTURE_MU_S_SIZE);
Length d_min = atmosphere.top_radius - atmosphere.bottom_radius;
Length d_max = H;
Number A =
@@ -880,7 +881,8 @@ void GetRMuMuSNuFromScatteringTextureUvwz(IN(AtmosphereParameters) atmosphere,
mu_s = d == 0.0 * m ? Number(1.0) :
ClampCosine((H * H - d * d) / (2.0 * atmosphere.bottom_radius * d));

nu = ClampCosine(uvwz.x * 2.0 - 1.0);
nu = ClampCosine(GetUnitRangeFromTextureCoord(uvwz.x, SCATTERING_TEXTURE_NU_SIZE)
* 2.0 - 1.0);
}

/*
@@ -901,16 +903,16 @@ void GetRMuMuSNuFromScatteringTextureFragCoord(
OUT(Length) r, OUT(Number) mu, OUT(Number) mu_s, OUT(Number) nu,
OUT(bool) ray_r_mu_intersects_ground) {
const vec4 SCATTERING_TEXTURE_SIZE = vec4(
SCATTERING_TEXTURE_NU_SIZE - 1,
SCATTERING_TEXTURE_R_SIZE,
SCATTERING_TEXTURE_NU_SIZE,
SCATTERING_TEXTURE_MU_S_SIZE,
SCATTERING_TEXTURE_MU_SIZE,
SCATTERING_TEXTURE_MU_S_SIZE);
Number frag_coord_nu =
floor(frag_coord.x / Number(SCATTERING_TEXTURE_R_SIZE));
SCATTERING_TEXTURE_R_SIZE - 1);
Number frag_coord_r =
mod(frag_coord.x, Number(SCATTERING_TEXTURE_R_SIZE));
floor(frag_coord.z / Number(SCATTERING_TEXTURE_NU_SIZE));
Number frag_coord_nu =
mod(frag_coord.z, Number(SCATTERING_TEXTURE_NU_SIZE));
vec4 uvwz =
vec4(frag_coord_nu, frag_coord_r, frag_coord.y, frag_coord.z) /
vec4(frag_coord_nu, frag_coord.x, frag_coord.y, frag_coord_r) /
SCATTERING_TEXTURE_SIZE;
GetRMuMuSNuFromScatteringTextureUvwz(
atmosphere, uvwz, r, mu, mu_s, nu, ray_r_mu_intersects_ground);
@@ -958,13 +960,13 @@ AbstractSpectrum GetScattering(
bool ray_r_mu_intersects_ground) {
vec4 uvwz = GetScatteringTextureUvwzFromRMuMuSNu(
atmosphere, r, mu, mu_s, nu, ray_r_mu_intersects_ground);
Number tex_coord_x = uvwz.x * Number(SCATTERING_TEXTURE_NU_SIZE - 1);
Number tex_x = floor(tex_coord_x);
Number lerp = tex_coord_x - tex_x;
vec3 uvw0 = vec3((tex_x + uvwz.y) / Number(SCATTERING_TEXTURE_NU_SIZE),
uvwz.z, uvwz.w);
vec3 uvw1 = vec3((tex_x + 1.0 + uvwz.y) / Number(SCATTERING_TEXTURE_NU_SIZE),
uvwz.z, uvwz.w);
Number tex_coord_w = uvwz.w * Number(SCATTERING_TEXTURE_R_SIZE - 1);
Number tex_w = floor(tex_coord_w);
Number lerp = tex_coord_w - tex_w;
vec3 uvw0 = vec3(uvwz.y,
uvwz.z, (tex_w + uvwz.x) / Number(SCATTERING_TEXTURE_R_SIZE));
vec3 uvw1 = vec3(uvwz.y,
uvwz.z, (tex_w + 1.0 + uvwz.x) / Number(SCATTERING_TEXTURE_R_SIZE));
return AbstractSpectrum(texture(scattering_texture, uvw0) * (1.0 - lerp) +
texture(scattering_texture, uvw1) * lerp);
}
@@ -1656,13 +1658,13 @@ IrradianceSpectrum GetCombinedScattering(
OUT(IrradianceSpectrum) single_mie_scattering) {
vec4 uvwz = GetScatteringTextureUvwzFromRMuMuSNu(
atmosphere, r, mu, mu_s, nu, ray_r_mu_intersects_ground);
Number tex_coord_x = uvwz.x * Number(SCATTERING_TEXTURE_NU_SIZE - 1);
Number tex_x = floor(tex_coord_x);
Number lerp = tex_coord_x - tex_x;
vec3 uvw0 = vec3((tex_x + uvwz.y) / Number(SCATTERING_TEXTURE_NU_SIZE),
uvwz.z, uvwz.w);
vec3 uvw1 = vec3((tex_x + 1.0 + uvwz.y) / Number(SCATTERING_TEXTURE_NU_SIZE),
uvwz.z, uvwz.w);
Number tex_coord_w = uvwz.w * Number(SCATTERING_TEXTURE_R_SIZE - 1);
Number tex_w = floor(tex_coord_w);
Number lerp = tex_coord_w - tex_w;
vec3 uvw0 = vec3(uvwz.y,
uvwz.z, (tex_w + uvwz.x) / Number(SCATTERING_TEXTURE_R_SIZE));
vec3 uvw1 = vec3(uvwz.y,
uvwz.z, (tex_w + 1.0 + uvwz.x) / Number(SCATTERING_TEXTURE_R_SIZE));
#ifdef COMBINED_SCATTERING_TEXTURES
vec4 combined_scattering =
texture(scattering_texture, uvw0) * (1.0 - lerp) +

constexpr int SCATTERING_TEXTURE_DEPTH =
SCATTERING_TEXTURE_NU_SIZE * SCATTERING_TEXTURE_R_SIZE;

constexpr int IRRADIANCE_TEXTURE_WIDTH = 64 ;
constexpr int IRRADIANCE_TEXTURE_HEIGHT = 16 ;

Rise and Set time and daylight/nighttime is incorrect for mid-Southern lats

I'm using Stellarium Web to determine the rise and set times of the Sun and other objects, but I noticed these are not correct for mid-Southern latitudes throughout the year. I compared Sydney and Durban through the year in both Stellarium Web and Stellarium OSX and the sunrise and sunset times are not in agreement. I thought at first Stellarium web may be using UTC instead of local, but that doesn't seem to be the case.

Screen Shot 2020-08-24 at 2 47 26 PM

Thanks!

Allow re-request of confirmation email

I created an account when C/2020 F3 (NEOWISE) was about to pass, but --- because I was in a hurry to leave to a darker place for better sighting --- I forgot to click on the confirmation email, and the token expired.

If I try to sign in, I'm greeted with:

Email confirmation required

And if I try to click the verification link (which has expired), I get:

Your email confirmation token has expired

However, there is no option to re-send the verification email on either of them (and trying to register again notifies me that:

A user with the same email is already registered: [email protected]

Could the option for re-requesting verification be included in the web app?

Feature - share/bookmark current view

It'd be great if stellarium web let users book / share current view.

I imagine it could be something like this:
https://stellarium-web.org/#<identifiers encoded the view's current location, direction, view settings, etc.)

The engine, upon seeing such identifiers, will adjust the map accordingly.

Fullscreen button not visible on Chrome/Windows when on portrait mode

Fullscreen button is visible on Chrome/Windows when on landscape mode, but not on portrait mode. It might depend on the screen size and resolution. Perhaps it is just a matter of lack of visible area to display it. The issue may take the user to a blocked situation if he (on landscape mode) enables fullscreen display and then moves phone to portrait mode. Since the button is not displayed anymore, there is no clear way to disable fullscreen mode. Moving back to landscape mode is the only way, but it is not obvious.

Add Clouds On Stellarium Web And Implement a new atmosphere

teach me how to implement a new atmosphere for stellarium web on github teach me the steps how add clouds and a new atmosphere even forking and implementing i m tired of editing files
image the atmosphere is stranger fabien you can teach me how fork and implement the model of atmosphere i myself want make the new model atmosphere teach me also how add resources on stellarium web engine on github how add light pollution and landscapes on list my desktop is not zip is exe is not zip you can change stellarium to exe please i want add landscapes for stellarium web fabien you understanding me you please can create the resource add landscapes
image http://www.keckobservatory.org/videos/cosmic/19/04/26/keckccam.mp4

Hard crash when closing "Planets Tonight" modal before it loads

Summary

TLDR: https://gyazo.com/f194c1db93728d144309e56c1ab303b1
SUMMARY: When a user clicks the "Planets Tonight" button and quickly clicks away(before it finishes loading), the entire app hard crashes(crashes and never recovers, completely unresponsive).
PRIORITY: High Priority

NOTES: Interestingly, there are no errors thrown in the console.
NOTES: 100% reproducible on my machine. Please feel free to ping me if you can't reproduce it.

Expected Behavior

The "Planets Tonight" modal either opens and then closes, or never opens in the first place.

Actual Behavior

The web app crashes when a user tries to close the "Planets Tonight" modal before it loads.

Steps to reproduce:

(NOTE: 100% reproducible, read carefully if you can't reproduce)
1.) Refresh
2.) Double click the "Planets Tonight" menu button in the top left
3.) Before the "Planets Tonight" modal finishes loading, click the center of the page
4.) App will hard crash

Gif of execution

https://gyazo.com/f194c1db93728d144309e56c1ab303b1

Deleting an observation before the page loads causes the observation-panel to crash

TLDR: watch https://gyazo.com/8a6adda8bff1d7c228436aab63e67d18
SUMMARY: Upon refreshing, If a user attempts to delete an observation, the page observation panel will crash and will attempt to load endlessly
PRIORITY: Low to Medium
NOTES: Forgive my poor bug report. I usually log bugs in a third party app. I will make a nice, uniform bug report format eventually

Expected Behavior

  • Either forbidding user from deleting observations while the page is loading, or having the observation delete after the page finishes loading(instead of crashing)

Actual Behavior

  • Panel crashes after attempting to delete

Steps to reproduce

gif of execution

https://gyazo.com/8a6adda8bff1d7c228436aab63e67d18

OSError: [WinError 193] %1 is not a valid Win32 application:

Hey There, Devs!
I am having an issue while building stellarium-web-engine.js and stellarium-web-engine.wasm.
everything works fine, untill setting up path using emscripten,
when i execute

make js

I am getting an error as :

C:\Users\M. FURQAN LIAQAT\Desktop\stellarium-web-engine-master>make js
make i info Invoking js target
OSError: [WinError 193] %1 is not a valid Win32 application:
File "C:\Users\M. FURQAN LIAQAT\Desktop\stellarium-web-engine-master\SConstruct", line 185:
call('./tools/make-assets.py')
File "c:\users\m. furqan liaqat\appdata\local\programs\python\python38\lib\subprocess.py", line 340:
with Popen(*popenargs, **kwargs) as p:
File "c:\users\m. furqan liaqat\appdata\local\programs\python\python38\lib\subprocess.py", line 854:
self._execute_child(args, executable, preexec_fn, close_fds,
File "c:\users\m. furqan liaqat\appdata\local\programs\python\python38\lib\subprocess.py", line 1307:
hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
make × ERR emscons scons -j8 mode=release
make × ERR Recipe exited with code %d
(node:10692) UnhandledPromiseRejectionWarning: Error: Recipe exited with code %d
at ChildProcess.<anonymous> (C:\Users\M. FURQAN LIAQAT\AppData\Roaming\npm\node_modules\make\src\cli.js:143:28)
at ChildProcess.emit (events.js:315:20)
at maybeClose (internal/child_process.js:1021:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:286:5)
(node:10692) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1) (node:10692) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

I have tried a couple of fixes, doesn't work at all.
I have both emscripten and sconstruct installed. also ENVIRONMENT VARIABLES are set.

I am on WIndows 10 Pro
Python 3.8 x64

I think there can be a version missmatch or something like this, any help would be valuable:)
Regards!
Thanks in advance:)

swe-dev:latest pull access denied

I am using docker to setup this and i run this command
sudo make setup build dev start

But i am getting this error
docker build -t stellarium-web-dev . Sending build context to Docker daemon 179.3MB Step 1/9 : FROM node:12.10.0-alpine ---> ef7d474eab14 Step 2/9 : EXPOSE 8080 ---> Using cache ---> c35d06620b0d Step 3/9 : EXPOSE 8888 ---> Using cache ---> 06c17dcb432f Step 4/9 : WORKDIR /app ---> Using cache ---> 2d2706d91e7e Step 5/9 : RUN chown -R node /app ---> Using cache ---> 749a209e2861 Step 6/9 : USER node ---> Using cache ---> 88092b9fe66c Step 7/9 : RUN id node ---> Using cache ---> 79552ac81d2d Step 8/9 : RUN yarn ---> Using cache ---> f013345a31bb Step 9/9 : CMD yarn run dev ---> Using cache ---> eed6cc09988d Successfully built eed6cc09988d Successfully tagged stellarium-web-dev:latest docker run -it --rm -v "/home/binoy/Documents/fiverr/imborx/stellarium-web-engine-stellarium-web/web-frontend:/app" stellarium-web-dev yarn yarn install v1.17.3 warning package-lock.json found. Your project contains lock files generated by tools other than Yarn. It is advised not to mix package managers in order to avoid resolution inconsistencies caused by unsynchronized lock files. To clear this warning, remove package-lock.json. [1/4] Resolving packages... [2/4] Fetching packages... info [email protected]: The platform "linux" is incompatible with this module. info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation. info [email protected]: The platform "linux" is incompatible with this module. info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation. [3/4] Linking dependencies... warning " > [email protected]" has unmet peer dependency "@types/leaflet@^1.2.11". warning " > [email protected]" has incorrect peer dependency "eslint@^6.0.0". warning " > [email protected]" has unmet peer dependency "webpack@^3.0.0 || ^4.0.0". warning " > [email protected]" has unmet peer dependency "webpack@^4.0.0". [4/4] Building fresh packages... warning Your current version of Yarn is out of date. The latest version is "1.21.1", while you're on "1.17.3". info To upgrade, run the following command: $ curl --compressed -o- -L https://yarnpkg.com/install.sh | bash Done in 32.72s. cd .. && make gen-es6 make[1]: Entering directory '/home/binoy/Documents/fiverr/imborx/stellarium-web-engine-stellarium-web' docker run -it -p 8000:8000 -v "/home/binoy/Documents/fiverr/imborx/stellarium-web-engine-stellarium-web:/app" swe-dev /bin/bash -c "source /emsdk/emsdk_env.sh && make js-es6" Unable to find image 'swe-dev:latest' locally docker: Error response from daemon: pull access denied for swe-dev, repository does not exist or may require 'docker login'. See 'docker run --help'. Makefile:67: recipe for target 'gen-es6' failed make[1]: *** [gen-es6] Error 125 make[1]: Leaving directory '/home/binoy/Documents/fiverr/imborx/stellarium-web-engine-stellarium-web' Makefile:12: recipe for target 'update-engine' failed make: *** [update-engine] Error 2
Please help me with this. Thanks.

Stellarium Web

@xalioth Currently, when the Sun is 1° above horizon, the light shaft (and shadow) is already gone. This looks not nice, e.g. when you look at the sphere in the direction of the Sun (the shadowed part): the sphere seems to start glowing for a while until the Sun goes below horizon.

With smoothstep edges of -0.026, -0.0035 instead of the current 0.02, 0.04 this looks much better but, when you look how the shadow extends into infinity, it goes into the sky:
image
I suppose this is normal, given this real-life photo (source):
image
even forking files and implementing even editing files on github this procedure is done yes or no
you can create a list on settings of stellarium web to me landscapes clouds atmospheres okay fabien thanks best regards you can teach me how fork and implement

Star information box does not update on time changes.

I'm using stellarium web for my high school astronomy class. The star information box (rise set times, ra/dec, etc) does not automatically update information on date changes. This has been very problematic issue for many of my students.

Stellarium web does not allow to change date in android browsers

Expected Behaviour

The possibility to change year, month and day in Stellarium web for Android browsers, as it can be done in Stellarium web in Windows browsers

Actual Behaviour

Stellarium web does not allow to change date in android browsers. It only allows to change time in the current date. I tried in 2 different mobile phones running android 9 and android 5, in stock browsers and Google Chrome for Android. I also tried changing the browser to "desktop mode" and did not work.

Steps to reproduce

System

  • Stellarium version: Stellarium web in Android mobile phone
  • Operating system: Android 9 and Android 5
  • Graphics Card: -
  • Screen type (if applicable): -

Logfile

the algorithm of dso's interest?

The api request of https://api.noctuasky.com/api/v1/skysources/ will return such a list, and they seem to be sorted by "interest". How to calculate objects' "interest" info ?

[{"interest":4.6296,"match":"NGC 6231","model":"dso",…

The Web Version of Stellarium DOES NOT WORK PROPERLY!!!

Hello the Stellarium team,

It has been really extremely discouraging to see that I contacted a guy named Fabian SEVERAL TIMES EONS AGO AS WELL AS RECENTLY to sort out the problems that are present in the web version of Stellarium and STILL NOTHING HAS BEEN CORRECTED to correct these problems. Here is what I sent.

The web version still does not work properly. It does not even save the location when I select it.

See my posts that have still not been solved at all and could you let me know if you intend to solve them in the future?
---"3 points to sort out in the web version of Stellarium. Thanks. · Issue Stellarium/stellarium#14 · Stellarium/stellarium-web · GitHub" at https://github.com/Stellarium/stellarium-web/issues/14

---"In Firefox, when I update the date and time and location, it simply does not save them. · Issue Stellarium/stellarium#12 · Stellarium/stellarium-web" at https://github.com/Stellarium/stellarium-web/issues/12

Thanks to let me know if these problems, you intend to have them solved for good one day? OR NOT?!!

Highly discouraging to see that problems are not corrected. I know, it is free and so on but it is better to not make available something that will never be corrected when needed.

Kind Regards
Michael

Expected Behaviour:

I click on unknown to save my location, move the pointer to my location and it keeps being saved the next time I open the web version of Stellarium.
Same for every setting that I have selected at a previous session of Firefox.

Actual Behaviour

Using Firefox latest version (70.0):
When I click on unknown to save my location, I move the pointer to an accurate location, BUT it is NOT saved for good each time I reopen Firefox. Same for the options I chose. Same the time is not correct, it is NOT the time I have on my computer!! It is day light and I have the web version of Stellarium showing that it is night!!!

Steps to reproduce:

See above.

System

  • Stellarium version: The web version of Stellarium
  • Operating system: Windows 10 Pro, latest update.
    Firefox latest version (70.0).
  • Graphics Card: built-in Intel core i7 9700K 4K graphics card.

Logfile

I use only the web version of Stellarium so I do not think that there is a log file.

Incrementing/decrementing the year, prior to 1883, causes 1 year 8 minutes 4 seconds to change(instead of 1 year exactly)

TLDR: watch https://gyazo.com/d24049629e9a43c3b52b81e03ac34abf
SUMMARY: When changing the year prior to 1883, an abnormal amount of time changes. Instead of the normal 1 year, 1 year 8 minutes 4 seconds changes on the DATE_TIMESTAMP clock. Only seems to occur prior to 1883
PRIORITY: Low
NOTES: The increment/decrement buttons can be unresponsive after several clicks. I assume its probably due to my poor laptop, but it might be worth investigating. You can see it in the clip above.

Expected Behavior

The time delta should be exactly 1 year

Actual Behavior

Its 1year 8 minutes 4 seconds

Steps to reproduce

1.) Change the year to 1883
2.) decrement the year to 1882
3.) The hour and minute clock will incorrectly be altered.

Gif of execution

https://gyazo.com/d24049629e9a43c3b52b81e03ac34abf

Stellarium Web shows blank star map

Stellarium Web version shows blank star field - please see attached screenshot.
I am using Google Chrome Version 80.0.3987.163 (Official Build) (64-bit).

All other parts of the page seem to work:

  • I can toggle the left pane to hide it
  • FOV angle changes when I scroll in or out
  • All other page elements work (View Settings, Planets Tonight, Location selection etc)

screencapture-stellarium-web-org-2020-04-15-14_11_50

Some stars cannot get SweObj by name when i use stel.getObj function

HI
stellarium-web-engine is a good project ,I found a problem in the test,Ask for a solution:Some stars cannot get objects by name (for example:Phecda)
When I select Phecda star by mouse,Use stel.core.selection function return SweObj ,but I use stel.getObj("NAME Phecda") or stel.getObj("Phecda") return null,How can I get the SweObj by Name?

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.