4 ms·
If it's a machine doing the grinding, what is the source of randomness?
by openandshut 5y ago
If it's a machine doing the grinding, what is the source of randomness?
- ruined 5y agoinput
- dylan604 5y agofunction setPostion(float x=random(), float y=random()){}
- datameta 5y agoI imagine the PRNG they use for this is a rather thorough implementation. Unless perhaps it is even necessary to used a cryptographic chip to generate true randomness.
- dylan604 5y agopseudocode my man, pseudocode. ignite the imagination, and let the reader run wild. however, now my imagination is now running, and thinking about how overkill "true" random might be for this application. something "random" like an orbital sander would probably be enough. you're just trying to get away from side-to-side, left-circle, right-circle, up/down patterns. you're doing this to 3 different surfaces, so they would grind out any slight patterns which is the point. seems like a try crypto random would be as "effecient" as my roomba appears not to be.
- datameta 5y agoI suppose I went a bit overboard (no pun intended). 1 KB implementation should be more than enough for their precision. Maybe some code then, instead: https://www.dwitter.net/d/20446 https://www.dwitter.net/d/20446