Aspect Calculator
Aspect Calculator
Section titled “Aspect Calculator”Utilities for working with aspects and angular relationships.
Functions
Section titled “Functions”calculateAspect(planet1X: number, planet1Y: number, planet2X: number, planet2Y: number): number
Section titled “calculateAspect(planet1X: number, planet1Y: number, planet2X: number, planet2Y: number): number”Calculates the aspect angle between two planets.
Parameters:
planet1X,planet1Y— First planet coordinatesplanet2X,planet2Y— Second planet coordinates
Returns: Aspect angle in degrees
Example
Section titled “Example”import { calculateAspect } from '@astrodraw/astrochart'
const angle = calculateAspect(120, 45, 220, 75)console.log(angle) // Aspect angle in degreesNext Steps
Section titled “Next Steps”- Radix Chart Guide — See aspects in action
- API Reference — See all methods