{
 "pack": 1,
 "id": "c4c:beh:cycle_swim_bird",
 "type": "behaviour",
 "version": "1.0.0",
 "name": "Swim (bird)",
 "description": "A bird floats and swims, paddling its feet in turn under it with its wings folded and its head bobbing: the swim of the game cycles for birds. It loops every 1.2 seconds.",
 "author": {
  "id": "c4c",
  "name": "Crafts4Class"
 },
 "license": "c4c-free",
 "remixable": true,
 "derived_from": [],
 "preview": {
  "moves": [
   "cycle_swim_bird"
  ],
  "seconds": 2.4
 },
 "content_hash": "sha256:248f7a69cdfeb44dedef6cf6ad2e9cd0711421a608c64b3a44bf696220cf98cf",
 "content": {
  "v": 1,
  "kind": "behaviour",
  "name": "cycle_swim_bird",
  "params": {
   "h": 540,
   "leg": 0.05
  },
  "scripts": [
   {
    "hat": {
     "on": "start"
    },
    "body": [
     {
      "op": "view",
      "to": "side"
     },
     {
      "op": "set",
      "to": {
       "part:arm:-1": -4,
       "part:arm:1": 4,
       "part:torso": -3,
       "dy": "=-0.03*h",
       "part:leg:-1": 10,
       "part:leg:1": 10,
       "part:foot:-1": 10,
       "part:foot:1": 10
      }
     },
     {
      "op": "wave",
      "ch": "part:leg:-1",
      "shape": "sin",
      "every": 0.6,
      "amp": 26
     },
     {
      "op": "wave",
      "ch": "part:leg:1",
      "shape": "sin",
      "every": 0.6,
      "amp": 26,
      "phase": 3.141592653589793
     },
     {
      "op": "wave",
      "ch": "part:foot:-1",
      "shape": "sin",
      "every": 0.6,
      "amp": 20,
      "phase": 1.5707963267948966
     },
     {
      "op": "wave",
      "ch": "part:foot:1",
      "shape": "sin",
      "every": 0.6,
      "amp": 20,
      "phase": 4.71238898038469
     },
     {
      "op": "wave",
      "ch": "dy",
      "shape": "sin",
      "every": 1.2,
      "amp": 3
     },
     {
      "op": "wave",
      "ch": "part:head",
      "shape": "sin",
      "every": 0.6,
      "amp": 3
     },
     {
      "op": "wave",
      "ch": "part:tail",
      "shape": "sin",
      "every": 1.2,
      "amp": 8
     }
    ]
   }
  ]
 }
}
