{
 "pack": 1,
 "id": "c4c:beh:sit_fours",
 "type": "behaviour",
 "version": "1.0.0",
 "name": "Sit (four legs)",
 "description": "An animal on four legs sits and stays sitting, breathing, blinking and wagging its tail now and then. It loops every 4 seconds.",
 "author": {
  "id": "c4c",
  "name": "Crafts4Class"
 },
 "license": "c4c-free",
 "remixable": true,
 "derived_from": [],
 "preview": {
  "moves": [
   "sit_fours"
  ],
  "seconds": 4
 },
 "content_hash": "sha256:dda63f880b92e7c95402c0b446c75e8168f6415c6452514dff1cce285c915c81",
 "content": {
  "v": 1,
  "kind": "behaviour",
  "name": "sit_fours",
  "params": {
   "h": 540,
   "leg": 0.33,
   "on": 0
  },
  "scripts": [
   {
    "hat": {
     "on": "start"
    },
    "body": [
     {
      "op": "view",
      "to": "side"
     },
     {
      "op": "set",
      "to": {
       "part:torso": 34,
       "part:head": -16,
       "part:tail": 16,
       "dy": "=-0.01*h"
      }
     },
     {
      "op": "wave",
      "ch": "sy",
      "shape": "sin",
      "every": 4,
      "amp": 0.01
     },
     {
      "op": "wave",
      "ch": "part:head",
      "shape": "sin",
      "every": 4,
      "amp": 3,
      "phase": 0.8
     },
     {
      "op": "wave",
      "ch": "part:tail",
      "shape": "sin",
      "every": 1,
      "amp": 10
     },
     {
      "op": "wave",
      "ch": "blink",
      "shape": "possin",
      "every": 4,
      "amp": 1,
      "pow": 40,
      "phase": 1.2
     }
    ]
   }
  ]
 }
}
