
15 Aug
2004
15 Aug
'04
6:48 a.m.
I think this is a good idea, thanks bulia!
I don't see that we need this custom RNG thing. Storing the generated random number with the star gives us portability and more.
For example, the seed can be controlled independently of tip position, allowing smoother variation of the output function and easier to get back to "that one half a second ago" without needing exceptional mouse stability: can use a "lower-geared" widget (less rapidly changing as a function of mouse position) or keyboard.
Much less importantly: I'd guess that there can be consistency problems with using tip position to seed the RNG, due to different floating point behaviour on different machines (and even with different compiler or compiler flags).
pjrm.