cybernetics-library / cybersym

7 stars 0 forks source link

Compute earth state from predator-prey state #6

Closed dantaeyoung closed 6 years ago

dantaeyoung commented 7 years ago

In earthLogic.js or some file.

Given a predator-prey state, output a deterministic earth state.

The predator-prey state is in the same format as the /pp endpoint. (#9)

The earth state has the form (values normalized to between -1 and 1):

{
    'raining': 0.4,
    'sun': -0.3
    'asteroids': 0.6
}