Skip to content

refactor: remove quickstart and star observability examples - #2

Merged
VPRamon merged 2 commits into
mainfrom
examples
Mar 7, 2026
Merged

refactor: remove quickstart and star observability examples#2
VPRamon merged 2 commits into
mainfrom
examples

Conversation

@VPRamon

@VPRamon VPRamon commented Mar 7, 2026

Copy link
Copy Markdown
Member
  • Deleted quickstart.mjs and star_observability.mjs example files as they are no longer needed.

feat: add angular separation and Cartesian utilities

  • Implemented angularSeparation, cartesianDistance, cartesianMagnitude, dotProduct, and directionToCartesian functions in the Rust backend.
  • Updated TypeScript definitions to include new functions.

feat: enhance position transformation capabilities

  • Added transformPositionCenter and transformPositionFrame functions to handle Cartesian position transformations between different reference centers and frames.

feat: introduce star azimuth utilities

  • Added starAzimuthCrossings and starAzimuthExtrema functions for finding azimuth-related events for stars.
  • Implemented intersectPeriods function to find overlapping MJD periods.

chore: update native bindings

  • Updated JavaScript bindings to expose new functions in the siderust-node module.

- Deleted `quickstart.mjs` and `star_observability.mjs` example files as they are no longer needed.

feat: add angular separation and Cartesian utilities

- Implemented `angularSeparation`, `cartesianDistance`, `cartesianMagnitude`, `dotProduct`, and `directionToCartesian` functions in the Rust backend.
- Updated TypeScript definitions to include new functions.

feat: enhance position transformation capabilities

- Added `transformPositionCenter` and `transformPositionFrame` functions to handle Cartesian position transformations between different reference centers and frames.

feat: introduce star azimuth utilities

- Added `starAzimuthCrossings` and `starAzimuthExtrema` functions for finding azimuth-related events for stars.
- Implemented `intersectPeriods` function to find overlapping MJD periods.

chore: update native bindings

- Updated JavaScript bindings to expose new functions in the `siderust-node` module.
@VPRamon VPRamon self-assigned this Mar 7, 2026
- Updated console.log statements to use template literals for better formatting.
- Reorganized import statements for clarity.
- Simplified object destructuring and function calls for better readability.
- Enhanced comments for clarity and consistency across example scripts.
- Removed unnecessary variables and streamlined code structure in various examples.
@VPRamon
VPRamon merged commit 2225d6e into main Mar 7, 2026
5 checks passed
@VPRamon
VPRamon deleted the examples branch March 7, 2026 19:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant