@gphone/sdk
    Preparing search index...

    Function placeholderAvatar

    Deterministic placeholder imagery, for the fixtures an app renders in a browser.

    Exported for the same reason createCrudStore above is: an app cannot import by path (§2.7), and both app-side consumers of these are apps — the camera's stand-in viewfinder frames and Developer Tools' test-SMS avatar. Without this line each would have to carry its own copy of the generator, or go back to hotlinking someone else's avatar service (GPHONE-35).

    Safe to sit in the SDK because lib/ is state-free and I/O-free by definition (AGENTS.md §8), so it bundles into a sandboxed add-on unchanged.

    • A 5x5 identicon, mirrored down the middle.

      Only the left three columns are decided by the PRNG; columns 4 and 5 mirror 2 and 1. Symmetry is most of what makes these read as a deliberate mark rather than noise, and it is why the classic identicon shape has outlived everything that tried to replace it.

      Parameters

      • seed: string

      Returns string