Celestine API Documentation - v0.2.0
    Preparing search index...

    Function calculateStrength

    • Calculate aspect strength based on deviation from exact.

      Parameters

      • deviation: number

        Angular deviation from exact aspect in degrees (always positive)

      • orb: number

        The orb being used for this aspect

      Returns number

      Strength as percentage (100 = exact, 0 = at orb edge)

      Strength decreases linearly from 100% at exact to 0% at orb boundary. This is a simple linear model; some traditions use other decay curves.

      Formula: strength = 100 × (1 - deviation/orb)

      calculateStrength(0, 8)   // 100 (exact)
      calculateStrength(4, 8) // 50 (halfway)
      calculateStrength(8, 8) // 0 (at orb edge)
      calculateStrength(2, 8) // 75