Skip to content

Add camera focus mode for selected planets #8

@jokiatgithub

Description

@jokiatgithub

Context

Once body selection exists, the next natural interaction is camera focus. This helps the solar-system scene become explorable instead of just decorative.

Roadmap: https://github.com/jokiatgithub/starwatcher/blob/main/docs/solar-system-engine-roadmap.md

Scope

  • Add a focus action for the selected body.
  • Smoothly move or retarget the camera to that body.
  • Preserve a way back to heliocentric overview.
  • Keep camera state stable enough for future URL serialization.

Acceptance Criteria

  • A selected planet can become the camera focus.
  • Users can return to overview mode.
  • Camera movement does not clip through or lose the scene.
  • Existing controls remain usable after focus changes.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestproductUser-facing workflow, controls, and shareable staterenderingThree.js scene, camera, and visual interaction workroadmapWork linked to the solar system engine roadmap

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions