FastLED 3.10.6
Loading...
Searching...
No Matches
mood_ring::Xorshift Class Reference

Detailed Description

Small deterministic RNG for sparkle. No libc, no global state.

Definition at line 54 of file ring_canvas.h.

#include <ring_canvas.h>

Public Member Functions

 Xorshift (fl::u32 seed=0x9E3779B9u)
 
fl::u32 next ()
 
float unit ()
 Uniform in [0, 1).
 

Private Attributes

fl::u32 mState
 

The documentation for this class was generated from the following files: