Skip to content

StarsWhere/Advanced-2D-Solar-System-Simulator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

高级二维太阳系模拟器

欢迎来到高级二维太阳系模拟器!这款交互式网页应用提供了一种动态且引人入胜的方式,让您在二维平面上探索我们的太阳系。观察行星的运行,深入了解它们的详细信息,并通过丰富的控制选项自定义您的观察体验。

主要特性:

  • 天体展示: 可视化太阳、所有主要行星(水星、金星、地球、火星、木星、土星、天王星、海王星)及其一些著名卫星(如地球的月球、木星的伽利略卫星、土星的土卫六)。
  • 动态模拟: 观察行星围绕太阳公转以及卫星围绕其母星公转,公转速度可调。行星同时具有自转效果。
  • 交互控制:
    • 速度调整: 加快或减慢模拟时间流逝。
    • 缩放级别: 放大以近距离观察行星,或缩小以获得更广阔的系统视野。
    • 显示比例: 在强调视觉效果的比例(突出行星大小)和更接近真实比例(突出轨道距离)之间切换。
    • 视角模式: 可选择允许手动平移的“自由视角”模式,或将镜头锁定在选定天体上的“跟随视角”模式(可选跟随其自转)。
  • 视觉辅助:
    • 轨迹与轨道: 切换行星和卫星的轨迹线(显示过往路径)和静态轨道线的可见性。
    • 标签: 显示或隐藏天体名称。
    • 小行星带: 可视化展示位于火星和木星之间的小行星带。
  • 信息面板:
    • 天体信息: 点击任何行星或主要卫星,即可在信息面板中显示其详细数据,如直径、质量、距离、自转周期和大气成分等。
    • 天体对比: 最多选择三个天体,并排比较它们的主要物理参数。
  • 可定制星空: 调整背景星空的密度、层数和视差效果,以获得沉浸式体验。
  • 响应式界面: 控制面板和信息显示能够适应不同的屏幕尺寸,包括移动设备。

使用方法:

  1. 导航 (自由视角): 在画布上单击并拖动鼠标,以平移您在太阳系中的视图。
  2. 选择天体: 左键单击行星或卫星,可在右侧的信息面板中查看其详细信息。
  3. 控制: 使用左侧的“模拟控制”面板来调整模拟速度、视角模式、显示比例、轨迹、轨道线和星空设置。
  4. 信息: 右侧的“天体信息”面板会显示一般说明或所选天体的详细数据。
  5. 对比: 点击“天体对比”按钮,打开对比面板,您可以在此选择并比较天体。
  6. 快捷键: 屏幕右下角(较大屏幕上)会显示一个便捷的键盘快捷键列表。

这款模拟器非常适合学生、教育工作者、天文爱好者以及任何对我们太阳系的运作机制和壮丽景象感到好奇的人。立即开始探索吧!


Advanced 2D Solar System Simulator

Welcome to the Advanced 2D Solar System Simulator! This interactive web application provides a dynamic and engaging way to explore our solar system in a two-dimensional plane. Witness the dance of the planets, delve into their details, and customize your viewing experience with a rich set of controls.

Key Features:

  • Celestial Bodies: Visualize the Sun, all major planets (Mercury, Venus, Earth, Mars, Jupiter, Saturn, Uranus, Neptune), and several of their prominent moons (e.g., Earth's Moon, Jupiter's Galilean moons, Saturn's Titan).
  • Dynamic Simulation: Watch planets orbit the Sun and moons orbit their parent planets based on configurable speeds. Planets also feature axial rotation.
  • Interactive Controls:
    • Speed Adjustment: Speed up or slow down the simulation time.
    • Zoom Level: Zoom in for close-ups of planets or zoom out for a broader view of the system.
    • Scale Factor: Transition between a visually appealing scale (emphasizing planet sizes) and a more realistic scale (emphasizing orbital distances).
    • View Modes: Choose between a 'Free View' mode allowing manual panning, or 'Follow View' to lock the camera onto a selected celestial body, optionally following its rotation.
  • Visual Aids:
    • Trails & Orbits: Toggle visibility for planetary and lunar trails (showing past movement) and static orbit lines.
    • Labels: Display or hide names for celestial bodies.
    • Asteroid Belt: Visualize a representation of the asteroid belt between Mars and Jupiter.
  • Information Panels:
    • Celestial Info: Click on any planet or major moon to display detailed information such as diameter, mass, distance, rotation period, and atmospheric composition.
    • Comparison Tool: Select up to three celestial bodies to compare their key physical parameters side-by-side.
  • Customizable Starfield: Adjust the density, layers, and parallax effect of the background starfield for an immersive experience.
  • Responsive UI: Control panels and information displays adapt to different screen sizes, including mobile devices.

How to Use:

  1. Navigation (Free View): Click and drag the mouse on the canvas to pan your view across the solar system.
  2. Selection: Left-click on a planet or moon to view its detailed information in the Info Panel.
  3. Controls: Utilize the "模拟控制" (Simulation Control) panel on the left to adjust simulation speed, view mode, scale, trails, orbits, and starfield settings.
  4. Information: The "天体信息" (Celestial Information) panel on the right displays general instructions or detailed data for a selected object.
  5. Comparison: Click the "天体对比" (Celestial Comparison) button to open a panel where you can select and compare celestial bodies.
  6. Shortcuts: A handy list of keyboard shortcuts is displayed at the bottom right (on larger screens).

This simulator is ideal for students, educators, astronomy enthusiasts, or anyone curious about the mechanics and beauty of our solar system. Dive in and explore!


About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors