Detect an aspect between two bodies.
First celestial body
Second celestial body
Optional
Configuration for aspect detection
Detected aspect or null if no aspect within orb
const sun = { name: 'Sun', longitude: 280.37, longitudeSpeed: 1.02 };const moon = { name: 'Moon', longitude: 223.32, longitudeSpeed: 13.18 };const aspect = detectAspect(sun, moon);// { type: 'sextile', separation: 57.05, deviation: 2.95, ... } Copy
const sun = { name: 'Sun', longitude: 280.37, longitudeSpeed: 1.02 };const moon = { name: 'Moon', longitude: 223.32, longitudeSpeed: 13.18 };const aspect = detectAspect(sun, moon);// { type: 'sextile', separation: 57.05, deviation: 2.95, ... }
Detect an aspect between two bodies.