STARSNET
Join STARSNET
English
Download PortfolioGet Quote
  • App
    • App Development
    • App Revamp
    • App Upgrade
  • Web
    • Web Development
    • Web Revamp
    • Web Upgrade
  • Products

    STAR 360 — VR Software

    • About STAR 360
    • 360 Login
    • Showflat
    • Terms & Condition

    STAR EXPENSE

    • About STAR EXPENSE
    • Pricing
    • Feedback
  • Join STARSNET
Preferences
English
Get QuoteDownload Portfolio
STARSNET

Company Info

  • Contact Us
  • Web Design Development
  • App Design Development
  • Services
  • Join STARSNET

Quick Links

  • News
  • Disclaimer
  • Terms & Condition
  • Privacy Policy

Products

  • STAR 360 — VR Software
  • STAR EXPENSE — Expense Management Solution

Contact Us

  • AddressOffice No.9 on 36th Floor, Hong Kong Plaza, No.188 Connaught Road West, Hong Kong
  • Tel53094822
  • Emailinfo@starsnet.com.hk
© 2026 StarsNet (HK) Limited. All rights reserved.
  • HKPC Registered Vendor
  • SOA5 Cat A Major Contractor
  • ITC TVP Service Provider
  1. Home
  2. /
  3. App Design Development
  4. /
  5. Articles
  6. /
  7. 寫App教學
Education apps · Stellarium Mobile - Star Map

寫App教學

用免費工具能製作出像Stellarium Mobile - Star Map的App嗎?

StarsNet · App team

In the last five years, our focus on app development has driven over HK$3,000,000 in revenue for merchants.

Book a ConsultationContact Us

How the Stellarium Mobile - Star Map App Works

Introduction to Stellarium Mobile

Stellarium Mobile is a powerful planetarium application designed for smartphones and tablets, offering a detailed and interactive star map. It allows users to explore the night sky in real-time or simulate celestial events from any location on Earth. The app is based on the open-source Stellarium desktop software, which has been adapted for mobile platforms to provide an accessible and portable astronomy tool.

The app leverages advanced computational algorithms, high-resolution star catalogs, and sensor data from mobile devices to deliver an accurate representation of the night sky. It is widely used by amateur astronomers, educators, and hobbyists for stargazing, planning observations, and learning about celestial objects.

Core Features and Functionality

Real-Time Sky Rendering

Stellarium Mobile uses the device's GPS, compass, and gyroscope to determine the user's location and orientation. By combining this data with precise timekeeping, the app renders the night sky as it appears at that exact moment. The rendering includes stars, planets, constellations, deep-sky objects, and other celestial phenomena.

The app accounts for atmospheric refraction, light pollution (configurable by the user), and the horizon line to provide a realistic view. Users can toggle between a standard view and a more detailed "night mode" that preserves dark adaptation for astronomers.

Celestial Object Database

The app includes an extensive database of over 600,000 stars from the Hipparcos and Tycho-2 catalogs, as well as additional objects from the NGC/IC catalogs. It also features:

  • Over 80,000 deep-sky objects (galaxies, nebulae, star clusters)
  • All major planets and their moons
  • Asteroids and comets with regularly updated orbital data
  • Artificial satellites like the International Space Station (ISS)

Each object is clickable, providing detailed information such as magnitude, distance, and historical or mythological context for constellations.

Time Simulation and Control

One of Stellarium Mobile's most powerful features is its ability to simulate the sky at any point in time—past, present, or future. Users can:

  • Accelerate time to watch celestial motions
  • Jump to specific astronomical events (eclipses, conjunctions)
  • Set the time for planning future observations
  • Reverse time to study historical celestial configurations

The simulation maintains proper celestial mechanics, including planetary orbits, precession, and proper motion of nearby stars.

Technical Implementation

Star Position Calculations

The app calculates star positions using:

  1. Precession and Nutation Models: Accounting for Earth's axial precession (26,000-year cycle) and small periodic nutations
  2. Proper Motion Corrections: Adjusting for stars' movement through space over time
  3. Aberration of Light: Compensating for Earth's orbital velocity effects
  4. Atmospheric Refraction: Modeling how the atmosphere bends light near the horizon

These calculations use established astronomical algorithms like VSOP87 for planetary positions and the IAU 2006 precession model.

Augmented Reality Mode

When enabled, the AR mode uses:

  • Device accelerometers for tilt detection
  • Magnetometer for compass heading
  • GPS for precise location
  • Camera feed for real-world overlay

The system continuously solves the device's orientation in 3D space to align virtual stars with their real positions. Advanced filtering algorithms combine sensor data while minimizing drift and noise.

Graphics Rendering Pipeline

The rendering system:

  1. Projects celestial coordinates to screen space using a fisheye or rectilinear projection
  2. Applies magnitude-based brightness scaling
  3. Renders stars with proper color temperature (B-V index)
  4. Adds atmospheric effects like twilight gradients
  5. Optionally overlays constellation art and coordinate grids

The pipeline is optimized for mobile GPUs, balancing quality with battery efficiency.

User Interface and Controls

Main View Components

The interface consists of:

  • Central Sky View: The primary display showing stars and objects
  • Time Controls: For adjusting simulation speed and date/time
  • Location Selector: To set or change observation coordinates
  • Search Function: For finding specific objects
  • Settings Panel: Configuration options for display and behavior

Gesture Controls

Stellarium Mobile implements intuitive touch gestures:

  • Pan: Drag to look around the sky
  • Pinch Zoom: Adjust field of view from wide-angle to telescopic
  • Double Tap: Center on and identify objects
  • Two-Finger Rotate: Adjust view orientation

Customization Options

Users can configure:

  • Star magnitude limits
  • Constellation line styles
  • Planet and moon labels
  • Deep-sky object filters
  • Landscape and atmosphere effects
  • Telescope/eyepiece simulation modes

Data Sources and Updates

Star Catalogs

The app incorporates:

  • Hipparcos Catalog: 118,218 stars with high-precision astrometry
  • Tycho-2 Catalog: 2.5 million stars with slightly lower precision
  • UCAC4: For proper motion data
  • Gaia DR2: For some newer devices with expanded storage

Supplemental Data

Additional components include:

  • VSOP87 Planetary Theory: For accurate planet positions
  • JPL DE430 Ephemerides: High-precision solar system modeling
  • MPC Asteroid Database: For minor planet positions
  • DSS Imagery: For some deep-sky objects (in premium versions)

The app periodically updates orbital elements for comets and asteroids through online services when connected.

Educational Features

Observation Planning Tools

  • Visibility Indicators: Shows when objects will rise/transit/set
  • Meridian Flip Simulation: Important for telescope users
  • Twilight Calculator: Determines best observing times
  • FOV Circles: Helps plan telescope or binocular views

Learning Resources

  • Object Information Sheets: Detailed astrophysical data
  • Constellation Mythology: Cultural context
  • Orbit Visualizations: For solar system bodies
  • Event Explanations: For eclipses and other phenomena

Advanced Technical Aspects

Coordinate System Handling

The app seamlessly converts between:

  • Equatorial (RA/Dec)
  • Horizontal (Alt/Az)
  • Ecliptic
  • Galactic coordinate systems

Transformations use matrix rotations and spherical trigonometry for accuracy across all sky positions.

Magnitude Calculations

Stellar brightness is computed considering:

  • Absolute magnitude
  • Distance modulus
  • Extinction (user-configurable)
  • Limiting magnitude settings
  • Surface brightness for extended objects

The system dynamically adjusts star sizes and visibility based on these factors.

Telescope Integration

For advanced users, features include:

  • ASCOM and INDI protocol support (via plugins)
  • Telescope control interface
  • GoTo synchronization
  • Eyepiece projection simulation

Performance Optimization

Mobile-Specific Adaptations

To maintain performance on resource-constrained devices:

  • Dynamic level-of-detail rendering
  • Tile-based star field loading
  • Background computation threads
  • Battery-efficient sensor polling rates
  • Adaptive quality settings

Cache Systems

The app employs:

  • Star position cache for quick time changes
  • Landscape texture caching
  • Object database indexing
  • Precomputed ephemeris tables

Comparison with Desktop Version

While sharing core functionality, the mobile version:

  • Uses simplified shaders for mobile GPUs
  • Implements touch interfaces instead of mouse/keyboard
  • Has slightly reduced star counts on lower-end devices
  • Incorporates mobile-specific features like AR
  • Optimizes for shorter usage sessions

Future Development Directions

Planned enhancements include:

  • Improved AR tracking stability
  • Expanded telescope control options
  • Integration of Gaia DR3 data
  • More detailed planetary surface rendering
  • Enhanced variable star support
  • Better light pollution modeling

Conclusion

Stellarium Mobile combines rigorous astronomical computations with intuitive mobile interfaces to create one of the most capable portable planetarium applications available. Its accurate rendering engine, comprehensive database, and thoughtful design make it an essential tool for anyone interested in exploring the night sky from their mobile device.

Build with us

If you want to build a similar app

Share your ideas with us!

In the last five years, our focus on app development has driven over HK$3,000,000 in revenue for merchants.

Book a ConsultationContact Us
Pricing · 5 tiers

App Development Costs & Features

We have prepared an approximate time and cost budget for you,<br/>enabling you to quickly launch the app to market and generate revenue within your budget.

  1. Tier 01

    20K - 40K

    Simple Starter App (MVP)

    ~ 1 - 3 weeks

    • Displays information only (e.g., company information)
    • Simple, ready-to-use design
    • Only for Android
    • In one language (English or Chinese)
  2. Tier 02

    40K - 80K

    Basic App with Key Features

    ~ 1 - 2 months

    • Payment Integration (e.g., Stripe)
    • Secure authentication (e.g., register, login)
    • Sends email updates (e.g., order confirmation)
    • Simple control panel for you to manage content (e.g., add products)
    • Works on both iOS and Android
  3. Tier 03Popular

    80K - 140K

    Enhanced App with More Features

    ~ 2 - 3 months

    • Customised design
    • Sends in-app notifications (e.g., order updates or promotions)
    • Supports up to 3 languages (e.g., English, Cantonese, Mandarin)
    • Advanced control panel to manage content and track activity
    • Staff accounts with different access levels (e.g., manager vs. staff)
    • Permission settings to control which pages customers can view or use (e.g., restrict certain features to specific users)
  4. Tier 04

    140K - 240K

    Powerful Custom App

    ~ 3 - 4 months

    • Custom features for your needs
    • Tracks how users use the app and creates reports
    • Analyzes data to help you make smart decisions
    • Connects with other tools (e.g., marketing or delivery services)
    • Detailed control panel for managing everything
  5. Tier 05

    240K or Above

    Enterprise Custom App

    ~ 4 - 6 months

    • Smart AI features (e.g., personalized suggestions or chatbots)
    • Real-time updates (e.g., live inventory, instant user actions)
    • Handles thousands of users with lightning-fast performance
    • Seamlessly connects with tools like social media, analytics, or CRM
    • Advanced control panel with powerful reports to boost your business
Enquiry

Share Your Idea with Us

Fill out the enquiry form, and our team will connect with you to explore how we can create a custom mobile app to meet your business needs.

Connect with Us

Discuss your business needs, questions, or project requirements with us.

Book a ConsultationContact Us