Skip to content

chevalvert/microbiomes

Repository files navigation

microbiomes


Configuration

app.json
{
  "title": "Microbiomes",
  "lang": "fr-FR",
  "theme": "#000000",

  "remoteWebSocketServer": "wss://microbiomes.chevalvert.fr",
  "ticksBeforeRefresh": 20000,
  "ghostRemote": [3000, 10000],

  "renderer": {
    "fps": 30,
    "scale": 3
  },

  "scene": {
    "invert": false,
    "padding": 30,
    "patterns": [
      "R-",
      "R-RT",
      "11-22T--3344---55--"
    ],
    "palettes": [
      ["#5181c9", "#49b094", "#5da3d3", "#2b6c4b", "#b79497", "#5b8cde"]
    ]
  },

  "population": {
    "maxLength": 20,
    "initialTypeDistribution": [
      "Builder",
      "Restorer", "Restorer", "Restorer",
      "Shifter", "Shifter", "Shifter", "Shifter", "Shifter", "Shifter"
    ],
    "initialSizeDistribution": [
      25, 25,
      50, 50, 50, 50,
      100, 100,
      200
    ]
  }
}

Development

Installation

$ git clone https://github.com/chevalvert/microbiomes
$ cd microbiomes
$ yarn install
$ yarn start

Usage

$ yarn start
$ yarn build
$ yarn deploy:preprod

Deployment to production using GitHub releases

$ yarn version

Credits

JSX utils heavily based on pqml’s work.

License

MIT.