{
 "pack": 1,
 "id": "c4c:beh:cycle_idle_many",
 "type": "behaviour",
 "version": "1.0.0",
 "name": "Stand and breathe (many legs)",
 "description": "A crab or another many-legged body stands breathing, its claws held up and opening a little, its legs shifting: the idle of the game cycles for many legs. It loops every 4 seconds.",
 "author": {
  "id": "c4c",
  "name": "Crafts4Class"
 },
 "license": "c4c-free",
 "remixable": true,
 "derived_from": [],
 "preview": {
  "moves": [
   "cycle_idle_many"
  ],
  "seconds": 4
 },
 "content_hash": "sha256:ecb1bc54d678387289daa07bfdb431d1c1fb35b14770e099410a8046264565f6",
 "content": {
  "v": 1,
  "kind": "behaviour",
  "name": "cycle_idle_many",
  "params": {
   "h": 540,
   "leg": 0.1
  },
  "scripts": [
   {
    "hat": {
     "on": "start"
    },
    "body": [
     {
      "op": "set",
      "to": {
       "part:arm:-1": -7,
       "part:arm:1": 7,
       "lift:arm:-1": "=0.044*h",
       "lift:arm:1": "=0.044*h"
      }
     },
     {
      "op": "wave",
      "ch": "sy",
      "shape": "sin",
      "every": 4,
      "amp": 0.014
     },
     {
      "op": "wave",
      "ch": "sx",
      "shape": "sin",
      "every": 4,
      "amp": -0.007
     },
     {
      "op": "wave",
      "ch": "part:arm:-1",
      "shape": "sin",
      "every": 4,
      "amp": -4,
      "phase": 0.5
     },
     {
      "op": "wave",
      "ch": "part:arm:1",
      "shape": "sin",
      "every": 4,
      "amp": 4,
      "phase": 0.5
     },
     {
      "op": "wave",
      "ch": "part:claw:-1",
      "shape": "sin",
      "every": 2,
      "amp": 6
     },
     {
      "op": "wave",
      "ch": "part:claw:1",
      "shape": "sin",
      "every": 2,
      "amp": -6,
      "phase": 0.7
     },
     {
      "op": "wave",
      "ch": "part:leg#1",
      "shape": "sin",
      "every": 2,
      "amp": 4,
      "phase": 1
     },
     {
      "op": "wave",
      "ch": "part:leg#6",
      "shape": "sin",
      "every": 2,
      "amp": 4,
      "phase": 6
     },
     {
      "op": "wave",
      "ch": "blink",
      "shape": "possin",
      "every": 4,
      "amp": 1,
      "pow": 40,
      "phase": 1.2
     }
    ]
   }
  ]
 }
}
