This list of sample programs is a work in progress.
A turtle that understands forward and right
Here is a turtle that responds to go forward and turn right messages.
Give the bird messages.
Click on the turtle to watch how he works.
This will be replaced by a work area containing 2 things: a box, and an element.
top level widget
{
"semantic": {
"type": "top_level",
"running": true,
"backside_widgets": [
{
"widget": {
"semantic": {
"type": "box",
"size": 3,
"contents": [
{
"semantic": {
"type": "bird",
"nest": {
"shared_widget_index": 1
}
},
"view": {
"backside": false
},
"version": 1
},
{
"semantic": {
"type": "box",
"size": 2,
"contents": [
{
"semantic": {
"type": "element",
"html": "%3Cspan%20style%3D%22color%3A%20rgb(255%2C%200%2C%20255)%3B%20font-family%3A%20arial%2C%20sans-serif%3B%20font-size%3A%20xx-large%3B%20font-style%3A%20normal%3B%20font-variant%3A%20normal%3B%20font-weight%3A%20normal%3B%20letter-spacing%3A%20normal%3B%20line-height%3A%20normal%3B%20orphans%3A%20auto%3B%20text-align%3A%20start%3B%20text-indent%3A%200px%3B%20text-transform%3A%20none%3B%20white-space%3A%20normal%3B%20widows%3A%20auto%3B%20word-spacing%3A%200px%3B%20-webkit-text-stroke-width%3A%200px%3B%20display%3A%20inline%20!important%3B%20float%3A%20none%3B%20background-color%3A%20rgb(238%2C%20238%2C%20238)%3B%22%3ETurn%20right%3C%2Fspan%3E",
"attributes": [],
"attribute_values": [],
"attributes_backsides": []
},
"view": {
"backside": false
},
"version": 1
},
{
"semantic": {
"type": "number",
"operator": "+",
"numerator": "30",
"denominator": "1",
"format": "improper_fraction"
},
"view": {
"backside": false
},
"version": 1
}
],
"horizontal": true,
"name": ";;",
"infinite_stack": true
},
"view": {
"backside_geometry": {
"x_scale": 1,
"y_scale": 1,
"original_width": 550,
"original_height": 200
},
"saved_width": 218,
"saved_height": 76,
"backside": false
},
"version": 1
},
{
"semantic": {
"type": "box",
"size": 2,
"contents": [
{
"semantic": {
"type": "element",
"html": "%3Cspan%20style%3D%22color%3A%20rgb(255%2C%20229%2C%20153)%3B%20font-family%3A%20arial%2C%20sans-serif%3B%20font-size%3A%20xx-large%3B%20font-style%3A%20normal%3B%20font-variant%3A%20normal%3B%20font-weight%3A%20normal%3B%20letter-spacing%3A%20normal%3B%20line-height%3A%20normal%3B%20orphans%3A%20auto%3B%20text-align%3A%20start%3B%20text-indent%3A%200px%3B%20text-transform%3A%20none%3B%20white-space%3A%20normal%3B%20widows%3A%20auto%3B%20word-spacing%3A%200px%3B%20-webkit-text-stroke-width%3A%200px%3B%20display%3A%20inline%20!important%3B%20float%3A%20none%3B%20background-color%3A%20rgb(153%2C%200%2C%200)%3B%22%3EGo%20Forward%3C%2Fspan%3E",
"attributes": [],
"attribute_values": [],
"attributes_backsides": []
},
"view": {
"backside": false
},
"version": 1
},
{
"semantic": {
"type": "number",
"operator": "+",
"numerator": "50",
"denominator": "1",
"format": "improper_fraction"
},
"view": {
"backside_geometry": {
"x_scale": 1,
"y_scale": 1,
"original_width": 550,
"original_height": 200
},
"backside": false
},
"version": 1
}
],
"horizontal": true,
"name": ";;",
"infinite_stack": true
},
"view": {
"backside_geometry": {
"x_scale": 1,
"y_scale": 1,
"original_width": 550,
"original_height": 200
},
"saved_width": 164,
"saved_height": 67,
"backside": false
},
"version": 1
}
],
"horizontal": true,
"name": ";;;"
},
"view": {
"frontside_width": 445,
"frontside_height": 96,
"frontside_left": 104,
"frontside_top": 37,
"backside_geometry": {
"x_scale": 1,
"y_scale": 1,
"original_width": 550,
"original_height": 200
},
"saved_width": 445,
"saved_height": 96,
"backside": false
},
"version": 1
}
},
{
"widget": {
"semantic": {
"type": "element",
"html": {
"shared_html_index": 0
},
"attributes": [
"left",
"top",
"width",
"height",
"rotate"
],
"attribute_values": [
468,
271,
44,
68,
180
],
"attributes_backsides": [
[],
[],
[],
[],
[]
],
"running": true,
"backside_widgets": [
{
"widget": {
"semantic": {
"type": "robot",
"speed": 1,
"frontside_conditions": {
"semantic": {
"type": "element",
"html": {
"shared_html_index": 0
},
"attributes": [
"left",
"top",
"width",
"height",
"rotate"
],
"attribute_values": [
0,
0,
44,
68,
30
],
"attributes_backsides": [
null,
null,
null,
null,
null
],
"erased": true
},
"view": {
"saved_width": 44,
"saved_height": 68,
"backside": false
},
"version": 1
},
"backside_conditions": [
{
"widget": {
"semantic": {
"type": "box",
"size": 2,
"contents": [
{
"semantic": {
"type": "element",
"html": "%3Cspan%20style%3D%22color%3A%20rgb(255%2C%20229%2C%20153)%3B%20font-family%3A%20arial%2C%20sans-serif%3B%20font-size%3A%20xx-large%3B%20font-style%3A%20normal%3B%20font-variant%3A%20normal%3B%20font-weight%3A%20normal%3B%20letter-spacing%3A%20normal%3B%20line-height%3A%20normal%3B%20orphans%3A%20auto%3B%20text-align%3A%20start%3B%20text-indent%3A%200px%3B%20text-transform%3A%20none%3B%20white-space%3A%20normal%3B%20widows%3A%20auto%3B%20word-spacing%3A%200px%3B%20-webkit-text-stroke-width%3A%200px%3B%20display%3A%20inline%20!important%3B%20float%3A%20none%3B%20background-color%3A%20rgb(153%2C%200%2C%200)%3B%22%3EGo%20Forward%3C%2Fspan%3E",
"attributes": [],
"attribute_values": [],
"attributes_backsides": []
},
"view": {
"backside": false
},
"version": 1
},
{
"semantic": {
"type": "number",
"operator": "+",
"numerator": "3",
"denominator": "1",
"format": "improper_fraction",
"erased": true
},
"view": {
"backside": false
},
"version": 1
}
],
"horizontal": true,
"name": ";;"
},
"view": {
"backside": false
},
"version": 1
}
}
],
"body": {
"type": "body",
"steps": [
{
"type": "robot_action",
"action_name": "pick up",
"path": {
"type": "path.to_resource",
"resource": {
"type": "box",
"size": 2,
"contents": [
null,
null
],
"horizontal": true,
"name": ";;",
"is_backside": true
}
},
"additional_info": {
"time": 7912
}
},
{
"type": "robot_action",
"action_name": "drop it on",
"path": {
"type": "path.to_entire_context",
"is_backside": true
},
"additional_info": {
"left_offset_fraction": 0.46539772727272727,
"top_offset_fraction": 0.6045280612244898,
"time": 2025
}
},
{
"type": "robot_action",
"action_name": "pick up",
"path": {
"type": "path.to_resource",
"resource": {
"type": "number",
"operator": "+",
"numerator": "1",
"denominator": "1",
"format": "mixed_number",
"is_backside": true
}
},
"additional_info": {
"time": 1722
}
},
{
"type": "robot_action",
"action_name": "drop it on",
"path": {
"type": "newly_created_widgets_path",
"index": 0,
"next_path": {
"type": "box_path",
"index": 1
}
},
"additional_info": {
"time": 1527
}
},
{
"type": "robot_action",
"action_name": "open the backside",
"path": {
"type": "newly_created_widgets_path",
"index": 0,
"next_path": {
"type": "box_path",
"index": 1
}
},
"additional_info": {
"time": 2490
}
},
{
"type": "robot_action",
"action_name": "edit",
"path": {
"type": "newly_created_widgets_path",
"index": 0,
"next_path": {
"type": "box_path",
"index": 1
}
},
"additional_info": {
"setter_name": "set_numerator",
"argument_1": "-90",
"toString": "by changing the value of the numerator to -90",
"button_selector": ".toontalk-numerator-input",
"time": 5379
}
},
{
"type": "robot_action",
"action_name": "close the backside",
"path": {
"type": "newly_created_widgets_path",
"index": 0,
"next_path": {
"type": "box_path",
"index": 1
}
},
"additional_info": {
"time": 2285
}
},
{
"type": "robot_action",
"action_name": "pick up a copy of",
"path": {
"type": "path_to_style_attribute",
"attribute": "rotate",
"element_widget_path": {
"type": "path.to_entire_context"
}
},
"additional_info": {
"time": 4446
}
},
{
"type": "robot_action",
"action_name": "drop it on",
"path": {
"type": "newly_created_widgets_path",
"index": 0,
"next_path": {
"type": "box_path",
"index": 1
}
},
"additional_info": {
"time": 4375
}
},
{
"type": "robot_action",
"action_name": "pick up",
"path": {
"type": "path.to_resource",
"resource": {
"type": "nest",
"contents": [],
"serial_number": 3,
"name": "#26",
"is_backside": true
}
},
"additional_info": {
"time": 1465
}
},
{
"type": "robot_action",
"action_name": "drop it on",
"path": {
"type": "path.to_entire_context",
"is_backside": true
},
"additional_info": {
"left_offset_fraction": 0.5628693181818182,
"top_offset_fraction": 0.06549744897959184,
"time": 1162
}
},
{
"type": "robot_action",
"action_name": "pick up",
"path": {
"type": "newly_created_widgets_path",
"index": 4,
"removing_widget": true
},
"additional_info": {
"time": 5335
}
},
{
"type": "robot_action",
"action_name": "drop it on",
"path": {
"type": "newly_created_widgets_path",
"index": 0,
"next_path": {
"type": "box_path",
"index": 0
}
},
"additional_info": {
"time": 1142
}
},
{
"type": "robot_action",
"action_name": "open the backside",
"path": {
"type": "path.to_backside_widget_of_context",
"type_name": "nest",
"backside_index": 0,
"next_path": {
"type": "path.to_widget_on_nest",
"next_path": {
"type": "box_path",
"index": 1
}
}
},
"additional_info": {
"time": 3076
}
},
{
"type": "robot_action",
"action_name": "click the button of",
"path": {
"type": "path.to_backside_widget_of_context",
"type_name": "nest",
"backside_index": 0,
"next_path": {
"type": "path.to_widget_on_nest",
"next_path": {
"type": "box_path",
"index": 1
}
}
},
"additional_info": {
"button_selector": ".toontalk-settings-backside-button",
"time": 1934
}
},
{
"type": "robot_action",
"action_name": "edit",
"path": {
"type": "path.to_backside_widget_of_context",
"type_name": "nest",
"backside_index": 0,
"next_path": {
"type": "path.to_widget_on_nest",
"next_path": {
"type": "box_path",
"index": 1
}
}
},
"additional_info": {
"setter_name": "set_operator",
"argument_1": "*",
"toString": "by changing the operator to * of the number",
"button_selector": ".toontalk-times-radio-button",
"time": 2632
}
},
{
"type": "robot_action",
"action_name": "edit",
"path": {
"type": "path.to_backside_widget_of_context",
"type_name": "nest",
"backside_index": 0,
"next_path": {
"type": "path.to_widget_on_nest",
"next_path": {
"type": "box_path",
"index": 1
}
}
},
"additional_info": {
"setter_name": "set_infinite_stack",
"argument_1": true,
"toString": "change dragging to make a copy of ",
"button_selector": ".toontalk-infinite-stack-check-box",
"time": 3151
}
},
{
"type": "robot_action",
"action_name": "add a new widget to the work space",
"path": {
"type": "path.to_resource",
"resource": {
"type": "bird",
"nest": {
"semantic": {
"type": "function_nest",
"function_type": "number",
"function_name": "sine"
},
"view": {
"backside": false
},
"version": 1
},
"is_backside": true
}
},
"additional_info": {
"button_selector": ".toontalk-make-function_bird_button",
"path_to_source": {
"json": {
"type": "path.to_backside_widget_of_context",
"type_name": "nest",
"backside_index": 0
}
}
}
},
{
"type": "robot_action",
"action_name": "close the backside",
"path": {
"type": "path.to_backside_widget_of_context",
"type_name": "nest",
"backside_index": 0,
"next_path": {
"type": "path.to_widget_on_nest",
"next_path": {
"type": "box_path",
"index": 1
}
}
},
"additional_info": {
"time": 3161
}
},
{
"type": "robot_action",
"action_name": "open the backside",
"path": {
"type": "newly_created_widgets_path",
"index": 5
},
"additional_info": {
"time": 1489
}
},
{
"type": "robot_action",
"action_name": "edit",
"path": {
"type": "newly_created_widgets_path",
"index": 5
},
"additional_info": {
"setter_name": "set_function_name",
"argument_1": "cosine",
"toString": "change the function bird to 'cosine'",
"button_selector": ".toontalk-select-function",
"time": 4268
}
},
{
"type": "robot_action",
"action_name": "copy",
"path": {
"type": "newly_created_widgets_path",
"index": 0
},
"additional_info": {
"time": 5282
}
},
{
"type": "robot_action",
"action_name": "pick up",
"path": {
"type": "newly_created_widgets_path",
"index": 6,
"removing_widget": true
},
"additional_info": {
"time": 2015
}
},
{
"type": "robot_action",
"action_name": "drop it on",
"path": {
"type": "newly_created_widgets_path",
"index": 5
},
"additional_info": {
"time": 3581
}
},
{
"type": "robot_action",
"action_name": "pick up a copy of",
"path": {
"type": "path.to_backside_widget_of_context",
"type_name": "nest",
"backside_index": 0,
"next_path": {
"type": "path.to_widget_on_nest",
"next_path": {
"type": "box_path",
"index": 1
}
}
},
"additional_info": {
"time": 7556
}
},
{
"type": "robot_action",
"action_name": "drop it on",
"path": {
"type": "newly_created_widgets_path",
"index": 3,
"next_path": {
"type": "path.to_widget_on_nest"
}
},
"additional_info": {
"time": 3036
}
},
{
"type": "robot_action",
"action_name": "pick up",
"path": {
"type": "newly_created_widgets_path",
"index": 3,
"next_path": {
"type": "path.to_widget_on_nest",
"removing_widget": true
}
},
"additional_info": {
"time": 2685
}
},
{
"type": "robot_action",
"action_name": "drop it on",
"path": {
"type": "path_to_style_attribute",
"attribute": "left",
"element_widget_path": {
"type": "path.to_entire_context"
}
},
"additional_info": {
"time": 4291
}
},
{
"type": "robot_action",
"action_name": "open the backside",
"path": {
"type": "newly_created_widgets_path",
"index": 5
},
"additional_info": {
"time": 2682
}
},
{
"type": "robot_action",
"action_name": "open the backside",
"path": {
"type": "newly_created_widgets_path",
"index": 5
},
"additional_info": {
"time": 1218
}
},
{
"type": "robot_action",
"action_name": "edit",
"path": {
"type": "newly_created_widgets_path",
"index": 5
},
"additional_info": {
"setter_name": "set_function_name",
"argument_1": "sine",
"toString": "change the function bird to 'sine'",
"button_selector": ".toontalk-select-function",
"time": 3792
}
},
{
"type": "robot_action",
"action_name": "close the backside",
"path": {
"type": "newly_created_widgets_path",
"index": 5
},
"additional_info": {
"time": 2414
}
},
{
"type": "robot_action",
"action_name": "pick up",
"path": {
"type": "newly_created_widgets_path",
"index": 0,
"removing_widget": true
},
"additional_info": {
"time": 3009
}
},
{
"type": "robot_action",
"action_name": "drop it on",
"path": {
"type": "newly_created_widgets_path",
"index": 5
},
"additional_info": {
"time": 1490
}
},
{
"type": "robot_action",
"action_name": "pick up a copy of",
"path": {
"type": "path.to_backside_widget_of_context",
"type_name": "nest",
"backside_index": 0,
"next_path": {
"type": "path.to_widget_on_nest",
"next_path": {
"type": "box_path",
"index": 1
}
}
},
"additional_info": {
"time": 6361
}
},
{
"type": "robot_action",
"action_name": "drop it on",
"path": {
"type": "newly_created_widgets_path",
"index": 3,
"next_path": {
"type": "path.to_widget_on_nest"
}
},
"additional_info": {
"time": 3195
}
},
{
"type": "robot_action",
"action_name": "pick up",
"path": {
"type": "newly_created_widgets_path",
"index": 3,
"next_path": {
"type": "path.to_widget_on_nest",
"removing_widget": true
}
},
"additional_info": {
"time": 2905
}
},
{
"type": "robot_action",
"action_name": "drop it on",
"path": {
"type": "path_to_style_attribute",
"attribute": "top",
"element_widget_path": {
"type": "path.to_entire_context"
}
},
"additional_info": {
"time": 13818
}
},
{
"type": "robot_action",
"action_name": "remove",
"path": {
"type": "path.to_backside_widget_of_context",
"type_name": "nest",
"backside_index": 0,
"removing_widget": true
},
"additional_info": {
"time": 11387
}
},
{
"type": "robot_action",
"action_name": "remove",
"path": {
"type": "newly_created_widgets_path",
"index": 3,
"removing_widget": true,
"not_to_be_dereferenced": true
},
"additional_info": {
"time": 4496
}
},
{
"type": "robot_action",
"action_name": "remove",
"path": {
"type": "newly_created_widgets_path",
"index": 5,
"removing_widget": true
},
"additional_info": {
"time": 5768
}
}
]
},
"next_robot": {
"shared_widget_index": 0
},
"name": "FD",
"running": true,
"description": "a robot that responds to go \"Forward\" messages to a turtle.",
"backside_widgets": [
{
"widget": {
"shared_widget_index": 0
},
"is_backside": true
}
]
},
"view": {
"frontside_width": 66,
"frontside_height": 110,
"frontside_left": "81.98155918727915%",
"frontside_top": "13.71875%",
"backside_width": 0,
"backside_height": 0,
"backside_left": 0,
"backside_top": 0,
"backside_geometry": {
"x_scale": 1,
"y_scale": 2.086956521739129,
"original_width": 550,
"original_height": 253
},
"saved_width": 66,
"saved_height": 110,
"backside": false
},
"version": 1
}
},
{
"widget": {
"shared_widget_index": 1
}
}
]
},
"view": {
"frontside_width": 44,
"frontside_height": 68,
"frontside_left": 468,
"frontside_top": 271,
"backside_width": 0,
"backside_height": 0,
"backside_left": 0,
"backside_top": 0,
"saved_width": 44,
"saved_height": 68,
"backside": false
},
"version": 1
}
}
]
},
"view": {
"background_color": "rgb(245, 240, 240)",
"backside_width": 1173,
"backside_height": 474,
"backside_left": 8,
"backside_top": 184.1875,
"saved_width": 146,
"saved_height": 50.5,
"backside": true,
"drag_x_offset": 320,
"drag_y_offset": 254.8125
},
"version": 1,
"shared_widgets": [
{
"semantic": {
"type": "robot",
"speed": 1,
"frontside_conditions": {
"semantic": {
"type": "element",
"html": {
"shared_html_index": 0
},
"attributes": [
"left",
"top",
"width",
"height",
"rotate"
],
"attribute_values": [
0,
0,
44,
68,
6
],
"attributes_backsides": [
null,
null,
null,
null,
null
],
"erased": true
},
"view": {
"saved_width": 44,
"saved_height": 68,
"backside": false
},
"version": 1
},
"backside_conditions": [
{
"widget": {
"semantic": {
"type": "box",
"size": 2,
"contents": [
{
"semantic": {
"type": "element",
"html": "%3Cspan%20style%3D%22color%3A%20rgb(255%2C%200%2C%20255)%3B%20font-family%3A%20arial%2C%20sans-serif%3B%20font-size%3A%20xx-large%3B%20font-style%3A%20normal%3B%20font-variant%3A%20normal%3B%20font-weight%3A%20normal%3B%20letter-spacing%3A%20normal%3B%20line-height%3A%20normal%3B%20orphans%3A%20auto%3B%20text-align%3A%20start%3B%20text-indent%3A%200px%3B%20text-transform%3A%20none%3B%20white-space%3A%20normal%3B%20widows%3A%20auto%3B%20word-spacing%3A%200px%3B%20-webkit-text-stroke-width%3A%200px%3B%20display%3A%20inline%20!important%3B%20float%3A%20none%3B%20background-color%3A%20rgb(238%2C%20238%2C%20238)%3B%22%3ETurn%20right%3C%2Fspan%3E",
"attributes": [],
"attribute_values": [],
"attributes_backsides": []
},
"view": {
"backside": false
},
"version": 1
},
{
"semantic": {
"type": "number",
"operator": "+",
"numerator": "3",
"denominator": "1",
"format": "improper_fraction",
"erased": true
},
"view": {
"backside": false
},
"version": 1
}
],
"horizontal": true,
"name": ";;"
},
"view": {
"backside": false
},
"version": 1
}
}
],
"body": {
"type": "body",
"steps": [
{
"type": "robot_action",
"action_name": "pick up",
"path": {
"type": "path.to_backside_widget_of_context",
"type_name": "nest",
"backside_index": 0,
"next_path": {
"type": "path.to_widget_on_nest",
"next_path": {
"type": "box_path",
"index": 1,
"removing_widget": true
}
}
},
"additional_info": {
"time": 5194
}
},
{
"type": "robot_action",
"action_name": "drop it on",
"path": {
"type": "path_to_style_attribute",
"attribute": "rotate",
"element_widget_path": {
"type": "path.to_entire_context"
}
},
"additional_info": {
"time": 3174
}
},
{
"type": "robot_action",
"action_name": "remove",
"path": {
"type": "path.to_backside_widget_of_context",
"type_name": "nest",
"backside_index": 0,
"removing_widget": true
},
"additional_info": {
"time": 5733
}
}
]
},
"name": "RT",
"description": "a robot that processes \"Turn right\" messages to turtles."
},
"view": {
"frontside_width": 66,
"frontside_height": 110,
"frontside_left": null,
"frontside_top": null,
"backside_width": 0,
"backside_height": 0,
"backside_left": "0%",
"backside_top": "91.78825827205883%",
"advanced_settings_open": true,
"saved_width": 66,
"saved_height": 110,
"backside": false
},
"version": 1
},
{
"semantic": {
"type": "nest",
"contents": [],
"guid": "toontalk_id_1436697087263",
"serial_number": 1,
"name": "turtle",
"description": "a nest that receives turtle messages such as \"Go Forward\" and \"Turn right\"."
},
"view": {
"saved_width": 116,
"saved_height": 98,
"backside": false,
"frontside_left": "33.858767667844525%",
"frontside_top": "20.625%"
},
"version": 1
}
],
"shared_html": [
"%3Cimg%20src%3D'data%3Aimage%2Fpng%3Bbase64%2CiVBORw0KGgoAAAANSUhEUgAAACwAAABACAYAAABhspUgAAAABmJLR0QA%2FwD%2FAP%2BgvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3wcKChwIFxpolwAAAB1pVFh0Q29tbWVudAAAAAAAQ3JlYXRlZCB3aXRoIEdJTVBkLmUHAAAVMElEQVRo3s2aeWzd13XnP%2Fe3vp2Pi7iTIrVQ3EQt1q5ot2TLiiLbihMD7aRxO02TSYtpMcUUE2QWoCkm7QwazIok03ScOh57XCd2nESKtVmyLGulZNmSKYrivm9vX3%2Fr%2FEGKliyJcicu6gs8PBL4vfv73nu%2B55zvOffCpzAOPKEB8MRu1f%2FFA%2FLfH%2FyC8tJjuzwBgCf3KXyaQ%2F5NJ9iyKcyRE2n27fHU%2Bfz2v1dV56uK4rYoilu6pF6%2B9vNDVuzTBCz9phOcfncGj89n%2Fo2u2d%2BUJNcVwhW6Zv9zVRX%2FDmD3ds9nBzDAprVVRYpitwK4LsJ1Z80nm1sBjp7MfTYAr2irB%2BDqB8PS6tUbsB2orq6ltmYhjgNNTa0lWzeyGmDD%2BkX%2F9ICvvt8LwPatPKcqcrEkIBZLMD45gSQgkYgGios5CHDufM9nhRJ%2FJQIBaeXlK%2BcVy4JcLgWug%2B3A2NiwpOtSI1wVnxkOB%2Fz%2FSQfhz%2BUs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Mdb%2BRepZCJrWdHOy%2B3kV65CmZwKW5euxOyZU1aNw0dntO4zT8r%2BXF4u0nXnVY9urctmlVv5vNJimG6tIlvZQ0ft4QdGieXNosJ1pf2um7cVRS0pLashn08jyxqOYzE6XvxU38DZyR1bPPQNzCxmdAxncBhrcZ1X03XjOZDeSaczP3jjUGq4qrLYvHYj697qwR4Zy80t8lbPR50kvzdovnU6kygsCrzgOuJ6LKr%2B66Mns5nuXjvS1eMm9z4qc6vHvb%2BAj8T8rt%2Bb%2FZ4kid8rKw03Dg32EQz4Ma08ti2NeT1ZC%2BCt0%2FdmISFJHbYjEMLRZWnmkOPk6emHntBfvJJg7x4Ph48k8sDLAOsfCXK%2BfYYJh4%2FZ91drjY31nDwdH%2FjVkTXHhZDd4dHxLlWFTDaNZVlks8qRw0czN%2B%2F30vVra%2FD5MmnXFb2uS7HrOv%2Bgqw2HP5aGb4OdV17euNE7ew3h%2FYJYQnvespTVuZw6HY15dscT2mPAvwDYsEa7Z6LzFwfJpL2m60jHQVRLsviNbx1%2BovHo9rsvXjzzlHxr7mLHLu%2B8v11cVy6%2BeED5w2cPCvdLT4uSndv8nzq%2Be8x2%2B4LH7ZHNqH%2FQtKzAD3DkeHbeybr7xlwh3A7XlchmtcITp9L%2F%2BIDvHE%2Fu0%2Fnlm7njHZ3x9JpVwU94y0q9IUlOnxBs%2FcdgwLw8u9H1kXeOjBmfaMJbPVayYYkaVhS77cMb7s8%2FbcD%2FD%2FBf0Fk6gIDSAAAAAElFTkSuQmCC'%20alt%3D'turtle.png'%2F%3E"
]
}
A gadget for replacing the current page
This gadget senses when something is dropped on it and treats it as a URL that it passes along to a special bird that changes the current URL of the current tab.
This will be replaced by a work area containing one thing: an element.
top level widget
{
"semantic": {
"type": "top_level",
"running": true,
"backside_widgets": [
{
"widget": {
"shared_widget_index": 0
}
}
]
},
"view": {
"background_color": "rgba(0, 0, 0, 0)",
"backside_width": 446,
"backside_height": 201,
"backside_left": 8,
"backside_top": 179.1875,
"drag_x_offset": 50,
"drag_y_offset": 167.8125
},
"version": 1,
"shared_widgets": [
{
"semantic": {
"type": "element",
"html": "Drop%20a%20URL%20on%20me%20and%20I'll%20go%20there.",
"attributes": [
"width",
"height"
],
"attribute_values": [
277.734,
44
],
"attributes_backsides": [
[],
[]
],
"children": false,
"running": true,
"description": "a gadget that changes the current URL to the text widget dropped on me.",
"backside_widgets": [
{
"widget": {
"semantic": {
"type": "bird",
"nest": {
"semantic": {
"type": "function_nest",
"function_type": "element",
"function_name": "go to page"
},
"view": {},
"version": 1
}
},
"view": {
"saved_width": 70,
"saved_height": 102
},
"version": 1
}
},
{
"widget": {
"semantic": {
"type": "sensor",
"contents": [],
"guid": "sensor",
"serial_number": 6,
"name": "sensor",
"event_name": "widget added",
"attribute": "widget",
"active": true,
"sensor_of": {
"shared_widget_index": 0
}
},
"view": {
"frontside_left": "25.4803794419572%",
"frontside_top": "38.57087893699701%",
"saved_width": 116,
"saved_height": 98
},
"version": 1
}
},
{
"widget": {
"semantic": {
"type": "robot",
"frontside_conditions": {
"semantic": {
"type": "element",
"html": "Drop%20a%20URL%20on%20me%20and%20I'll%20go%20there.",
"attributes": [
"left",
"top",
"width",
"height"
],
"attribute_values": [
8,
396.188,
277.734,
22
],
"attributes_backsides": [
[],
[],
[],
[]
],
"children": [
{
"widget": {
"semantic": {
"type": "element",
"html": "p2.html%3Falt_key_to_open_backside%3D1%26reset%3D1",
"attributes": [
"left",
"top",
"width",
"height"
],
"attribute_values": [
11,
7,
400,
38
],
"attributes_backsides": [
[],
[],
[],
[]
],
"children": false
},
"view": {},
"version": 1
}
}
],
"erased": true,
"description": "a gadget that changes the current URL to the text widget dropped on me."
},
"view": {
"saved_width": 277.734,
"saved_height": 22
},
"version": 1
},
"backside_conditions": [
{
"widget": {
"type": "backside",
"my_widget": {
"semantic": {
"type": "element",
"html": "p2.html%3Falt_key_to_open_backside%3D1%26reset%3D1",
"attributes": [
"left",
"top",
"width",
"height"
],
"attribute_values": [
8,
396.188,
47.5,
117
],
"attributes_backsides": [
[],
[],
[],
[]
],
"children": false
},
"view": {
"saved_width": 504,
"saved_height": 32
},
"version": 1
},
"css": {
"top": 0,
"left": 0
},
"erased": true,
"view": {}
}
},
{
"widget": {
"semantic": {
"type": "box",
"size": 2,
"contents": [
{
"widget": {
"semantic": {
"type": "bird"
},
"view": {},
"version": 1
}
},
null
],
"horizontal": true,
"name": ";;"
},
"view": {
"saved_width": 240,
"saved_height": 60
},
"version": 1
}
},
{
"widget": {
"semantic": {
"type": "bird"
},
"view": {},
"version": 1
}
}
],
"body": {
"type": "body",
"steps": [
{
"type": "robot_action",
"action_name": "pick up",
"path": {
"type": "path.to_backside_widget_of_context",
"type_name": "sensor",
"backside_index": 0,
"removing_widget": true
},
"additional_info": {
"time": 7865
}
},
{
"type": "robot_action",
"action_name": "drop it on",
"path": {
"type": "path.top_level_backside"
},
"additional_info": {
"left_offset_fraction": 0.7009208874824719,
"top_offset_fraction": 0.09630002917898013,
"time": 3902
}
},
{
"type": "robot_action",
"action_name": "click the button of",
"path": {
"type": "path.to_entire_context",
"next_path": {
"type": "element_path",
"index": 0
}
},
"additional_info": {
"button_selector": ".toontalk-settings-backside-button",
"time": 25232
}
},
{
"type": "robot_action",
"action_name": "pick up",
"path": {
"type": "path.to_entire_context",
"next_path": {
"type": "element_path",
"index": 0,
"removing_widget": true
}
},
"additional_info": {
"time": 24532
}
},
{
"type": "robot_action",
"action_name": "drop it on",
"path": {
"type": "path.to_backside_widget_of_context",
"type_name": "box",
"backside_index": 1,
"next_path": {
"type": "box_path",
"index": 1
}
},
"additional_info": {
"time": 2816
}
},
{
"type": "robot_action",
"action_name": "pick up",
"path": {
"type": "path.to_backside_widget_of_context",
"type_name": "box",
"backside_index": 1,
"removing_widget": true
},
"additional_info": {
"time": 3255
}
},
{
"type": "robot_action",
"action_name": "drop it on",
"path": {
"type": "path.to_backside_widget_of_context",
"type_name": "bird",
"backside_index": 2
},
"additional_info": {
"time": 3537
}
},
{
"type": "robot_action",
"action_name": "remove",
"path": {
"type": "newly_created_widgets_path",
"index": 1,
"removing_widget": true
},
"additional_info": {
"time": 34556
}
},
{
"type": "robot_action",
"action_name": "remove",
"path": {
"type": "newly_created_widgets_path",
"index": 0,
"removing_widget": true
},
"additional_info": {
"time": 0
}
}
]
},
"name": "#1",
"speed": 1,
"running": true
},
"view": {
"frontside_left": "73.6691726213967%",
"frontside_top": "39.76331641338802%",
"saved_width": 66,
"saved_height": 110
},
"version": 1
}
},
{
"widget": {
"semantic": {
"type": "box",
"size": 2,
"contents": [
{
"widget": {
"semantic": {
"type": "bird",
"nest": {
"semantic": {
"type": "nest",
"contents": [],
"guid": "toontalk_id_1462729009164",
"serial_number": 1,
"name": "#1"
},
"view": {
"saved_width": 116,
"saved_height": 98
},
"version": 1
}
},
"view": {
"saved_width": 70,
"saved_height": 102
},
"version": 1
}
},
null
],
"horizontal": true,
"name": ";;"
},
"view": {
"frontside_left": "40.32513137638085%",
"frontside_top": "37.71254149999583%",
"saved_width": 164,
"saved_height": 68
},
"version": 1
}
}
]
},
"view": {
"frontside_left": 62.4531,
"frontside_top": 67.2813,
"backside_geometry": {
"x_scale": 0.9746765342596788,
"y_scale": 0.7457044673539522,
"original_width": 620.71875,
"original_height": 288
},
"saved_width": 420,
"saved_height": 32
},
"version": 1
}
]
}
Reading and writing URL hash
Here is a widget for reading and writing the 'hash' part of the current URL (the part starting with hash - #).
Useful (among much else?) for providing hints to puzzles since puzzles on refresh resets the page
but needs to keep track of how many time the page has been refreshed.
This will be replaced by a work area containing one thing: a number.
top level widget
{
"semantic": {
"type": "top_level",
"running": true,
"backside_widgets": [
{
"widget": {
"shared_widget_index": 0
}
}
]
},
"view": {
"background_color": "rgb(245, 240, 240)",
"backside_width": 410,
"backside_height": 194,
"backside_left": 8,
"backside_top": 182.1875,
"drag_x_offset": 258,
"drag_y_offset": 141
},
"version": 1,
"shared_widgets": [
{
"semantic": {
"type": "number",
"operator": "+",
"numerator": "0",
"denominator": "1",
"format": "mixed_number",
"running": true,
"backside_widgets": [
{
"widget": {
"semantic": {
"type": "bird",
"nest": {
"semantic": {
"type": "function_nest",
"function_type": "box",
"function_name": "set window property"
},
"view": {},
"version": 1
}
},
"view": {
"frontside_left": "3.697044979079498%",
"frontside_top": "25.5717665615142%"
},
"version": 1
}
},
{
"widget": {
"semantic": {
"type": "robot",
"frontside_conditions": {
"semantic": {
"type": "number",
"operator": "+",
"numerator": "4",
"denominator": "1",
"format": "mixed_number",
"erased": true
},
"view": {},
"version": 1
},
"backside_conditions": [
{
"widget": {
"semantic": {
"type": "box",
"size": 3,
"contents": [
{
"widget": {
"semantic": {
"type": "bird"
},
"view": {},
"version": 1
}
},
{
"widget": {
"semantic": {
"type": "box",
"size": 2,
"contents": [
{
"widget": {
"semantic": {
"type": "element",
"html": "location",
"attributes": [
"left",
"top",
"width",
"height"
],
"attribute_values": [
8,
643.188,
29.328125,
44
],
"attributes_backsides": [
[],
[],
[],
[]
],
"children": false
},
"view": {
"saved_width": 96,
"saved_height": 32
},
"version": 1
}
},
{
"widget": {
"semantic": {
"type": "element",
"html": "hash",
"attributes": [
"left",
"top",
"width",
"height"
],
"attribute_values": [
8,
643.188,
37.328125,
60
],
"attributes_backsides": [
null,
null,
null,
null
],
"children": false
},
"view": {
"saved_width": 48,
"saved_height": 32
},
"version": 1
}
}
],
"horizontal": true,
"name": ";;"
},
"view": {},
"version": 1
}
},
null
],
"horizontal": true,
"name": ";;"
},
"view": {
"saved_width": 240,
"saved_height": 60
},
"version": 1
}
},
{
"widget": {
"semantic": {
"type": "number",
"operator": "+",
"numerator": "4",
"denominator": "1",
"format": "mixed_number",
"erased": true
},
"view": {
"saved_width": 240,
"saved_height": 60
},
"version": 1
}
},
{
"widget": {
"semantic": {
"type": "bird"
},
"view": {},
"version": 1
}
}
],
"body": {
"type": "body",
"steps": [
{
"type": "robot_action",
"action_name": "copy",
"path": {
"type": "path.to_backside_widget_of_context",
"type_name": "box",
"backside_index": 0
},
"additional_info": {
"time": 8090
}
},
{
"type": "robot_action",
"action_name": "pick up",
"path": {
"type": "path.to_backside_widget_of_context",
"type_name": "sensor",
"backside_index": 1,
"removing_widget": true
},
"additional_info": {
"time": 2640
}
},
{
"type": "robot_action",
"action_name": "drop it on",
"path": {
"type": "newly_created_widgets_path",
"index": 0,
"next_path": {
"type": "box_path",
"index": 2
}
},
"additional_info": {
"time": 2512
}
},
{
"type": "robot_action",
"action_name": "pick up",
"path": {
"type": "newly_created_widgets_path",
"index": 0,
"removing_widget": true
},
"additional_info": {
"time": 11657
}
},
{
"type": "robot_action",
"action_name": "drop it on",
"path": {
"type": "path.to_backside_widget_of_context",
"type_name": "bird",
"backside_index": 2
},
"additional_info": {
"time": 1834
}
}
]
},
"name": "update hash",
"running": true,
"description": "a robot that updates the URL when the number chanages."
},
"view": {
"frontside_left": "14.162199267782427%",
"frontside_top": "22.988958990536275%"
},
"version": 1
}
},
{
"widget": {
"semantic": {
"type": "sensor",
"contents": [],
"guid": "sensor",
"serial_number": 3,
"name": "changed",
"event_name": "value changed",
"attribute": "new_value",
"active": true,
"sensor_of": {
"shared_widget_index": 0
}
},
"view": {
"frontside_left": "2.907622907949791%",
"frontside_top": "60.16364353312302%"
},
"version": 1
}
},
{
"widget": {
"semantic": {
"type": "box",
"size": 3,
"contents": [
{
"widget": {
"semantic": {
"type": "bird"
},
"view": {},
"version": 1
}
},
{
"widget": {
"semantic": {
"type": "box",
"size": 2,
"contents": [
{
"widget": {
"semantic": {
"type": "element",
"html": "location",
"attributes": [
"left",
"top",
"width",
"height"
],
"attribute_values": [
8,
634.188,
25.328125,
44
],
"attributes_backsides": [
[],
[],
[],
[]
],
"children": false
},
"view": {
"saved_width": 96,
"saved_height": 32
},
"version": 1
}
},
{
"widget": {
"semantic": {
"type": "element",
"html": "hash",
"attributes": [
"left",
"top",
"width",
"height"
],
"attribute_values": [
8,
634.188,
25.328125,
44
],
"attributes_backsides": [
null,
null,
null,
null
],
"children": false
},
"view": {},
"version": 1
}
}
],
"horizontal": true,
"name": ";;"
},
"view": {},
"version": 1
}
},
null
],
"horizontal": true,
"name": ";;"
},
"view": {
"frontside_width": 240,
"frontside_height": 60,
"frontside_left": "18.571848849372387%",
"frontside_top": "62.923895899053626%",
"saved_width": 240,
"saved_height": 60
},
"version": 1
}
},
{
"widget": {
"semantic": {
"type": "number",
"operator": "+",
"numerator": "0",
"denominator": "1",
"format": "mixed_number",
"running": true,
"backside_widgets": [
{
"widget": {
"semantic": {
"type": "box",
"size": 7,
"contents": [
{
"widget": {
"semantic": {
"type": "bird",
"nest": {
"semantic": {
"type": "function_nest",
"function_type": "element",
"function_name": "text as number"
},
"view": {},
"version": 1
}
},
"view": {
"frontside_left": 779.469,
"frontside_top": 79.1719
},
"version": 1
}
},
{
"widget": {
"semantic": {
"type": "box",
"size": 2,
"contents": [
{
"widget": {
"semantic": {
"type": "bird",
"nest": {
"shared_widget_index": 3
}
},
"view": {},
"version": 1
}
},
{
"widget": {
"shared_widget_index": 1
}
}
],
"horizontal": true,
"name": ";;"
},
"view": {
"frontside_left": 823.359,
"frontside_top": 234.063,
"saved_width": 164,
"saved_height": 68
},
"version": 1
}
},
{
"widget": {
"semantic": {
"type": "bird",
"nest": {
"semantic": {
"type": "function_nest",
"function_type": "element",
"function_name": "part of text"
},
"view": {},
"version": 1
}
},
"view": {
"frontside_left": 441.75,
"frontside_top": 56.0781
},
"version": 1
}
},
{
"widget": {
"semantic": {
"type": "box",
"size": 3,
"contents": [
{
"widget": {
"semantic": {
"type": "bird",
"nest": {
"shared_widget_index": 1
}
},
"view": {},
"version": 1
}
},
{
"widget": {
"shared_widget_index": 2
}
},
{
"widget": {
"semantic": {
"type": "number",
"operator": "+",
"numerator": "2",
"denominator": "1",
"format": "mixed_number"
},
"view": {
"frontside_left": 57,
"frontside_top": 82,
"saved_width": 76,
"saved_height": 55
},
"version": 1
}
}
],
"horizontal": true,
"name": ";;"
},
"view": {
"frontside_left": 418.953,
"frontside_top": 231.75,
"saved_width": 164,
"saved_height": 68
},
"version": 1
}
},
{
"widget": {
"semantic": {
"type": "bird",
"nest": {
"semantic": {
"type": "function_nest",
"function_type": "box",
"function_name": "get window property"
},
"view": {},
"version": 1
}
},
"view": {
"frontside_left": 49.6719,
"frontside_top": 167.828
},
"version": 1
}
},
{
"widget": {
"semantic": {
"type": "box",
"size": 2,
"contents": [
{
"widget": {
"semantic": {
"type": "bird",
"nest": {
"shared_widget_index": 2
}
},
"view": {},
"version": 1
}
},
{
"widget": {
"semantic": {
"type": "box",
"size": 2,
"contents": [
{
"widget": {
"semantic": {
"type": "element",
"html": "location",
"attributes": [
"left",
"top",
"width",
"height"
],
"attribute_values": [
8,
634.188,
2.5770263671875,
44.1729736328125
],
"attributes_backsides": [
[],
[],
[],
[]
],
"children": false
},
"view": {
"frontside_left": 0,
"saved_width": 96,
"saved_height": 32
},
"version": 1
}
},
{
"widget": {
"semantic": {
"type": "element",
"html": "hash",
"attributes": [
"left",
"top",
"width",
"height"
],
"attribute_values": [
8,
634.188,
1.2371826171875,
44.1729736328125
],
"attributes_backsides": [
null,
null,
null,
null
],
"children": false
},
"view": {
"frontside_left": 0,
"saved_width": 48,
"saved_height": 32
},
"version": 1
}
}
],
"horizontal": true,
"name": ";;"
},
"view": {},
"version": 1
}
}
],
"horizontal": true,
"name": ";;"
},
"view": {
"saved_width": 164,
"saved_height": 123
},
"version": 1
}
},
{
"widget": {
"shared_widget_index": 3
}
}
],
"horizontal": true,
"name": ";;",
"infinite_stack": true
},
"view": {
"frontside_width": 456.766,
"frontside_height": 82.4219,
"frontside_left": "5.2777013139254425%",
"frontside_top": "31.590319570324816%",
"saved_width": 733,
"saved_height": 68
},
"version": 1
}
},
{
"widget": {
"semantic": {
"type": "robot",
"frontside_conditions": {
"semantic": {
"type": "number",
"operator": "+",
"numerator": "1",
"denominator": "1",
"format": "mixed_number",
"erased": true
},
"view": {},
"version": 1
},
"backside_conditions": [
{
"widget": {
"semantic": {
"type": "box",
"size": 7,
"contents": [
{
"widget": {
"semantic": {
"type": "bird"
},
"view": {},
"version": 1
}
},
{
"widget": {
"semantic": {
"type": "box",
"size": 2,
"contents": [
{
"widget": {
"semantic": {
"type": "bird"
},
"view": {},
"version": 1
}
},
{
"widget": {
"semantic": {
"type": "nest",
"contents": [],
"guid": "in a robot's condition",
"serial_number": 3,
"name": "string"
},
"view": {},
"version": 1
}
}
],
"horizontal": true,
"name": ";;"
},
"view": {},
"version": 1
}
},
{
"widget": {
"semantic": {
"type": "bird"
},
"view": {},
"version": 1
}
},
{
"widget": {
"semantic": {
"type": "box",
"size": 3,
"contents": [
{
"widget": {
"semantic": {
"type": "bird"
},
"view": {},
"version": 1
}
},
{
"widget": {
"shared_widget_index": 4
}
},
{
"widget": {
"semantic": {
"type": "number",
"operator": "+",
"numerator": "2",
"denominator": "1",
"format": "mixed_number"
},
"view": {},
"version": 1
}
}
],
"horizontal": true,
"name": ";;"
},
"view": {},
"version": 1
}
},
{
"widget": {
"semantic": {
"type": "bird"
},
"view": {},
"version": 1
}
},
{
"widget": {
"semantic": {
"type": "box",
"size": 2,
"contents": [
{
"widget": {
"semantic": {
"type": "bird"
},
"view": {},
"version": 1
}
},
{
"widget": {
"semantic": {
"type": "box",
"size": 2,
"contents": [
{
"widget": {
"semantic": {
"type": "element",
"html": "location",
"attributes": [
"left",
"top",
"width",
"height"
],
"attribute_values": [
8,
643.188,
-2.75274658203125,
13.20843505859375
],
"attributes_backsides": [
[],
[],
[],
[]
],
"children": false
},
"view": {
"frontside_left": 0,
"saved_width": 96,
"saved_height": 32
},
"version": 1
}
},
{
"widget": {
"semantic": {
"type": "element",
"html": "hash",
"attributes": [
"left",
"top",
"width",
"height"
],
"attribute_values": [
8,
643.188,
-2.75274658203125,
13.20843505859375
],
"attributes_backsides": [
null,
null,
null,
null
],
"children": false
},
"view": {
"frontside_left": 0,
"saved_width": 48,
"saved_height": 32
},
"version": 1
}
}
],
"horizontal": true,
"name": ";;"
},
"view": {},
"version": 1
}
}
],
"horizontal": true,
"name": ";;"
},
"view": {},
"version": 1
}
},
{
"widget": {
"shared_widget_index": 4
}
}
],
"horizontal": true,
"name": ";;"
},
"view": {
"frontside_left": 198,
"frontside_top": 78,
"saved_width": 240,
"saved_height": 60
},
"version": 1
}
}
],
"body": {
"type": "body",
"steps": [
{
"type": "robot_action",
"action_name": "pick up a copy of",
"path": {
"type": "path.to_backside_widget_of_context",
"type_name": "box",
"backside_index": 0
},
"additional_info": {
"time": 2438
}
},
{
"type": "robot_action",
"action_name": "drop it on",
"path": {
"type": "path.to_entire_context",
"is_backside": true
},
"additional_info": {
"left_offset_fraction": 0.0738,
"top_offset_fraction": 0.0998,
"time": 2802
}
},
{
"type": "robot_action",
"action_name": "pick up",
"path": {
"type": "newly_created_widgets_path",
"index": 0,
"next_path": {
"type": "box_path",
"index": 5,
"removing_widget": true
}
},
"additional_info": {
"time": 2879
}
},
{
"type": "robot_action",
"action_name": "drop it on",
"path": {
"type": "newly_created_widgets_path",
"index": 0,
"next_path": {
"type": "box_path",
"index": 4
}
},
"additional_info": {
"time": 1090
}
},
{
"type": "robot_action",
"action_name": "pick up",
"path": {
"type": "newly_created_widgets_path",
"index": 0,
"next_path": {
"type": "box_path",
"index": 3,
"removing_widget": true
}
},
"additional_info": {
"time": 11861
}
},
{
"type": "robot_action",
"action_name": "drop it on",
"path": {
"type": "newly_created_widgets_path",
"index": 0,
"next_path": {
"type": "box_path",
"index": 2
}
},
"additional_info": {
"time": 2512
}
},
{
"type": "robot_action",
"action_name": "pick up",
"path": {
"type": "newly_created_widgets_path",
"index": 0,
"next_path": {
"type": "box_path",
"index": 1,
"removing_widget": true
}
},
"additional_info": {
"time": 6558
}
},
{
"type": "robot_action",
"action_name": "drop it on",
"path": {
"type": "newly_created_widgets_path",
"index": 0,
"next_path": {
"type": "box_path",
"index": 0
}
},
"additional_info": {
"time": 2080
}
},
{
"type": "robot_action",
"action_name": "open the backside of",
"path": {
"type": "newly_created_widgets_path",
"index": 0,
"next_path": {
"type": "box_path",
"index": 6
}
},
"additional_info": {
"time": 5443
}
},
{
"type": "robot_action",
"action_name": "click the button of",
"path": {
"type": "newly_created_widgets_path",
"index": 0,
"next_path": {
"type": "box_path",
"index": 6
}
},
"additional_info": {
"button_selector": ".toontalk-settings-backside-button",
"time": 2370
}
},
{
"type": "robot_action",
"action_name": "edit",
"path": {
"type": "newly_created_widgets_path",
"index": 0,
"next_path": {
"type": "box_path",
"index": 6
}
},
"additional_info": {
"setter_name": "set_operator",
"argument_1": "=",
"toString": "by changing the operator to = of the number",
"button_selector": ".toontalk-set-equal-radio-button",
"time": 1605
}
},
{
"type": "robot_action",
"action_name": "close the backside of",
"path": {
"type": "newly_created_widgets_path",
"index": 0,
"next_path": {
"type": "box_path",
"index": 6
}
},
"additional_info": {
"time": 1731
}
},
{
"type": "robot_action",
"action_name": "pick up",
"path": {
"type": "newly_created_widgets_path",
"index": 0,
"next_path": {
"type": "box_path",
"index": 6,
"removing_widget": true
}
},
"additional_info": {
"time": 1699
}
},
{
"type": "robot_action",
"action_name": "drop it on",
"path": {
"type": "path.to_entire_context"
},
"additional_info": {
"time": 2787
}
},
{
"type": "robot_action",
"action_name": "remove",
"path": {
"type": "newly_created_widgets_path",
"index": 0,
"removing_widget": true
},
"additional_info": {
"time": 3294
}
}
]
},
"run_once": true,
"name": "read hash",
"running": true,
"description": "a robot who reads the URL's hash as a number."
},
"view": {
"frontside_left": "84.99297337441175%",
"frontside_top": "6.630719307177643%"
},
"version": 1
}
}
]
},
"view": {
"backside_width": 566.797,
"backside_height": 216,
"backside_left": "48.04197175732218%",
"backside_top": "23.097397476340696%",
"backside_geometry": {
"x_scale": 0.6659729448491151,
"y_scale": 0.665036674816626,
"original_width": 566,
"original_height": 216
},
"frontside_left": 71.7656,
"frontside_top": 88.0625,
"saved_width": 76,
"saved_height": 55
},
"version": 1
},
"is_backside": true
}
]
},
"view": {
"frontside_width": 76,
"frontside_height": 55,
"frontside_left": 87.5313,
"frontside_top": 32.3281,
"backside_left": 0,
"backside_top": 0,
"backside_geometry": {
"x_scale": 1.660777385159009,
"y_scale": 1.3935185185185182,
"original_width": 566,
"original_height": 216
},
"saved_width": 76,
"saved_height": 55
},
"version": 1
},
{
"semantic": {
"type": "nest",
"contents": [],
"guid": "toontalk_id_1468423631770",
"serial_number": 3,
"name": "string"
},
"view": {
"frontside_left": 0,
"frontside_top": 19.76
},
"version": 1
},
{
"semantic": {
"type": "nest",
"contents": [],
"guid": "toontalk_id_1468423631746",
"serial_number": 1,
"name": "hash"
},
"view": {
"frontside_left": 0,
"frontside_top": 21.9855
},
"version": 1
},
{
"semantic": {
"type": "nest",
"contents": [],
"guid": "toontalk_id_1468423631785",
"serial_number": 4,
"name": "refreshed"
},
"view": {
"frontside_left": 548.688,
"frontside_top": 363.75
},
"version": 1
},
{
"semantic": {
"type": "nest",
"contents": [],
"guid": "in a robot's condition",
"serial_number": 3,
"name": "string"
},
"view": {},
"version": 1
}
]
}
A team of robots that computes Fibonacci numbers in a doubly recursive manner
In order to compute the Fibonacci of n the team includes simple robots for answering what the first and second Fibonacci numbers are.
The third robot makes two copies of the team.
One copy computes n-1 and the other n-2.
The third robot gives a sum function bird the task to add up the results when they arrive
and give the sum to the "answer" bird.
This will be replaced by a work area containing 3 things: a box, a nest, and a backside of a box.
top level widget
{
"semantic": {
"type": "top_level",
"backside_widgets": [
{
"widget": {
"shared_widget_index": 1
}
},
{
"widget": {
"shared_widget_index": 0
}
},
{
"widget": {
"shared_widget_index": 1
},
"is_backside": true
}
]
},
"view": {
"background_color": "rgb(245, 240, 240)",
"backside_width": 1147,
"backside_height": 392,
"backside_left": 8,
"backside_top": 27055.96875,
"drag_x_offset": 620,
"drag_y_offset": 268
},
"version": 1,
"shared_widgets": [
{
"semantic": {
"type": "nest",
"contents": [],
"guid": "toontalk_id_1480855774700",
"serial_number": 5,
"name": "is 8"
},
"view": {
"frontside_left": 601.5,
"frontside_top": 37.2031
},
"version": 1
},
{
"semantic": {
"type": "box",
"size": 2,
"contents": [
{
"widget": {
"semantic": {
"type": "number",
"operator": "+",
"numerator": "6",
"denominator": "1",
"format": "mixed_number"
},
"view": {
"saved_width": 76,
"saved_height": 55
},
"version": 1
}
},
{
"widget": {
"semantic": {
"type": "bird",
"nest": {
"shared_widget_index": 0
}
},
"view": {},
"version": 1
}
}
],
"horizontal": true,
"name": ";;",
"backside_widgets": [
{
"widget": {
"semantic": {
"type": "robot",
"frontside_conditions": {
"semantic": {
"type": "box",
"size": 2,
"contents": [
{
"widget": {
"semantic": {
"type": "number",
"operator": "+",
"numerator": "0",
"denominator": "1",
"format": "mixed_number"
},
"view": {},
"version": 1
}
},
{
"widget": {
"semantic": {
"type": "bird"
},
"view": {},
"version": 1
}
}
],
"horizontal": true,
"name": ";;"
},
"view": {},
"version": 1
},
"backside_conditions": [],
"body": {
"type": "body",
"steps": [
{
"type": "robot_action",
"action_name": "pick up",
"path": {
"type": "path.to_entire_context",
"next_path": {
"type": "box_path",
"index": 0,
"removing_widget": true
}
},
"additional_info": {
"time": 1622
}
},
{
"type": "robot_action",
"action_name": "drop it on",
"path": {
"type": "path.to_entire_context",
"next_path": {
"type": "box_path",
"index": 1
}
},
"additional_info": {
"time": 893
}
},
{
"type": "robot_action",
"action_name": "remove",
"path": {
"type": "path.to_entire_context",
"removing_widget": true
},
"additional_info": {
"time": 4933
}
}
]
},
"next_robot": {
"semantic": {
"type": "robot",
"frontside_conditions": {
"semantic": {
"type": "box",
"size": 2,
"contents": [
{
"widget": {
"semantic": {
"type": "number",
"operator": "+",
"numerator": "1",
"denominator": "1",
"format": "mixed_number"
},
"view": {},
"version": 1
}
},
{
"widget": {
"semantic": {
"type": "bird"
},
"view": {},
"version": 1
}
}
],
"horizontal": true,
"name": ";;"
},
"view": {},
"version": 1
},
"backside_conditions": [],
"body": {
"type": "body",
"steps": [
{
"type": "robot_action",
"action_name": "pick up",
"path": {
"type": "path.to_entire_context",
"next_path": {
"type": "box_path",
"index": 0,
"removing_widget": true
}
},
"additional_info": {
"time": 3458
}
},
{
"type": "robot_action",
"action_name": "drop it on",
"path": {
"type": "path.to_entire_context",
"next_path": {
"type": "box_path",
"index": 1
}
},
"additional_info": {
"time": 1582
}
},
{
"type": "robot_action",
"action_name": "remove",
"path": {
"type": "path.to_entire_context",
"removing_widget": true
},
"additional_info": {
"time": 5970
}
}
]
},
"next_robot": {
"semantic": {
"type": "robot",
"frontside_conditions": {
"semantic": {
"type": "box",
"size": 2,
"contents": [
{
"widget": {
"semantic": {
"type": "number",
"operator": "+",
"numerator": "2",
"denominator": "1",
"format": "mixed_number",
"erased": true
},
"view": {},
"version": 1
}
},
{
"widget": {
"semantic": {
"type": "bird"
},
"view": {},
"version": 1
}
}
],
"horizontal": true,
"name": ";;"
},
"view": {},
"version": 1
},
"backside_conditions": [],
"body": {
"type": "body",
"steps": [
{
"type": "robot_action",
"action_name": "pick up",
"path": {
"type": "path.to_resource",
"resource": {
"type": "box",
"size": 2,
"contents": [
null,
null
],
"horizontal": true,
"name": ";;"
}
},
"additional_info": {
"time": 4056
}
},
{
"type": "robot_action",
"action_name": "drop it on",
"path": {
"type": "path.top_level_backside",
"removing_widget": true
},
"additional_info": {
"left_offset_fraction": 0.0517,
"top_offset_fraction": 0.091,
"time": 1060
}
},
{
"type": "robot_action",
"action_name": "pick up",
"path": {
"type": "path.to_resource",
"resource": {
"type": "box",
"size": 2,
"contents": [
null,
null
],
"horizontal": true,
"name": ";;"
}
},
"additional_info": {
"time": 812
}
},
{
"type": "robot_action",
"action_name": "drop it on",
"path": {
"type": "path.top_level_backside",
"removing_widget": true
},
"additional_info": {
"left_offset_fraction": 0.0243,
"top_offset_fraction": 0.377,
"time": 1232
}
},
{
"type": "robot_action",
"action_name": "open the backside of",
"path": {
"type": "newly_created_widgets_path",
"index": 1
},
"additional_info": {
"time": 454
}
},
{
"type": "robot_action",
"action_name": "edit",
"path": {
"type": "newly_created_widgets_path",
"index": 1
},
"additional_info": {
"setter_name": "set_size",
"argument_1": 3,
"oString": "by changing the number of holes to 3 of the box",
"button_selector": ".toontalk-box-size-input",
"time": 2308
}
},
{
"type": "robot_action",
"action_name": "pick up",
"path": {
"type": "path.to_resource",
"resource": {
"type": "nest",
"contents": [],
"serial_number": 4,
"name": "#8"
}
},
"additional_info": {
"time": 1638
}
},
{
"type": "robot_action",
"action_name": "drop it on",
"path": {
"type": "newly_created_widgets_path",
"index": 1,
"next_path": {
"type": "box_path",
"index": 1
}
},
"additional_info": {
"time": 2668
}
},
{
"type": "robot_action",
"action_name": "pick up",
"path": {
"type": "newly_created_widgets_path",
"index": 3,
"removing_widget": true
},
"additional_info": {
"time": 4246
}
},
{
"type": "robot_action",
"action_name": "drop it on",
"path": {
"type": "newly_created_widgets_path",
"index": 0,
"next_path": {
"type": "box_path",
"index": 1
}
},
"additional_info": {
"time": 1358
}
},
{
"type": "robot_action",
"action_name": "copy",
"path": {
"type": "path.to_entire_context",
"next_path": {
"type": "box_path",
"index": 0
}
},
"additional_info": {
"time": 3586
}
},
{
"type": "robot_action",
"action_name": "pick up",
"path": {
"type": "newly_created_widgets_path",
"index": 4,
"removing_widget": true
},
"additional_info": {
"time": 1191
}
},
{
"type": "robot_action",
"action_name": "drop it on",
"path": {
"type": "newly_created_widgets_path",
"index": 0,
"next_path": {
"type": "box_path",
"index": 0
}
},
"additional_info": {
"time": 1411
}
},
{
"type": "robot_action",
"action_name": "pick up",
"path": {
"type": "path.to_resource",
"resource": {
"type": "number",
"operator": "+",
"numerator": "1",
"denominator": "1",
"format": "mixed_number"
}
},
"additional_info": {
"time": 1349
}
},
{
"type": "robot_action",
"action_name": "drop it on",
"path": {
"type": "path.top_level_backside",
"removing_widget": true
},
"additional_info": {
"left_offset_fraction": 0.237,
"top_offset_fraction": 0.106,
"time": 945
}
},
{
"type": "robot_action",
"action_name": "open the backside of",
"path": {
"type": "newly_created_widgets_path",
"index": 5
},
"additional_info": {
"time": 694
}
},
{
"type": "robot_action",
"action_name": "click the button of",
"path": {
"type": "newly_created_widgets_path",
"index": 5
},
"additional_info": {
"button_selector": ".toontalk-settings-backside-button",
"time": 2452
}
},
{
"type": "robot_action",
"action_name": "edit",
"path": {
"type": "newly_created_widgets_path",
"index": 5
},
"additional_info": {
"setter_name": "set_operator",
"argument_1": "-",
"toString": "by changing the operator to subtraction",
"button_selector": ".toontalk-minus-radio-button",
"time": 1526
}
},
{
"type": "robot_action",
"action_name": "pick up",
"path": {
"type": "newly_created_widgets_path",
"index": 5,
"removing_widget": true
},
"additional_info": {
"time": 1291
}
},
{
"type": "robot_action",
"action_name": "drop it on",
"path": {
"type": "newly_created_widgets_path",
"index": 0,
"next_path": {
"type": "box_path",
"index": 0
}
},
"additional_info": {
"time": 2109
}
},
{
"type": "robot_action",
"action_name": "open the backside of",
"path": {
"type": "newly_created_widgets_path",
"index": 0
},
"additional_info": {
"time": 2323
}
},
{
"type": "robot_action",
"action_name": "copy",
"path": {
"type": "path.to_self"
},
"additional_info": {
"time": 3524
}
},
{
"type": "robot_action",
"action_name": "pick up",
"path": {
"type": "newly_created_widgets_path",
"index": 6,
"removing_widget": true
},
"additional_info": {
"time": 1340
}
},
{
"type": "robot_action",
"action_name": "drop it on",
"path": {
"type": "newly_created_widgets_path",
"index": 0,
"is_backside": true
},
"additional_info": {
"left_offset_fraction": 0.722,
"top_offset_fraction": 0.283,
"time": 917
}
},
{
"type": "robot_action",
"action_name": "click the button of",
"path": {
"type": "newly_created_widgets_path",
"index": 0
},
"additional_info": {
"button_selector": ".toontalk-green-flag",
"time": 1726
}
},
{
"type": "robot_action",
"action_name": "pick up",
"path": {
"type": "path.to_resource",
"resource": {
"type": "box",
"size": 2,
"contents": [
null,
null
],
"horizontal": true,
"name": ";;"
}
},
"additional_info": {
"time": 14499
}
},
{
"type": "robot_action",
"action_name": "drop it on",
"path": {
"type": "path.top_level_backside",
"removing_widget": true
},
"additional_info": {
"left_offset_fraction": 0.0761,
"top_offset_fraction": 0.0932,
"time": 839
}
},
{
"type": "robot_action",
"action_name": "pick up",
"path": {
"type": "path.to_resource",
"resource": {
"type": "nest",
"contents": [],
"serial_number": 6,
"name": "#10"
}
},
"additional_info": {
"time": 1042
}
},
{
"type": "robot_action",
"action_name": "drop it on",
"path": {
"type": "newly_created_widgets_path",
"index": 1,
"next_path": {
"type": "box_path",
"index": 2
}
},
"additional_info": {
"time": 1362
}
},
{
"type": "robot_action",
"action_name": "pick up",
"path": {
"type": "newly_created_widgets_path",
"index": 9,
"removing_widget": true
},
"additional_info": {
"time": 5055
}
},
{
"type": "robot_action",
"action_name": "drop it on",
"path": {
"type": "newly_created_widgets_path",
"index": 7,
"next_path": {
"type": "box_path",
"index": 1
}
},
"additional_info": {
"time": 798
}
},
{
"type": "robot_action",
"action_name": "copy",
"path": {
"type": "path.to_entire_context",
"next_path": {
"type": "box_path",
"index": 0
}
},
"additional_info": {
"time": 3045
}
},
{
"type": "robot_action",
"action_name": "pick up",
"path": {
"type": "path.to_resource",
"resource": {
"type": "number",
"operator": "+",
"numerator": "1",
"denominator": "1",
"format": "mixed_number"
}
},
"additional_info": {
"time": 1833
}
},
{
"type": "robot_action",
"action_name": "drop it on",
"path": {
"type": "path.top_level_backside",
"removing_widget": true
},
"additional_info": {
"left_offset_fraction": 0.252,
"top_offset_fraction": 0.368,
"time": 1035
}
},
{
"type": "robot_action",
"action_name": "open the backside of",
"path": {
"type": "newly_created_widgets_path",
"index": 11
},
"additional_info": {
"time": 634
}
},
{
"type": "robot_action",
"action_name": "edit",
"path": {
"type": "newly_created_widgets_path",
"index": 11
},
"additional_info": {
"setter_name": "set_numerator",
"argument_1": "-2",
"toString": "by changing the value of the numerator to -2",
"button_selector": ".toontalk-numerator-input",
"time": 4409
}
},
{
"type": "robot_action",
"action_name": "pick up",
"path": {
"type": "newly_created_widgets_path",
"index": 11,
"removing_widget": true
},
"additional_info": {
"time": 5403
}
},
{
"type": "robot_action",
"action_name": "drop it on",
"path": {
"type": "newly_created_widgets_path",
"index": 10
},
"additional_info": {
"time": 2753
}
},
{
"type": "robot_action",
"action_name": "pick up",
"path": {
"type": "newly_created_widgets_path",
"index": 10,
"removing_widget": true
},
"additional_info": {
"time": 1702
}
},
{
"type": "robot_action",
"action_name": "drop it on",
"path": {
"type": "newly_created_widgets_path",
"index": 7,
"next_path": {
"type": "box_path",
"index": 0
}
},
"additional_info": {
"time": 1290
}
},
{
"type": "robot_action",
"action_name": "open the backside of",
"path": {
"type": "newly_created_widgets_path",
"index": 7
},
"additional_info": {
"time": 3488
}
},
{
"type": "robot_action",
"action_name": "copy",
"path": {
"type": "path.to_self"
},
"additional_info": {
"time": 3466
}
},
{
"type": "robot_action",
"action_name": "pick up",
"path": {
"type": "newly_created_widgets_path",
"index": 12,
"removing_widget": true
},
"additional_info": {
"time": 1437
}
},
{
"type": "robot_action",
"action_name": "drop it on",
"path": {
"type": "newly_created_widgets_path",
"index": 7,
"is_backside": true
},
"additional_info": {
"left_offset_fraction": 0.742,
"top_offset_fraction": 0.366,
"time": 963
}
},
{
"type": "robot_action",
"action_name": "click the button of",
"path": {
"type": "newly_created_widgets_path",
"index": 7
},
"additional_info": {
"button_selector": ".toontalk-green-flag",
"time": 2265
}
},
{
"type": "robot_action",
"action_name": "pick up",
"path": {
"type": "path.to_entire_context",
"next_path": {
"type": "box_path",
"index": 1,
"removing_widget": true
}
},
"additional_info": {
"time": 12705
}
},
{
"type": "robot_action",
"action_name": "drop it on",
"path": {
"type": "newly_created_widgets_path",
"index": 1,
"next_path": {
"type": "box_path",
"index": 0
}
},
"additional_info": {
"time": 1551
}
},
{
"type": "robot_action",
"action_name": "open the backside of",
"path": {
"type": "path.to_entire_context",
"next_path": {
"type": "box_path",
"index": 0
}
},
"additional_info": {
"time": 5742
}
},
{
"type": "robot_action",
"action_name": "click the button of",
"path": {
"type": "path.to_entire_context",
"next_path": {
"type": "box_path",
"index": 0
}
},
"additional_info": {
"button_selector": ".toontalk-settings-backside-button",
"time": 2251
}
},
{
"type": "robot_action",
"action_name": "add a new widget to the work space",
"path": {
"type": "path.to_resource",
"resource": {
"type": "bird",
"nest": {
"semantic": {
"type": "function_nest",
"function_type": "number",
"function_name": "sum"
},
"view": {},
"version": 1
}
}
},
"additional_info": {
"button_selector": ".toontalk-make-function_bird_button",
"path_to_source": {
"json": {
"type": "path.to_entire_context"
}
}
}
},
{
"type": "robot_action",
"action_name": "pick up",
"path": {
"type": "newly_created_widgets_path",
"index": 1,
"removing_widget": true
},
"additional_info": {
"time": 5465
}
},
{
"type": "robot_action",
"action_name": "drop it on",
"path": {
"type": "newly_created_widgets_path",
"index": 14
},
"additional_info": {
"time": 1795
}
},
{
"type": "robot_action",
"action_name": "close the backside of",
"path": {
"type": "path.to_entire_context",
"next_path": {
"type": "box_path",
"index": 0
}
},
"additional_info": {
"time": 9349
}
},
{
"type": "robot_action",
"action_name": "remove",
"path": {
"type": "newly_created_widgets_path",
"index": 14,
"removing_widget": true
},
"additional_info": {
"time": 20303
}
},
{
"type": "robot_action",
"action_name": "remove",
"path": {
"type": "path.to_entire_context",
"removing_widget": true
},
"additional_info": {
"time": 13031
}
}
]
},
"name": "Recur"
},
"view": {},
"version": 1
},
"name": "One"
},
"view": {
"frontside_left": 6,
"frontside_top": 6
},
"version": 1
},
"name": "Zero"
},
"view": {
"frontside_left": 369.969,
"frontside_top": 66.5
},
"version": 1
}
}
]
},
"view": {
"frontside_width": 164,
"frontside_height": 68,
"frontside_left": 56.0625,
"frontside_top": 31.5625,
"backside_left": 47.984375,
"backside_top": 163.890625,
"saved_width": 164,
"saved_height": 68
},
"version": 1
}
]
}
Go to ToonTalk manual home page