Astronomical position calculation at the accuracy demanded by observatories and precision instrumentation — not the approximations consumer applications use. The full VSOP87 series, implemented in Rust with SIMD acceleration and complete relativistic corrections.
Most open-source astronomical position libraries are either Python-based — too slow for real-time instrumentation — or use simplified models that accumulate errors of several arcminutes over long time spans.
Applications that genuinely require precision cannot tolerate that: telescope mount controllers, satellite tracking, calendar computation, navigation systems. An arcminute is the difference between a target in the field of view and a target that is not.
The challenge was implementing the full VSOP87 planetary theory with correct aberration, nutation, precession and relativistic light-time correction, while achieving throughput suitable for real-time or high-volume computation.
The full VSOP87 series was implemented in Rust — all eight planets from Mercury to Neptune, with separate L, B and R series for ecliptic longitude, latitude and radius vector. On top of that sit IAU 2006 precession, the IAU 2000B nutation model, and aberration correction using the full Newcomb series.
The inner summation loops are vectorised with portable SIMD intrinsics, evaluating multiple series terms simultaneously. Relativistic light-time iteration converges to the single-precision limit in under four passes for every solar system body.
The engine handles coordinate frame transforms — ecliptic to equatorial to horizontal — topocentric correction for any observer location, and Julian/Gregorian calendar conversion.
Sub-arcsecond accuracy verified against JPL Horizons reference positions across a five-millennium span, with a full eight-planet ephemeris computing in under 100 microseconds on modern hardware.
The SIMD implementation delivers 8–12× throughput over the scalar equivalent, enabling workloads that need thousands of positions per second: trajectory planning, occultation prediction and real-time mount control.
The same kernel — compiled to WebAssembly — is what powers the Nimisha platform entirely inside the browser.
Precision is a claim
you have to be able to prove.
Some problems have a correct answer.
Those are the ones we like.