{
  "name": "hormigas_feromona",
  "savedAt": "2026-07-15T07:12:35.505130",
  "blocks": [
    {
      "def": {
        "template": "{0} = {1}",
        "category": "variables",
        "slots": [
          {
            "options": []
          },
          {
            "options": []
          }
        ],
        "isContainer": false,
        "isReporter": false
      },
      "values": [
        "filas",
        "16"
      ],
      "children": []
    },
    {
      "def": {
        "template": "{0} = {1}",
        "category": "variables",
        "slots": [
          {
            "options": []
          },
          {
            "options": []
          }
        ],
        "isContainer": false,
        "isReporter": false
      },
      "values": [
        "columnas",
        "16"
      ],
      "children": []
    },
    {
      "def": {
        "template": "{0} = {1}",
        "category": "variables",
        "slots": [
          {
            "options": []
          },
          {
            "options": []
          }
        ],
        "isContainer": false,
        "isReporter": false
      },
      "values": [
        "tamCelda",
        "320 / filas"
      ],
      "children": []
    },
    {
      "def": {
        "template": "{0} = {1}",
        "category": "variables",
        "slots": [
          {
            "options": []
          },
          {
            "options": []
          }
        ],
        "isContainer": false,
        "isReporter": false
      },
      "values": [
        "depositoFeromona",
        "60"
      ],
      "children": []
    },
    {
      "def": {
        "template": "{0} = {1}",
        "category": "variables",
        "slots": [
          {
            "options": []
          },
          {
            "options": []
          }
        ],
        "isContainer": false,
        "isReporter": false
      },
      "values": [
        "umbralSeguir",
        "15"
      ],
      "children": []
    },
    {
      "def": {
        "template": "{0} = {1}",
        "category": "variables",
        "slots": [
          {
            "options": []
          },
          {
            "options": []
          }
        ],
        "isContainer": false,
        "isReporter": false
      },
      "values": [
        "evaporacionPorPaso",
        "0.9"
      ],
      "children": []
    },
    {
      "def": {
        "template": "{0} = {1}",
        "category": "variables",
        "slots": [
          {
            "options": []
          },
          {
            "options": []
          }
        ],
        "isContainer": false,
        "isReporter": false
      },
      "values": [
        "difusionPorPaso",
        "0.3"
      ],
      "children": []
    },
    {
      "def": {
        "template": "{0} = {1}",
        "category": "variables",
        "slots": [
          {
            "options": []
          },
          {
            "options": []
          }
        ],
        "isContainer": false,
        "isReporter": false
      },
      "values": [
        "mundo",
        "Patches(filas, columnas)"
      ],
      "children": []
    },
    {
      "def": {
        "template": "{0} = {1}",
        "category": "variables",
        "slots": [
          {
            "options": []
          },
          {
            "options": []
          }
        ],
        "isContainer": false,
        "isReporter": false
      },
      "values": [
        "fila0",
        "0"
      ],
      "children": []
    },
    {
      "def": {
        "template": "while {0}:",
        "category": "control",
        "slots": [
          {
            "options": []
          }
        ],
        "isContainer": true,
        "isReporter": false
      },
      "values": [
        "fila0 < filas"
      ],
      "children": [
        {
          "def": {
            "template": "{0} = {1}",
            "category": "variables",
            "slots": [
              {
                "options": []
              },
              {
                "options": []
              }
            ],
            "isContainer": false,
            "isReporter": false
          },
          "values": [
            "col0",
            "0"
          ],
          "children": []
        },
        {
          "def": {
            "template": "while {0}:",
            "category": "control",
            "slots": [
              {
                "options": []
              }
            ],
            "isContainer": true,
            "isReporter": false
          },
          "values": [
            "col0 < columnas"
          ],
          "children": [
            {
              "def": {
                "template": "{0}[{1}][{2}] = {3}",
                "category": "variables",
                "slots": [
                  {
                    "options": []
                  },
                  {
                    "options": []
                  },
                  {
                    "options": []
                  },
                  {
                    "options": []
                  }
                ],
                "isContainer": false,
                "isReporter": false
              },
              "values": [
                "mundo",
                "fila0",
                "col0",
                "(255, 255, 255)"
              ],
              "children": []
            },
            {
              "def": {
                "template": "{0} = {1}",
                "category": "variables",
                "slots": [
                  {
                    "options": []
                  },
                  {
                    "options": []
                  }
                ],
                "isContainer": false,
                "isReporter": false
              },
              "values": [
                "col0",
                "col0 + 1"
              ],
              "children": []
            }
          ]
        },
        {
          "def": {
            "template": "{0} = {1}",
            "category": "variables",
            "slots": [
              {
                "options": []
              },
              {
                "options": []
              }
            ],
            "isContainer": false,
            "isReporter": false
          },
          "values": [
            "fila0",
            "fila0 + 1"
          ],
          "children": []
        }
      ]
    },
    {
      "def": {
        "template": "{0} = {1}",
        "category": "variables",
        "slots": [
          {
            "options": []
          },
          {
            "options": []
          }
        ],
        "isContainer": false,
        "isReporter": false
      },
      "values": [
        "anguloVecino",
        "[225, 180, 135, 270, 90, 315, 0, 45]"
      ],
      "children": []
    },
    {
      "def": {
        "template": "{0} = Turtle()",
        "category": "tortuga",
        "slots": [
          {
            "options": []
          }
        ],
        "isContainer": false,
        "isReporter": false
      },
      "values": [
        "nido"
      ],
      "children": []
    },
    {
      "def": {
        "template": "{0}.hideturtle()",
        "category": "tortuga",
        "slots": [
          {
            "options": []
          }
        ],
        "isContainer": false,
        "isReporter": false
      },
      "values": [
        "nido"
      ],
      "children": []
    },
    {
      "def": {
        "template": "{0}.penup()",
        "category": "tortuga",
        "slots": [
          {
            "options": []
          }
        ],
        "isContainer": false,
        "isReporter": false
      },
      "values": [
        "nido"
      ],
      "children": []
    },
    {
      "def": {
        "template": "{0} = Turtle()",
        "category": "tortuga",
        "slots": [
          {
            "options": []
          }
        ],
        "isContainer": false,
        "isReporter": false
      },
      "values": [
        "comida"
      ],
      "children": []
    },
    {
      "def": {
        "template": "{0}.penup()",
        "category": "tortuga",
        "slots": [
          {
            "options": []
          }
        ],
        "isContainer": false,
        "isReporter": false
      },
      "values": [
        "comida"
      ],
      "children": []
    },
    {
      "def": {
        "template": "{0}.color({1})",
        "category": "tortuga",
        "slots": [
          {
            "options": []
          },
          {
            "options": []
          }
        ],
        "isContainer": false,
        "isReporter": false
      },
      "values": [
        "comida",
        "\"red\""
      ],
      "children": []
    },
    {
      "def": {
        "template": "{0}.goto({1}, {2})",
        "category": "tortuga",
        "slots": [
          {
            "options": []
          },
          {
            "options": []
          },
          {
            "options": []
          }
        ],
        "isContainer": false,
        "isReporter": false
      },
      "values": [
        "comida",
        "50",
        "30"
      ],
      "children": []
    },
    {
      "def": {
        "template": "{0} = {1}",
        "category": "variables",
        "slots": [
          {
            "options": []
          },
          {
            "options": []
          }
        ],
        "isContainer": false,
        "isReporter": false
      },
      "values": [
        "n",
        "6"
      ],
      "children": []
    },
    {
      "def": {
        "template": "{0} = {1}",
        "category": "variables",
        "slots": [
          {
            "options": []
          },
          {
            "options": []
          }
        ],
        "isContainer": false,
        "isReporter": false
      },
      "values": [
        "hormigas",
        "[]"
      ],
      "children": []
    },
    {
      "def": {
        "template": "{0} = {1}",
        "category": "variables",
        "slots": [
          {
            "options": []
          },
          {
            "options": []
          }
        ],
        "isContainer": false,
        "isReporter": false
      },
      "values": [
        "estado",
        "[]"
      ],
      "children": []
    },
    {
      "def": {
        "template": "{0} = {1}",
        "category": "variables",
        "slots": [
          {
            "options": []
          },
          {
            "options": []
          }
        ],
        "isContainer": false,
        "isReporter": false
      },
      "values": [
        "i",
        "0"
      ],
      "children": []
    },
    {
      "def": {
        "template": "while {0}:",
        "category": "control",
        "slots": [
          {
            "options": []
          }
        ],
        "isContainer": true,
        "isReporter": false
      },
      "values": [
        "i < n"
      ],
      "children": [
        {
          "def": {
            "template": "{0} = Turtle()",
            "category": "tortuga",
            "slots": [
              {
                "options": []
              }
            ],
            "isContainer": false,
            "isReporter": false
          },
          "values": [
            "h"
          ],
          "children": []
        },
        {
          "def": {
            "template": "{0}.shape({1})",
            "category": "tortuga",
            "slots": [
              {
                "options": []
              },
              {
                "options": []
              }
            ],
            "isContainer": false,
            "isReporter": false
          },
          "values": [
            "h",
            "\"ant\""
          ],
          "children": []
        },
        {
          "def": {
            "template": "{0}.penup()",
            "category": "tortuga",
            "slots": [
              {
                "options": []
              }
            ],
            "isContainer": false,
            "isReporter": false
          },
          "values": [
            "h"
          ],
          "children": []
        },
        {
          "def": {
            "template": "{0}.append({1})",
            "category": "variables",
            "slots": [
              {
                "options": []
              },
              {
                "options": []
              }
            ],
            "isContainer": false,
            "isReporter": false
          },
          "values": [
            "hormigas",
            "h"
          ],
          "children": []
        },
        {
          "def": {
            "template": "{0}.append({1})",
            "category": "variables",
            "slots": [
              {
                "options": []
              },
              {
                "options": []
              }
            ],
            "isContainer": false,
            "isReporter": false
          },
          "values": [
            "estado",
            "\"buscando\""
          ],
          "children": []
        },
        {
          "def": {
            "template": "{0} = {1}",
            "category": "variables",
            "slots": [
              {
                "options": []
              },
              {
                "options": []
              }
            ],
            "isContainer": false,
            "isReporter": false
          },
          "values": [
            "i",
            "i + 1"
          ],
          "children": []
        }
      ]
    },
    {
      "def": {
        "template": "{0} = {1}",
        "category": "variables",
        "slots": [
          {
            "options": []
          },
          {
            "options": []
          }
        ],
        "isContainer": false,
        "isReporter": false
      },
      "values": [
        "recolectada",
        "0"
      ],
      "children": []
    },
    {
      "def": {
        "template": "while {0}:",
        "category": "control",
        "slots": [
          {
            "options": []
          }
        ],
        "isContainer": true,
        "isReporter": false
      },
      "values": [
        "True"
      ],
      "children": [
        {
          "def": {
            "template": "{0} = {1}",
            "category": "variables",
            "slots": [
              {
                "options": []
              },
              {
                "options": []
              }
            ],
            "isContainer": false,
            "isReporter": false
          },
          "values": [
            "i",
            "0"
          ],
          "children": []
        },
        {
          "def": {
            "template": "while {0}:",
            "category": "control",
            "slots": [
              {
                "options": []
              }
            ],
            "isContainer": true,
            "isReporter": false
          },
          "values": [
            "i < n"
          ],
          "children": [
            {
              "def": {
                "template": "{0} = {1}",
                "category": "variables",
                "slots": [
                  {
                    "options": []
                  },
                  {
                    "options": []
                  }
                ],
                "isContainer": false,
                "isReporter": false
              },
              "values": [
                "h",
                "hormigas[i]"
              ],
              "children": []
            },
            {
              "def": {
                "template": "{0} = {1}",
                "category": "variables",
                "slots": [
                  {
                    "options": []
                  },
                  {
                    "options": []
                  }
                ],
                "isContainer": false,
                "isReporter": false
              },
              "values": [
                "fila",
                "int((h.ycor() + 160) / tamCelda)"
              ],
              "children": []
            },
            {
              "def": {
                "template": "if {0}:",
                "category": "control",
                "slots": [
                  {
                    "options": []
                  }
                ],
                "isContainer": true,
                "isReporter": false
              },
              "values": [
                "fila < 0"
              ],
              "children": [
                {
                  "def": {
                    "template": "{0} = {1}",
                    "category": "variables",
                    "slots": [
                      {
                        "options": []
                      },
                      {
                        "options": []
                      }
                    ],
                    "isContainer": false,
                    "isReporter": false
                  },
                  "values": [
                    "fila",
                    "0"
                  ],
                  "children": []
                }
              ]
            },
            {
              "def": {
                "template": "if {0}:",
                "category": "control",
                "slots": [
                  {
                    "options": []
                  }
                ],
                "isContainer": true,
                "isReporter": false
              },
              "values": [
                "fila > filas - 1"
              ],
              "children": [
                {
                  "def": {
                    "template": "{0} = {1}",
                    "category": "variables",
                    "slots": [
                      {
                        "options": []
                      },
                      {
                        "options": []
                      }
                    ],
                    "isContainer": false,
                    "isReporter": false
                  },
                  "values": [
                    "fila",
                    "filas - 1"
                  ],
                  "children": []
                }
              ]
            },
            {
              "def": {
                "template": "{0} = {1}",
                "category": "variables",
                "slots": [
                  {
                    "options": []
                  },
                  {
                    "options": []
                  }
                ],
                "isContainer": false,
                "isReporter": false
              },
              "values": [
                "col",
                "int((h.xcor() + 160) / tamCelda)"
              ],
              "children": []
            },
            {
              "def": {
                "template": "if {0}:",
                "category": "control",
                "slots": [
                  {
                    "options": []
                  }
                ],
                "isContainer": true,
                "isReporter": false
              },
              "values": [
                "col < 0"
              ],
              "children": [
                {
                  "def": {
                    "template": "{0} = {1}",
                    "category": "variables",
                    "slots": [
                      {
                        "options": []
                      },
                      {
                        "options": []
                      }
                    ],
                    "isContainer": false,
                    "isReporter": false
                  },
                  "values": [
                    "col",
                    "0"
                  ],
                  "children": []
                }
              ]
            },
            {
              "def": {
                "template": "if {0}:",
                "category": "control",
                "slots": [
                  {
                    "options": []
                  }
                ],
                "isContainer": true,
                "isReporter": false
              },
              "values": [
                "col > columnas - 1"
              ],
              "children": [
                {
                  "def": {
                    "template": "{0} = {1}",
                    "category": "variables",
                    "slots": [
                      {
                        "options": []
                      },
                      {
                        "options": []
                      }
                    ],
                    "isContainer": false,
                    "isReporter": false
                  },
                  "values": [
                    "col",
                    "columnas - 1"
                  ],
                  "children": []
                }
              ]
            },
            {
              "def": {
                "template": "if {0}:",
                "category": "control",
                "slots": [
                  {
                    "options": []
                  }
                ],
                "isContainer": true,
                "isReporter": false
              },
              "values": [
                "estado[i] == \"buscando\""
              ],
              "children": [
                {
                  "def": {
                    "template": "if {0}:",
                    "category": "control",
                    "slots": [
                      {
                        "options": []
                      }
                    ],
                    "isContainer": true,
                    "isReporter": false
                  },
                  "values": [
                    "h.touching(comida)"
                  ],
                  "children": [
                    {
                      "def": {
                        "template": "{0}[{1}] = {2}",
                        "category": "variables",
                        "slots": [
                          {
                            "options": []
                          },
                          {
                            "options": []
                          },
                          {
                            "options": []
                          }
                        ],
                        "isContainer": false,
                        "isReporter": false
                      },
                      "values": [
                        "estado",
                        "i",
                        "\"regresando\""
                      ],
                      "children": []
                    },
                    {
                      "def": {
                        "template": "{0}.color({1})",
                        "category": "tortuga",
                        "slots": [
                          {
                            "options": []
                          },
                          {
                            "options": []
                          }
                        ],
                        "isContainer": false,
                        "isReporter": false
                      },
                      "values": [
                        "h",
                        "\"orange\""
                      ],
                      "children": []
                    }
                  ]
                },
                {
                  "def": {
                    "template": "else:",
                    "category": "control",
                    "slots": [],
                    "isContainer": true,
                    "isReporter": false
                  },
                  "values": [],
                  "children": [
                    {
                      "def": {
                        "template": "{0} = {1}",
                        "category": "variables",
                        "slots": [
                          {
                            "options": []
                          },
                          {
                            "options": []
                          }
                        ],
                        "isContainer": false,
                        "isReporter": false
                      },
                      "values": [
                        "vecinos",
                        "mundo.neighbors(fila, col)"
                      ],
                      "children": []
                    },
                    {
                      "def": {
                        "template": "{0} = {1}",
                        "category": "variables",
                        "slots": [
                          {
                            "options": []
                          },
                          {
                            "options": []
                          }
                        ],
                        "isContainer": false,
                        "isReporter": false
                      },
                      "values": [
                        "mejorNivel",
                        "umbralSeguir"
                      ],
                      "children": []
                    },
                    {
                      "def": {
                        "template": "{0} = {1}",
                        "category": "variables",
                        "slots": [
                          {
                            "options": []
                          },
                          {
                            "options": []
                          }
                        ],
                        "isContainer": false,
                        "isReporter": false
                      },
                      "values": [
                        "mejorAngulo",
                        "-1"
                      ],
                      "children": []
                    },
                    {
                      "def": {
                        "template": "{0} = {1}",
                        "category": "variables",
                        "slots": [
                          {
                            "options": []
                          },
                          {
                            "options": []
                          }
                        ],
                        "isContainer": false,
                        "isReporter": false
                      },
                      "values": [
                        "j",
                        "0"
                      ],
                      "children": []
                    },
                    {
                      "def": {
                        "template": "while {0}:",
                        "category": "control",
                        "slots": [
                          {
                            "options": []
                          }
                        ],
                        "isContainer": true,
                        "isReporter": false
                      },
                      "values": [
                        "j < 8"
                      ],
                      "children": [
                        {
                          "def": {
                            "template": "{0} = {1}",
                            "category": "variables",
                            "slots": [
                              {
                                "options": []
                              },
                              {
                                "options": []
                              }
                            ],
                            "isContainer": false,
                            "isReporter": false
                          },
                          "values": [
                            "nivelVecino",
                            "255 - vecinos[j][1]"
                          ],
                          "children": []
                        },
                        {
                          "def": {
                            "template": "if {0}:",
                            "category": "control",
                            "slots": [
                              {
                                "options": []
                              }
                            ],
                            "isContainer": true,
                            "isReporter": false
                          },
                          "values": [
                            "nivelVecino > mejorNivel"
                          ],
                          "children": [
                            {
                              "def": {
                                "template": "{0} = {1}",
                                "category": "variables",
                                "slots": [
                                  {
                                    "options": []
                                  },
                                  {
                                    "options": []
                                  }
                                ],
                                "isContainer": false,
                                "isReporter": false
                              },
                              "values": [
                                "mejorNivel",
                                "nivelVecino"
                              ],
                              "children": []
                            },
                            {
                              "def": {
                                "template": "{0} = {1}",
                                "category": "variables",
                                "slots": [
                                  {
                                    "options": []
                                  },
                                  {
                                    "options": []
                                  }
                                ],
                                "isContainer": false,
                                "isReporter": false
                              },
                              "values": [
                                "mejorAngulo",
                                "anguloVecino[j]"
                              ],
                              "children": []
                            }
                          ]
                        },
                        {
                          "def": {
                            "template": "{0} = {1}",
                            "category": "variables",
                            "slots": [
                              {
                                "options": []
                              },
                              {
                                "options": []
                              }
                            ],
                            "isContainer": false,
                            "isReporter": false
                          },
                          "values": [
                            "j",
                            "j + 1"
                          ],
                          "children": []
                        }
                      ]
                    },
                    {
                      "def": {
                        "template": "if {0}:",
                        "category": "control",
                        "slots": [
                          {
                            "options": []
                          }
                        ],
                        "isContainer": true,
                        "isReporter": false
                      },
                      "values": [
                        "mejorAngulo >= 0"
                      ],
                      "children": [
                        {
                          "def": {
                            "template": "{0}.setheading({1})",
                            "category": "tortuga",
                            "slots": [
                              {
                                "options": []
                              },
                              {
                                "options": []
                              }
                            ],
                            "isContainer": false,
                            "isReporter": false
                          },
                          "values": [
                            "h",
                            "mejorAngulo"
                          ],
                          "children": []
                        }
                      ]
                    },
                    {
                      "def": {
                        "template": "else:",
                        "category": "control",
                        "slots": [],
                        "isContainer": true,
                        "isReporter": false
                      },
                      "values": [],
                      "children": [
                        {
                          "def": {
                            "template": "{0}.setheading({1})",
                            "category": "tortuga",
                            "slots": [
                              {
                                "options": []
                              },
                              {
                                "options": []
                              }
                            ],
                            "isContainer": false,
                            "isReporter": false
                          },
                          "values": [
                            "h",
                            "h.heading() + randint(-40, 40)"
                          ],
                          "children": []
                        }
                      ]
                    },
                    {
                      "def": {
                        "template": "{0}.forward({1})",
                        "category": "tortuga",
                        "slots": [
                          {
                            "options": []
                          },
                          {
                            "options": []
                          }
                        ],
                        "isContainer": false,
                        "isReporter": false
                      },
                      "values": [
                        "h",
                        "6"
                      ],
                      "children": []
                    }
                  ]
                }
              ]
            },
            {
              "def": {
                "template": "else:",
                "category": "control",
                "slots": [],
                "isContainer": true,
                "isReporter": false
              },
              "values": [],
              "children": [
                {
                  "def": {
                    "template": "{0} = {1}",
                    "category": "variables",
                    "slots": [
                      {
                        "options": []
                      },
                      {
                        "options": []
                      }
                    ],
                    "isContainer": false,
                    "isReporter": false
                  },
                  "values": [
                    "actual",
                    "mundo[fila][col]"
                  ],
                  "children": []
                },
                {
                  "def": {
                    "template": "{0} = {1}",
                    "category": "variables",
                    "slots": [
                      {
                        "options": []
                      },
                      {
                        "options": []
                      }
                    ],
                    "isContainer": false,
                    "isReporter": false
                  },
                  "values": [
                    "nuevoNivel",
                    "(255 - actual[1]) + depositoFeromona"
                  ],
                  "children": []
                },
                {
                  "def": {
                    "template": "if {0}:",
                    "category": "control",
                    "slots": [
                      {
                        "options": []
                      }
                    ],
                    "isContainer": true,
                    "isReporter": false
                  },
                  "values": [
                    "nuevoNivel > 255"
                  ],
                  "children": [
                    {
                      "def": {
                        "template": "{0} = {1}",
                        "category": "variables",
                        "slots": [
                          {
                            "options": []
                          },
                          {
                            "options": []
                          }
                        ],
                        "isContainer": false,
                        "isReporter": false
                      },
                      "values": [
                        "nuevoNivel",
                        "255"
                      ],
                      "children": []
                    }
                  ]
                },
                {
                  "def": {
                    "template": "{0}[{1}][{2}] = {3}",
                    "category": "variables",
                    "slots": [
                      {
                        "options": []
                      },
                      {
                        "options": []
                      },
                      {
                        "options": []
                      },
                      {
                        "options": []
                      }
                    ],
                    "isContainer": false,
                    "isReporter": false
                  },
                  "values": [
                    "mundo",
                    "fila",
                    "col",
                    "(255 - nuevoNivel, 255 - nuevoNivel, 255 - nuevoNivel)"
                  ],
                  "children": []
                },
                {
                  "def": {
                    "template": "{0}.setheading({1})",
                    "category": "tortuga",
                    "slots": [
                      {
                        "options": []
                      },
                      {
                        "options": []
                      }
                    ],
                    "isContainer": false,
                    "isReporter": false
                  },
                  "values": [
                    "h",
                    "h.towards(nido)"
                  ],
                  "children": []
                },
                {
                  "def": {
                    "template": "{0}.forward({1})",
                    "category": "tortuga",
                    "slots": [
                      {
                        "options": []
                      },
                      {
                        "options": []
                      }
                    ],
                    "isContainer": false,
                    "isReporter": false
                  },
                  "values": [
                    "h",
                    "8"
                  ],
                  "children": []
                },
                {
                  "def": {
                    "template": "if {0}:",
                    "category": "control",
                    "slots": [
                      {
                        "options": []
                      }
                    ],
                    "isContainer": true,
                    "isReporter": false
                  },
                  "values": [
                    "h.touching(nido)"
                  ],
                  "children": [
                    {
                      "def": {
                        "template": "{0}[{1}] = {2}",
                        "category": "variables",
                        "slots": [
                          {
                            "options": []
                          },
                          {
                            "options": []
                          },
                          {
                            "options": []
                          }
                        ],
                        "isContainer": false,
                        "isReporter": false
                      },
                      "values": [
                        "estado",
                        "i",
                        "\"buscando\""
                      ],
                      "children": []
                    },
                    {
                      "def": {
                        "template": "{0}.color({1})",
                        "category": "tortuga",
                        "slots": [
                          {
                            "options": []
                          },
                          {
                            "options": []
                          }
                        ],
                        "isContainer": false,
                        "isReporter": false
                      },
                      "values": [
                        "h",
                        "\"black\""
                      ],
                      "children": []
                    },
                    {
                      "def": {
                        "template": "{0} = {1}",
                        "category": "variables",
                        "slots": [
                          {
                            "options": []
                          },
                          {
                            "options": []
                          }
                        ],
                        "isContainer": false,
                        "isReporter": false
                      },
                      "values": [
                        "recolectada",
                        "recolectada + 1"
                      ],
                      "children": []
                    },
                    {
                      "def": {
                        "template": "print({0})",
                        "category": "salida",
                        "slots": [
                          {
                            "options": []
                          }
                        ],
                        "isContainer": false,
                        "isReporter": false
                      },
                      "values": [
                        "recolectada"
                      ],
                      "children": []
                    }
                  ]
                }
              ]
            },
            {
              "def": {
                "template": "{0} = {1}",
                "category": "variables",
                "slots": [
                  {
                    "options": []
                  },
                  {
                    "options": []
                  }
                ],
                "isContainer": false,
                "isReporter": false
              },
              "values": [
                "i",
                "i + 1"
              ],
              "children": []
            }
          ]
        },
        {
          "def": {
            "template": "{0} = {1}",
            "category": "variables",
            "slots": [
              {
                "options": []
              },
              {
                "options": []
              }
            ],
            "isContainer": false,
            "isReporter": false
          },
          "values": [
            "fila1",
            "0"
          ],
          "children": []
        },
        {
          "def": {
            "template": "while {0}:",
            "category": "control",
            "slots": [
              {
                "options": []
              }
            ],
            "isContainer": true,
            "isReporter": false
          },
          "values": [
            "fila1 < filas"
          ],
          "children": [
            {
              "def": {
                "template": "{0} = {1}",
                "category": "variables",
                "slots": [
                  {
                    "options": []
                  },
                  {
                    "options": []
                  }
                ],
                "isContainer": false,
                "isReporter": false
              },
              "values": [
                "col1",
                "0"
              ],
              "children": []
            },
            {
              "def": {
                "template": "while {0}:",
                "category": "control",
                "slots": [
                  {
                    "options": []
                  }
                ],
                "isContainer": true,
                "isReporter": false
              },
              "values": [
                "col1 < columnas"
              ],
              "children": [
                {
                  "def": {
                    "template": "{0} = {1}",
                    "category": "variables",
                    "slots": [
                      {
                        "options": []
                      },
                      {
                        "options": []
                      }
                    ],
                    "isContainer": false,
                    "isReporter": false
                  },
                  "values": [
                    "actual",
                    "mundo[fila1][col1]"
                  ],
                  "children": []
                },
                {
                  "def": {
                    "template": "{0}[{1}][{2}] = {3}",
                    "category": "variables",
                    "slots": [
                      {
                        "options": []
                      },
                      {
                        "options": []
                      },
                      {
                        "options": []
                      },
                      {
                        "options": []
                      }
                    ],
                    "isContainer": false,
                    "isReporter": false
                  },
                  "values": [
                    "mundo",
                    "fila1",
                    "col1",
                    "(255 - int((255 - actual[1]) * evaporacionPorPaso), 255 - int((255 - actual[1]) * evaporacionPorPaso), 255 - int((255 - actual[1]) * evaporacionPorPaso))"
                  ],
                  "children": []
                },
                {
                  "def": {
                    "template": "{0} = {1}",
                    "category": "variables",
                    "slots": [
                      {
                        "options": []
                      },
                      {
                        "options": []
                      }
                    ],
                    "isContainer": false,
                    "isReporter": false
                  },
                  "values": [
                    "col1",
                    "col1 + 1"
                  ],
                  "children": []
                }
              ]
            },
            {
              "def": {
                "template": "{0} = {1}",
                "category": "variables",
                "slots": [
                  {
                    "options": []
                  },
                  {
                    "options": []
                  }
                ],
                "isContainer": false,
                "isReporter": false
              },
              "values": [
                "fila1",
                "fila1 + 1"
              ],
              "children": []
            }
          ]
        },
        {
          "def": {
            "template": "{0}.diffuse({1})",
            "category": "tortuga",
            "slots": [
              {
                "options": []
              },
              {
                "options": []
              }
            ],
            "isContainer": false,
            "isReporter": false
          },
          "values": [
            "mundo",
            "difusionPorPaso"
          ],
          "children": []
        }
      ]
    }
  ]
}
