moonbitstack/moonrand/examples/crackle does not have a README file

    open

    fn open(hi : UInt64, lo : UInt64) -> Unit

    Reseed the page's stream. hi and lo are whatever the page could see that nobody else can repeat: the clock at load, the screen, the pointer, a fresh draw from the platform. Mixing happens on the page side; this side only insists on 32 bytes of seed.

    unit

    fn unit() -> Double

    The next number in [0, 1). The page calls this in a loop: one crack network is a few hundred of these.

    Source Files