You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@mienaikoe - Awesome idea, thanks! i think we can make a new rake task like rake:star:add_rgb which goes through the database and calculates rgb (and that second number - which is the same as lumbinosity - is being used on the front as the alpha in the rgba, yes?
Well the luminosity isn't used in that method. It's a relic from doing that method at midnight.
Luminosity could be factored in if you want. Maybe absolute magnitude would be more suited to the task? I don't know enough about astronomy to comment on that.
OK cool. Let's keep it as a pure rgb calculation. Really cool idea, thanks!
On Nov 14, 2014 12:05 PM, "Jesse" [email protected] wrote:
Well the luminosity isn't used in that method. It's a relic from doing
that method at midnight.
Luminosity could be factored in if you want. Maybe absolute magnitude
would be more suited to the task? I don't know enough about astronomy to
comment on that.
Reply to this email directly or view it on GitHub #40 (comment)
.
On Cosmosis, we used some equations we found online to calculate the Color Temperature, and subsequently the RGB color, from the B-V Color.
You can find our ruby implementation here:
https://github.com/HacktheUniverse/cosmos/blob/master/data/speck/stars.rb
It would be great to get this data into the API so star color could be implemented without frontend calcuation.
The text was updated successfully, but these errors were encountered: