mirror of https://gitlab.com/bashrc2/epicyon
city angles
parent
339de3ad69
commit
0b5574369c
4
media.py
4
media.py
|
@ -92,9 +92,9 @@ def _getCityPulse(currTimeOfDay, decoySeed: int) -> (float, float):
|
||||||
else:
|
else:
|
||||||
dataDecoyState = "party"
|
dataDecoyState = "party"
|
||||||
dataDecoyIndex = 5
|
dataDecoyIndex = 5
|
||||||
|
randgen2 = random.Random(decoySeed + dataDecoyIndex)
|
||||||
angleRadians = \
|
angleRadians = \
|
||||||
(randgen.randint(0, 100000 - 5 + dataDecoyIndex) / 100000) * \
|
(randgen2.randint(0, 100000) / 100000) * 2 * math.pi
|
||||||
2 * math.pi
|
|
||||||
# some people are quite random, others have more predictable habits
|
# some people are quite random, others have more predictable habits
|
||||||
decoyRandomness = randgen.randint(1, 3)
|
decoyRandomness = randgen.randint(1, 3)
|
||||||
# occasionally throw in a wildcard to keep the machine learning guessing
|
# occasionally throw in a wildcard to keep the machine learning guessing
|
||||||
|
|
Loading…
Reference in New Issue