Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # randomness algorithm by niklas rosenstein
- # not garantueed to be really random
- #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
- from time import clock, time
- def random(seed = None):
- if seed is None:
- seed = clock() % 8294
- tme = ((time() ** 2) % seed) ** .3
- return (tme / ((seed + 6) * 172
- % (seed / 8))) % 1.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement