@willwade/aac-processors
    Preparing search index...

    Function distanceEffort

    • Calculate distance effort from entry point to button center Uses Euclidean distance normalized by sqrt(2)

      Parameters

      • x: number

        Button center X coordinate (0-1 normalized)

      • y: number

        Button center Y coordinate (0-1 normalized)

      • entryX: number = 1.0

        Entry point X coordinate (0-1 normalized, default 1.0 = bottom-right)

      • entryY: number = 1.0

        Entry point Y coordinate (0-1 normalized, default 1.0 = bottom-right)

      Returns number

      Distance effort score