aornelas / solarsystem Goto Github PK
View Code? Open in Web Editor NEWAndroid Wearable app to explore the Solar System
License: MIT License
Android Wearable app to explore the Solar System
License: MIT License
To achieve horizontal navigation between the different planets while having their corresponding moons above them (and hence more intuitive as the solar system is often represented with a relatively horizontal orbital plane), we rotate the obligate vertical GridViewPager view 270 degrees; up/down swipes become left/right swipes, flipping the planets into the familiar horizontal orbital plane.
Android's DotsPageIndicator thus currently shows navigation within a planetary system only (e.g., Mars - Phobos - Deimos
). We need a vertical page indicator to show the intraplanet navigation (Earth - Mars - Jupiter
) and, lo and behold... DotsPageIndicatorVertical.
Unfortunately, did not succeed to include this new dependency as jar, aar or url, so filed zhoulujue/DotsPageIndicatorVertical#1 and moving on to #10 in the mean time. Will revisit upon activity on the former or completion of the latter.
Heed dev note: There may be conflicts between DotsPageIndicator
and DotsPageIndicatorVertical
as Android's indicator currently steals the adapter's page scroll listeners.
... even if it's from its simulated surface.
Now that moons are correctly displayed over their corresponding planets, we can finally add more content... At least the "main" moons for the four giants!
So planet or moon is shown by itself in full-screen glory if left for a few seconds.
When a planet first loads, it fades from black into view. Subsequent loads (once it's already cached), it just abruptly appears.
Update background loading so it returns a black background but then fades in the planet, just like when it first loads.
Only if it's possible to either hide the first dot (for the planet itself) or make that icon a dot while the others are moons.
ISS, Lunar Orbiter, Mars Curiosity, Opportunity...
Make dots more discrete and clearer which one is selected.
Make an overlay that appears when tapped showing planet name and stats.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.