{
 "pack": 1,
 "id": "c4c:beh:cycle_swim_many",
 "type": "behaviour",
 "version": "1.0.0",
 "name": "Swim (many legs)",
 "description": "A crab swims, paddling its legs one after another from back to front with its claws held forward, bobbing: the swim of the game cycles for many legs. It loops every 0.8 seconds.",
 "author": {
  "id": "c4c",
  "name": "Crafts4Class"
 },
 "license": "c4c-free",
 "remixable": true,
 "derived_from": [],
 "preview": {
  "moves": [
   "cycle_swim_many"
  ],
  "seconds": 2.4000000000000004
 },
 "content_hash": "sha256:4f5a4abca1d98b20dd67f28dfec86eb4ea7255d239762b6b58fd4defddfe67d3",
 "content": {
  "v": 1,
  "kind": "behaviour",
  "name": "cycle_swim_many",
  "params": {
   "h": 540,
   "leg": 0.1
  },
  "scripts": [
   {
    "hat": {
     "on": "start"
    },
    "body": [
     {
      "op": "set",
      "to": {
       "part:arm:-1": -10,
       "part:arm:1": 10,
       "lift:arm:-1": "=0.05*h",
       "lift:arm:1": "=0.05*h",
       "dy": "=-0.03*h"
      }
     },
     {
      "op": "wave",
      "ch": "part:leg:-1",
      "shape": "sin",
      "every": 0.8,
      "amp": 22
     },
     {
      "op": "wave",
      "ch": "part:leg:1",
      "shape": "sin",
      "every": 0.8,
      "amp": 22,
      "phase": 3.141592653589793
     },
     {
      "op": "wave",
      "ch": "part:shin:-1",
      "shape": "sin",
      "every": 0.8,
      "amp": 16,
      "phase": 1.5707963267948966
     },
     {
      "op": "wave",
      "ch": "part:shin:1",
      "shape": "sin",
      "every": 0.8,
      "amp": 16,
      "phase": 4.71238898038469
     },
     {
      "op": "wave",
      "ch": "dy",
      "shape": "sin",
      "every": 0.8,
      "amp": 3
     }
    ]
   }
  ]
 }
}
