Goal is to show off the whole "level map" like in a game of Super Mario.
I'm pausing here because the driver is getting really sluggish. I need to do something about it, but in the mean time dragging operations are most prohibitive, so I'm adding a configurable Spawn_point to minimize them when adding new definitions.
Now to pull this into the meta driver.
XUYQTR6PPSMIKIVBYPDOBAH2TJ5JODWIKDQALZOAUKG34QHD6G7AC
5VNEE6PVZWCUX5FKXEN2J4VGYEDSGDZGFUWVPBOEXDBQLMZMMHZAC
DMCRN3CEDMPBFFQA37BSGYQCUVLFDETXSS3NFJ3U4K6XSFPPDC2AC
LRDM35CEK3OHXOTB7TEFJRL7P6PQWO5ZG3F2BVA7DIDFHBPJQ7KAC
WVKFFN6FAJVKUL6NGAOWSS33WFD63GPOPSLDQ7JT4WM27KV7H65QC
FS2ITYYHBLFT66YUC3ENPFYI2HOYHOVEPQIN7NQR6KF5MEK4NKZAC
MISEW25VIMXQ6ID37VQ365KAMPQ5O4COYWEIK6M4JXKIG7L5DVSQC
GDBDGLRHJSMN527PHXGZVSGF55EYT4X3GFNF4LF6363JE2FGBQXQC
SGZ44T7WGWSQ27MZ6CSCHTGBOLQTIECJIP6KBSTP7A55DZCUBLHAC
R5QXEHUIZLELJGGCZAE7ATNS3CLRJ7JFRENMGH4XXH24C5WABZDQC
new_definition = function()
if Cursor_node then
Cursor_node.show_cursor = false
end
table.insert(Definitions, {
type='text',
data={''},
x=Spawn_point.x, y=Spawn_point.y,
width=600,
bg={r=0.7,g=0.7,b=1},
})
Viewport.x = Spawn_point.x-30
Viewport.y = Spawn_point.y-30
Cursor_node = Definitions[#Definitions]
Cursor_node.show_cursor = true
end
{"add_def_to_menu":640,"on.key_release":720,"on.code_submit":787,"surface_bounds":814,"mouse_cursor":558,"box_height":680,"Mouse_cursor":559,"compute_layout":385,"set_mouse_cursor":562,"draw_ticks":663,"on.text_input":521,"order_of_magnitude":573,"approximate":579,"on.initialize":807,"A":713,"load_definition":716,"scale":712,"B":379,"approximate_up":658,"vy":546,"Ticks_font":669,"on.load_settings":782,"table_and_array_both_empty":689,"draw_cursor":639,"sy":469,"get_definition_from_app":784,"vx":545,"load_from_iterator":670,"sx":544,"initialize_editor":678,"reset_manifest_navigator":772,"Menu_command_color":613,"draw_manifest_navigator":677,"num_lines_for_manifest_navigator":676,"Cursor_node":172,"on_text":539,"Manifest_navigator":495,"Page":475,"Menu_background_color":611,"Manifest":769,"Menu_border_color":612,"add_hotkey_to_menu":616,"update_editor_box":711,"Animating":813,"Menu_highlight_color":614,"on.code_change":820,"Surface":422,"draw_menu_bar":641,"font":353,"on.draw":797,"maybe_update_key_in_definitions":529,"initialize_manifest_navigator":773,"on.update":802,"Viewport":604,"load_manifest":694,"on.mouse_release":721,"get_manifest":768,"get_multiple_definitions_from_app":783,"on.mouse_press":722,"fw_parent":820,"tick_spec":660,"fw_app":"driver","animate_next_frame":817,"Definitions":503,"y_of_schema1":364,"new_definition":821,"manifest_navigator_up":628,"on.keychord_press":785,"manifest_navigator_down":635,"on_handle":547,"survey_animation":816,"delete_definition":673,"on.save_settings":742,"move_candidate_to_front_of_manifest":632,"add_thick_line":400,"keychord_press_on_manifest_navigator":765,"copy_shape":396,"text_input_on_manifest_navigator":634,"animate_next":809,"wait_for_response":781,"manifest_coord":636,"draw_run_time_error":808,"manifest_index":637,"line_height":365,"manifest_navigator_candidates":638,"on":1,"schema1_of_y":667}
on.code_change = function()
print('code changed')
Spawn_point = {x=-4000, y=0}
A() -- just in case we edited Page
end
{"add_def_to_menu":640,"on.key_release":720,"on.code_submit":787,"surface_bounds":814,"mouse_cursor":558,"box_height":680,"Mouse_cursor":559,"compute_layout":385,"set_mouse_cursor":562,"draw_ticks":663,"on.text_input":521,"order_of_magnitude":573,"approximate":579,"on.initialize":807,"A":713,"load_definition":716,"scale":712,"B":379,"approximate_up":658,"vy":546,"Ticks_font":669,"on.load_settings":782,"table_and_array_both_empty":689,"draw_cursor":639,"sy":469,"get_definition_from_app":784,"vx":545,"load_from_iterator":670,"sx":544,"initialize_editor":678,"reset_manifest_navigator":772,"Menu_command_color":613,"draw_manifest_navigator":677,"num_lines_for_manifest_navigator":676,"Cursor_node":172,"on_text":539,"Manifest_navigator":495,"Page":475,"Menu_background_color":611,"Manifest":769,"Menu_border_color":612,"add_hotkey_to_menu":616,"update_editor_box":711,"Animating":813,"Menu_highlight_color":614,"on.code_change":820,"Surface":422,"draw_menu_bar":641,"font":353,"on.draw":797,"maybe_update_key_in_definitions":529,"initialize_manifest_navigator":773,"on.update":802,"Viewport":604,"load_manifest":694,"on.mouse_release":721,"get_manifest":768,"get_multiple_definitions_from_app":783,"on.mouse_press":722,"fw_parent":819,"tick_spec":660,"fw_app":"driver","animate_next_frame":817,"Definitions":503,"y_of_schema1":364,"new_definition":819,"manifest_navigator_up":628,"on.keychord_press":785,"manifest_navigator_down":635,"on_handle":547,"survey_animation":816,"delete_definition":673,"on.save_settings":742,"move_candidate_to_front_of_manifest":632,"add_thick_line":400,"keychord_press_on_manifest_navigator":765,"copy_shape":396,"text_input_on_manifest_navigator":634,"animate_next":809,"wait_for_response":781,"manifest_coord":636,"draw_run_time_error":808,"manifest_index":637,"line_height":365,"manifest_navigator_candidates":638,"on":1,"schema1_of_y":667}
new_definition = function()
if Cursor_node then
Cursor_node.show_cursor = false
end
table.insert(Definitions, {
type='text',
data={''},
x=Spawn_point.x, y=Spawn_point.y,
width=600,
bg={r=0.7,g=0.7,b=1},
})
Viewport.x = -30
Viewport.y = -30
Cursor_node = Definitions[#Definitions]
Cursor_node.show_cursor = true
end
{"add_def_to_menu":640,"on.key_release":720,"on.code_submit":787,"surface_bounds":814,"mouse_cursor":558,"box_height":680,"Mouse_cursor":559,"compute_layout":385,"set_mouse_cursor":562,"draw_ticks":663,"on.text_input":521,"order_of_magnitude":573,"approximate":579,"on.initialize":807,"A":713,"load_definition":716,"scale":712,"B":379,"approximate_up":658,"vy":546,"Ticks_font":669,"on.load_settings":782,"table_and_array_both_empty":689,"draw_cursor":639,"sy":469,"get_definition_from_app":784,"vx":545,"load_from_iterator":670,"sx":544,"initialize_editor":678,"reset_manifest_navigator":772,"Menu_command_color":613,"draw_manifest_navigator":677,"num_lines_for_manifest_navigator":676,"Cursor_node":172,"on_text":539,"Manifest_navigator":495,"Page":475,"Menu_background_color":611,"Manifest":769,"Menu_border_color":612,"add_hotkey_to_menu":616,"update_editor_box":711,"Animating":813,"Menu_highlight_color":614,"on.code_change":818,"Surface":422,"draw_menu_bar":641,"font":353,"on.draw":797,"maybe_update_key_in_definitions":529,"initialize_manifest_navigator":773,"on.update":802,"Viewport":604,"load_manifest":694,"on.mouse_release":721,"get_manifest":768,"get_multiple_definitions_from_app":783,"on.mouse_press":722,"fw_parent":818,"tick_spec":660,"fw_app":"driver","animate_next_frame":817,"Definitions":503,"y_of_schema1":364,"new_definition":819,"manifest_navigator_up":628,"on.keychord_press":785,"manifest_navigator_down":635,"on_handle":547,"survey_animation":816,"delete_definition":673,"on.save_settings":742,"move_candidate_to_front_of_manifest":632,"add_thick_line":400,"keychord_press_on_manifest_navigator":765,"copy_shape":396,"text_input_on_manifest_navigator":634,"animate_next":809,"wait_for_response":781,"manifest_coord":636,"draw_run_time_error":808,"manifest_index":637,"line_height":365,"manifest_navigator_candidates":638,"on":1,"schema1_of_y":667}
on.code_change = function()
print('code changed')
Spawn_point = {x=-4000, y=0}
A() -- just in case we edited Page
end
{"add_def_to_menu":640,"on.key_release":720,"on.code_submit":787,"surface_bounds":814,"mouse_cursor":558,"box_height":680,"Mouse_cursor":559,"compute_layout":385,"set_mouse_cursor":562,"draw_ticks":663,"on.text_input":521,"order_of_magnitude":573,"approximate":579,"on.initialize":807,"A":713,"load_definition":716,"scale":712,"B":379,"approximate_up":658,"vy":546,"Ticks_font":669,"on.load_settings":782,"table_and_array_both_empty":689,"draw_cursor":639,"sy":469,"get_definition_from_app":784,"vx":545,"load_from_iterator":670,"sx":544,"initialize_editor":678,"reset_manifest_navigator":772,"Menu_command_color":613,"draw_manifest_navigator":677,"num_lines_for_manifest_navigator":676,"Cursor_node":172,"on_text":539,"Manifest_navigator":495,"Page":475,"Menu_background_color":611,"Manifest":769,"Menu_border_color":612,"add_hotkey_to_menu":616,"update_editor_box":711,"Animating":813,"Menu_highlight_color":614,"on.code_change":818,"Surface":422,"draw_menu_bar":641,"font":353,"on.draw":797,"maybe_update_key_in_definitions":529,"initialize_manifest_navigator":773,"on.update":802,"Viewport":604,"load_manifest":694,"on.mouse_release":721,"get_manifest":768,"get_multiple_definitions_from_app":783,"on.mouse_press":722,"fw_parent":817,"tick_spec":660,"fw_app":"driver","animate_next_frame":817,"Definitions":503,"y_of_schema1":364,"new_definition":767,"manifest_navigator_up":628,"on.keychord_press":785,"manifest_navigator_down":635,"on_handle":547,"survey_animation":816,"delete_definition":673,"on.save_settings":742,"move_candidate_to_front_of_manifest":632,"add_thick_line":400,"keychord_press_on_manifest_navigator":765,"copy_shape":396,"text_input_on_manifest_navigator":634,"animate_next":809,"wait_for_response":781,"manifest_coord":636,"draw_run_time_error":808,"manifest_index":637,"line_height":365,"manifest_navigator_candidates":638,"on":1,"schema1_of_y":667}
{"add_def_to_menu":640,"on.key_release":720,"on.code_submit":787,"surface_bounds":814,"mouse_cursor":558,"box_height":680,"Mouse_cursor":559,"compute_layout":385,"set_mouse_cursor":562,"draw_ticks":663,"on.text_input":521,"order_of_magnitude":573,"approximate":579,"on.initialize":807,"A":713,"load_definition":716,"scale":712,"B":379,"approximate_up":658,"vy":546,"Ticks_font":669,"on.load_settings":782,"table_and_array_both_empty":689,"draw_cursor":639,"sy":469,"get_definition_from_app":784,"vx":545,"load_from_iterator":670,"sx":544,"initialize_editor":678,"reset_manifest_navigator":772,"Menu_command_color":613,"draw_manifest_navigator":677,"num_lines_for_manifest_navigator":676,"Cursor_node":172,"on_text":539,"Manifest_navigator":495,"Page":475,"Menu_background_color":611,"Manifest":769,"Menu_border_color":612,"add_hotkey_to_menu":616,"update_editor_box":711,"Animating":813,"Menu_highlight_color":614,"on.code_change":799,"Surface":422,"draw_menu_bar":641,"font":353,"on.draw":797,"maybe_update_key_in_definitions":529,"initialize_manifest_navigator":773,"on.update":802,"Viewport":604,"load_manifest":694,"on.mouse_release":721,"get_manifest":768,"get_multiple_definitions_from_app":783,"on.mouse_press":722,"fw_parent":816,"tick_spec":660,"fw_app":"driver","animate_next_frame":817,"Definitions":503,"y_of_schema1":364,"new_definition":767,"manifest_navigator_up":628,"on.keychord_press":785,"manifest_navigator_down":635,"on_handle":547,"survey_animation":816,"delete_definition":673,"on.save_settings":742,"move_candidate_to_front_of_manifest":632,"add_thick_line":400,"keychord_press_on_manifest_navigator":765,"copy_shape":396,"text_input_on_manifest_navigator":634,"animate_next":809,"wait_for_response":781,"manifest_coord":636,"draw_run_time_error":808,"manifest_index":637,"line_height":365,"manifest_navigator_candidates":638,"on":1,"schema1_of_y":667}
animate_next_frame = function(state, dt)
if state.initial == nil then
state.initial = from_viewport(state)
-- once we've checked keys, pollute the keyspace
state.step = 0
state.frame_time = 0
return
end
state.frame_time = state.frame_time + dt
if state.frame_time > 0.01 then
state.frame_time = state.frame_time - 0.01
state.step = state.step+1
Viewport[state.viewport_key] = (state.initial * (10 - state.step) + state.final * state.step) / 10
B()
end
end
survey_animation = function()
--[[
local minx, miny, maxx, maxy = surface_bounds(Definitions)
local zoom = math.min(App.screen.width/(maxx-minx), App.screen.height/(maxy-miny))
Animating = {
{x=minx, y=miny, w=maxx-minx, h=maxy-miny, zoom=zoom},
{x=Viewport.x, y=Viewport.y, w=Viewport.w, h=Viewport.h, zoom=Viewport.zoom},
}
Viewport.x = -App.screen.width/2
Viewport.y = -App.screen.height/2
Viewport.w = App.screen.width
Viewport.h = App.screen.height
Viewport.zoom = 1.0 --]]
end
{"add_def_to_menu":640,"on.key_release":720,"on.code_submit":787,"surface_bounds":814,"mouse_cursor":558,"box_height":680,"Mouse_cursor":559,"compute_layout":385,"set_mouse_cursor":562,"draw_ticks":663,"on.text_input":521,"order_of_magnitude":573,"approximate":579,"on.initialize":807,"A":713,"load_definition":716,"scale":712,"B":379,"approximate_up":658,"vy":546,"Ticks_font":669,"on.load_settings":782,"table_and_array_both_empty":689,"draw_cursor":639,"sy":469,"get_definition_from_app":784,"vx":545,"load_from_iterator":670,"sx":544,"initialize_editor":678,"reset_manifest_navigator":772,"Menu_command_color":613,"draw_manifest_navigator":677,"num_lines_for_manifest_navigator":676,"Cursor_node":172,"on_text":539,"Manifest_navigator":495,"Page":475,"Menu_background_color":611,"Manifest":769,"Menu_border_color":612,"add_hotkey_to_menu":616,"update_editor_box":711,"Animating":813,"Menu_highlight_color":614,"on.code_change":799,"Surface":422,"draw_menu_bar":641,"font":353,"on.draw":797,"maybe_update_key_in_definitions":529,"initialize_manifest_navigator":773,"on.update":802,"Viewport":604,"load_manifest":694,"on.mouse_release":721,"get_manifest":768,"get_multiple_definitions_from_app":783,"on.mouse_press":722,"fw_parent":815,"tick_spec":660,"fw_app":"driver","animate_next_frame":811,"Definitions":503,"y_of_schema1":364,"new_definition":767,"manifest_navigator_up":628,"on.keychord_press":785,"manifest_navigator_down":635,"on_handle":547,"survey_animation":816,"delete_definition":673,"on.save_settings":742,"move_candidate_to_front_of_manifest":632,"add_thick_line":400,"keychord_press_on_manifest_navigator":765,"copy_shape":396,"text_input_on_manifest_navigator":634,"animate_next":809,"wait_for_response":781,"manifest_coord":636,"draw_run_time_error":808,"manifest_index":637,"line_height":365,"manifest_navigator_candidates":638,"on":1,"schema1_of_y":667}
survey_animation = function()
local minx, miny, maxx, maxy = surface_bounds(Definitions)
local zoom = math.min(App.screen.width/(maxx-minx), App.screen.height/(maxy-miny))
Animating = {
{x=minx, y=miny, w=maxx-minx, h=maxy-miny, zoom=zoom},
{x=Viewport.x, y=Viewport.y, w=Viewport.w, h=Viewport.h, zoom=Viewport.zoom},
}
Viewport.x = -App.screen.width/2
Viewport.y = -App.screen.height/2
Viewport.w = App.screen.width
Viewport.h = App.screen.height
Viewport.zoom = 1.0
end
{"add_def_to_menu":640,"on.key_release":720,"on.code_submit":787,"surface_bounds":814,"mouse_cursor":558,"box_height":680,"Mouse_cursor":559,"compute_layout":385,"set_mouse_cursor":562,"draw_ticks":663,"on.text_input":521,"order_of_magnitude":573,"approximate":579,"on.initialize":807,"A":713,"load_definition":716,"scale":712,"B":379,"approximate_up":658,"vy":546,"Ticks_font":669,"on.load_settings":782,"table_and_array_both_empty":689,"draw_cursor":639,"sy":469,"get_definition_from_app":784,"vx":545,"load_from_iterator":670,"sx":544,"initialize_editor":678,"reset_manifest_navigator":772,"Menu_command_color":613,"draw_manifest_navigator":677,"num_lines_for_manifest_navigator":676,"Cursor_node":172,"on_text":539,"Manifest_navigator":495,"Page":475,"Menu_background_color":611,"Manifest":769,"Menu_border_color":612,"add_hotkey_to_menu":616,"update_editor_box":711,"Animating":813,"Menu_highlight_color":614,"on.code_change":799,"Surface":422,"draw_menu_bar":641,"font":353,"on.draw":797,"maybe_update_key_in_definitions":529,"initialize_manifest_navigator":773,"on.update":802,"Viewport":604,"load_manifest":694,"on.mouse_release":721,"get_manifest":768,"get_multiple_definitions_from_app":783,"on.mouse_press":722,"fw_parent":814,"tick_spec":660,"fw_app":"driver","animate_next_frame":811,"Definitions":503,"y_of_schema1":364,"new_definition":767,"manifest_navigator_up":628,"on.keychord_press":785,"manifest_navigator_down":635,"on_handle":547,"survey_animation":815,"delete_definition":673,"on.save_settings":742,"move_candidate_to_front_of_manifest":632,"add_thick_line":400,"keychord_press_on_manifest_navigator":765,"copy_shape":396,"text_input_on_manifest_navigator":634,"animate_next":809,"wait_for_response":781,"manifest_coord":636,"draw_run_time_error":808,"manifest_index":637,"line_height":365,"manifest_navigator_candidates":638,"on":1,"schema1_of_y":667}
surface_bounds = function(nodes)
local minx,miny,maxx,maxy
for _,node in pairs(nodes) do
if minx == nil or node.x < minx then
minx = node.x
end
if maxx == nil or node.x > minx then
maxx = node.x
end
if miny == nil or node.y < miny then
miny = node.y
end
if maxy == nil or node.y > miny then
maxy = node.y
end
end
return minx,miny,maxx+600,maxy+600
end
{"add_def_to_menu":640,"on.key_release":720,"on.code_submit":787,"surface_bounds":814,"mouse_cursor":558,"box_height":680,"Mouse_cursor":559,"compute_layout":385,"set_mouse_cursor":562,"draw_ticks":663,"on.text_input":521,"order_of_magnitude":573,"approximate":579,"on.initialize":807,"A":713,"load_definition":716,"scale":712,"B":379,"approximate_up":658,"vy":546,"Ticks_font":669,"on.load_settings":782,"table_and_array_both_empty":689,"draw_cursor":639,"sy":469,"get_definition_from_app":784,"vx":545,"load_from_iterator":670,"sx":544,"initialize_editor":678,"reset_manifest_navigator":772,"Menu_command_color":613,"draw_manifest_navigator":677,"num_lines_for_manifest_navigator":676,"Cursor_node":172,"on_text":539,"Manifest_navigator":495,"Page":475,"Menu_background_color":611,"Manifest":769,"Menu_border_color":612,"add_hotkey_to_menu":616,"update_editor_box":711,"Animating":813,"Menu_highlight_color":614,"on.code_change":799,"Surface":422,"draw_menu_bar":641,"font":353,"on.draw":797,"maybe_update_key_in_definitions":529,"initialize_manifest_navigator":773,"on.update":802,"Viewport":604,"load_manifest":694,"on.mouse_release":721,"get_manifest":768,"get_multiple_definitions_from_app":783,"on.mouse_press":722,"fw_parent":813,"tick_spec":660,"fw_app":"driver","animate_next_frame":811,"Definitions":503,"y_of_schema1":364,"new_definition":767,"manifest_navigator_up":628,"on.keychord_press":785,"manifest_navigator_down":635,"on_handle":547,"survey_animation":812,"delete_definition":673,"on.save_settings":742,"move_candidate_to_front_of_manifest":632,"add_thick_line":400,"keychord_press_on_manifest_navigator":765,"copy_shape":396,"text_input_on_manifest_navigator":634,"animate_next":809,"wait_for_response":781,"manifest_coord":636,"draw_run_time_error":808,"manifest_index":637,"line_height":365,"manifest_navigator_candidates":638,"on":1,"schema1_of_y":667}
{"add_def_to_menu":640,"on.key_release":720,"on.code_submit":787,"mouse_cursor":558,"box_height":680,"Mouse_cursor":559,"compute_layout":385,"set_mouse_cursor":562,"draw_ticks":663,"on.text_input":521,"order_of_magnitude":573,"approximate":579,"on.initialize":807,"A":713,"load_definition":716,"scale":712,"B":379,"approximate_up":658,"vy":546,"Ticks_font":669,"on.load_settings":782,"table_and_array_both_empty":689,"draw_cursor":639,"sy":469,"get_definition_from_app":784,"vx":545,"load_from_iterator":670,"sx":544,"initialize_editor":678,"reset_manifest_navigator":772,"Menu_command_color":613,"draw_manifest_navigator":677,"num_lines_for_manifest_navigator":676,"Cursor_node":172,"on_text":539,"Manifest_navigator":495,"Page":475,"Menu_background_color":611,"Manifest":769,"Menu_border_color":612,"add_hotkey_to_menu":616,"update_editor_box":711,"Animating":813,"Menu_highlight_color":614,"on.code_change":799,"Surface":422,"draw_menu_bar":641,"font":353,"on.draw":797,"maybe_update_key_in_definitions":529,"initialize_manifest_navigator":773,"on.update":802,"Viewport":604,"load_manifest":694,"on.mouse_release":721,"get_manifest":768,"get_multiple_definitions_from_app":783,"on.mouse_press":722,"fw_parent":812,"tick_spec":660,"fw_app":"driver","animate_next_frame":811,"Definitions":503,"y_of_schema1":364,"new_definition":767,"manifest_navigator_up":628,"on.keychord_press":785,"manifest_navigator_down":635,"on_handle":547,"survey_animation":812,"delete_definition":673,"on.save_settings":742,"move_candidate_to_front_of_manifest":632,"add_thick_line":400,"keychord_press_on_manifest_navigator":765,"copy_shape":396,"text_input_on_manifest_navigator":634,"animate_next":809,"wait_for_response":781,"manifest_coord":636,"draw_run_time_error":808,"manifest_index":637,"line_height":365,"manifest_navigator_candidates":638,"on":1,"schema1_of_y":667}
Animating = nil -- set this to enable animation
-- When enabled, animation should consist of a series of viewport states that we animate into.
-- Each viewport state will be attained in 10 frames, each of 0.01 ms or 1 Love frame.
-- Each state will specify the final state of various viewport keys. Keys not mentioned will remain unchanged.
survey_animation = function()
Animating = {
{
viewport_key = 'zoom',
final = 0.5,
},
{
viewport_key = 'zoom',
final = Viewport.zoom,
},
}
Viewport.zoom = 1.0
end
{"on.key_release":720,"add_thick_line":400,"manifest_navigator_down":635,"on":1,"delete_definition":673,"scale":712,"move_candidate_to_front_of_manifest":632,"keychord_press_on_manifest_navigator":765,"Mouse_cursor":559,"compute_layout":385,"set_mouse_cursor":562,"Cursor_node":172,"on.code_change":799,"manifest_navigator_candidates":638,"wait_for_response":781,"add_def_to_menu":640,"on.text_input":521,"order_of_magnitude":573,"on.code_submit":787,"approximate":579,"sy":469,"approximate_up":658,"tick_spec":660,"Ticks_font":669,"on.initialize":807,"Manifest_navigator":495,"animate_next_frame":811,"font":353,"draw_cursor":639,"B":379,"vy":546,"Manifest":769,"line_height":365,"on.save_settings":742,"on.load_settings":782,"Menu_background_color":611,"Menu_border_color":612,"Menu_command_color":613,"table_and_array_both_empty":689,"new_definition":767,"on_handle":547,"manifest_navigator_up":628,"survey_animation":812,"load_definition":716,"Viewport":604,"animate_next":809,"A":713,"draw_run_time_error":808,"copy_shape":396,"y_of_schema1":364,"Surface":422,"draw_ticks":663,"get_multiple_definitions_from_app":783,"on.draw":797,"manifest_coord":636,"maybe_update_key_in_definitions":529,"schema1_of_y":667,"fw_parent":811,"update_editor_box":711,"fw_app":"driver","mouse_cursor":558,"Animating":770,"initialize_manifest_navigator":773,"text_input_on_manifest_navigator":634,"load_manifest":694,"on.mouse_press":722,"draw_manifest_navigator":677,"on.mouse_release":721,"Menu_highlight_color":614,"on.update":802,"draw_menu_bar":641,"on.keychord_press":785,"add_hotkey_to_menu":616,"box_height":680,"manifest_index":637,"Page":475,"on_text":539,"num_lines_for_manifest_navigator":676,"get_manifest":768,"Definitions":503,"reset_manifest_navigator":772,"initialize_editor":678,"sx":544,"load_from_iterator":670,"vx":545,"get_definition_from_app":784}
{"draw_cursor":639,"on_text":539,"animate_next_frame":811,"on.mouse_press":722,"on.load_settings":782,"sx":544,"table_and_array_both_empty":689,"on.key_release":720,"line_height":365,"update_editor_box":711,"Mouse_cursor":559,"vy":546,"set_mouse_cursor":562,"draw_ticks":663,"Menu_background_color":611,"schema1_of_y":667,"Menu_border_color":612,"Menu_command_color":613,"Animating":770,"Menu_highlight_color":614,"order_of_magnitude":573,"draw_menu_bar":641,"on.draw":797,"add_hotkey_to_menu":616,"approximate":579,"draw_manifest_navigator":677,"Cursor_node":172,"sy":469,"reset_manifest_navigator":772,"load_from_iterator":670,"on.mouse_release":721,"on.update":802,"Ticks_font":669,"on.keychord_press":785,"manifest_navigator_up":628,"manifest_navigator_down":635,"Page":475,"delete_definition":673,"scale":712,"move_candidate_to_front_of_manifest":632,"keychord_press_on_manifest_navigator":765,"text_input_on_manifest_navigator":634,"copy_shape":396,"manifest_coord":636,"manifest_index":637,"load_manifest":694,"manifest_navigator_candidates":638,"get_manifest":768,"on.code_submit":787,"add_def_to_menu":640,"Definitions":503,"initialize_manifest_navigator":773,"box_height":680,"Manifest_navigator":495,"mouse_cursor":558,"vx":545,"on":1,"on.code_change":799,"num_lines_for_manifest_navigator":676,"new_definition":767,"wait_for_response":781,"on.save_settings":742,"approximate_up":658,"compute_layout":385,"tick_spec":660,"maybe_update_key_in_definitions":529,"fw_parent":810,"get_multiple_definitions_from_app":783,"fw_app":"driver","add_thick_line":400,"on.text_input":521,"animate_next":809,"y_of_schema1":364,"get_definition_from_app":784,"on.initialize":807,"draw_run_time_error":808,"A":713,"Surface":422,"Viewport":604,"load_definition":716,"B":379,"survey_animation":806,"initialize_editor":678,"on_handle":547,"font":353,"Manifest":769}
animate_next_frame = function(state, dt)
if state.initial == nil then
state.initial = Viewport[state.viewport_key]
state.step = 0
state.frame_time = 0
return
end
state.frame_time = state.frame_time + dt
if state.frame_time > 0.01 then
state.frame_time = state.frame_time - 0.01
state.step = state.step+1
Viewport[state.viewport_key] = (state.initial * (10 - state.step) + state.final * state.step) / 10
B()
end
end
{"draw_cursor":639,"on_text":539,"animate_next_frame":810,"on.mouse_press":722,"on.load_settings":782,"sx":544,"table_and_array_both_empty":689,"on.key_release":720,"line_height":365,"update_editor_box":711,"Mouse_cursor":559,"vy":546,"set_mouse_cursor":562,"draw_ticks":663,"Menu_background_color":611,"schema1_of_y":667,"Menu_border_color":612,"Menu_command_color":613,"Animating":770,"Menu_highlight_color":614,"order_of_magnitude":573,"draw_menu_bar":641,"on.draw":797,"add_hotkey_to_menu":616,"approximate":579,"draw_manifest_navigator":677,"Cursor_node":172,"sy":469,"reset_manifest_navigator":772,"load_from_iterator":670,"on.mouse_release":721,"on.update":802,"Ticks_font":669,"on.keychord_press":785,"manifest_navigator_up":628,"manifest_navigator_down":635,"Page":475,"delete_definition":673,"scale":712,"move_candidate_to_front_of_manifest":632,"keychord_press_on_manifest_navigator":765,"text_input_on_manifest_navigator":634,"copy_shape":396,"manifest_coord":636,"manifest_index":637,"load_manifest":694,"manifest_navigator_candidates":638,"get_manifest":768,"on.code_submit":787,"add_def_to_menu":640,"Definitions":503,"initialize_manifest_navigator":773,"box_height":680,"Manifest_navigator":495,"mouse_cursor":558,"vx":545,"on":1,"on.code_change":799,"num_lines_for_manifest_navigator":676,"new_definition":767,"wait_for_response":781,"on.save_settings":742,"approximate_up":658,"compute_layout":385,"tick_spec":660,"maybe_update_key_in_definitions":529,"fw_parent":809,"get_multiple_definitions_from_app":783,"fw_app":"driver","add_thick_line":400,"on.text_input":521,"animate_next":809,"y_of_schema1":364,"get_definition_from_app":784,"on.initialize":807,"draw_run_time_error":808,"A":713,"Surface":422,"Viewport":604,"load_definition":716,"B":379,"survey_animation":806,"initialize_editor":678,"on_handle":547,"font":353,"Manifest":769}
animate_next_frame = function(state, dt)
if state.start == nil then
state.initial = Viewport[state.viewport_key]
state.step = 0
state.frame_time = 0
return
end
state.frame_time = state.frame_time + dt
if state.frame_time > 0.01 then
state.frame_time = state.frame_time - 0.01
state.step = state.step+1
Viewport[state.viewport_key] = (state.initial * (10 - state.step) + state.final * state.step) / 10
B()
end
end
{"draw_cursor":639,"on_text":539,"animate_next_frame":805,"on.mouse_press":722,"on.load_settings":782,"sx":544,"table_and_array_both_empty":689,"on.key_release":720,"line_height":365,"update_editor_box":711,"Mouse_cursor":559,"vy":546,"set_mouse_cursor":562,"draw_ticks":663,"Menu_background_color":611,"schema1_of_y":667,"Menu_border_color":612,"Menu_command_color":613,"Animating":770,"Menu_highlight_color":614,"order_of_magnitude":573,"draw_menu_bar":641,"on.draw":797,"add_hotkey_to_menu":616,"approximate":579,"draw_manifest_navigator":677,"Cursor_node":172,"sy":469,"reset_manifest_navigator":772,"load_from_iterator":670,"on.mouse_release":721,"on.update":802,"Ticks_font":669,"on.keychord_press":785,"manifest_navigator_up":628,"manifest_navigator_down":635,"Page":475,"delete_definition":673,"scale":712,"move_candidate_to_front_of_manifest":632,"keychord_press_on_manifest_navigator":765,"text_input_on_manifest_navigator":634,"copy_shape":396,"manifest_coord":636,"manifest_index":637,"load_manifest":694,"manifest_navigator_candidates":638,"get_manifest":768,"on.code_submit":787,"add_def_to_menu":640,"Definitions":503,"initialize_manifest_navigator":773,"box_height":680,"Manifest_navigator":495,"mouse_cursor":558,"vx":545,"on":1,"on.code_change":799,"num_lines_for_manifest_navigator":676,"new_definition":767,"wait_for_response":781,"on.save_settings":742,"approximate_up":658,"compute_layout":385,"tick_spec":660,"maybe_update_key_in_definitions":529,"fw_parent":808,"get_multiple_definitions_from_app":783,"fw_app":"driver","add_thick_line":400,"on.text_input":521,"animate_next":809,"y_of_schema1":364,"get_definition_from_app":784,"on.initialize":807,"draw_run_time_error":808,"A":713,"Surface":422,"Viewport":604,"load_definition":716,"B":379,"survey_animation":806,"initialize_editor":678,"on_handle":547,"font":353,"Manifest":769}
animate_next = function(dt)
if Animating[1].step and Animating[1].step >= 10 then
table.remove(Animating, 1)
if #Animating == 0 then
Animating = nil
return
end
end
animate_next_frame(Animating[1], dt)
end
{"draw_cursor":639,"on_text":539,"animate_next_frame":805,"on.mouse_press":722,"on.load_settings":782,"sx":544,"table_and_array_both_empty":689,"on.key_release":720,"line_height":365,"update_editor_box":711,"Mouse_cursor":559,"vy":546,"set_mouse_cursor":562,"draw_ticks":663,"Menu_background_color":611,"schema1_of_y":667,"Menu_border_color":612,"Menu_command_color":613,"Animating":770,"Menu_highlight_color":614,"order_of_magnitude":573,"draw_menu_bar":641,"on.draw":797,"add_hotkey_to_menu":616,"approximate":579,"draw_manifest_navigator":677,"Cursor_node":172,"sy":469,"reset_manifest_navigator":772,"load_from_iterator":670,"on.mouse_release":721,"on.update":802,"Ticks_font":669,"on.keychord_press":785,"manifest_navigator_up":628,"manifest_navigator_down":635,"Page":475,"delete_definition":673,"scale":712,"move_candidate_to_front_of_manifest":632,"keychord_press_on_manifest_navigator":765,"text_input_on_manifest_navigator":634,"copy_shape":396,"manifest_coord":636,"manifest_index":637,"load_manifest":694,"manifest_navigator_candidates":638,"get_manifest":768,"on.code_submit":787,"add_def_to_menu":640,"Definitions":503,"initialize_manifest_navigator":773,"box_height":680,"Manifest_navigator":495,"mouse_cursor":558,"vx":545,"on":1,"on.code_change":799,"num_lines_for_manifest_navigator":676,"new_definition":767,"wait_for_response":781,"on.save_settings":742,"approximate_up":658,"compute_layout":385,"tick_spec":660,"maybe_update_key_in_definitions":529,"fw_parent":807,"get_multiple_definitions_from_app":783,"fw_app":"driver","add_thick_line":400,"on.text_input":521,"animate_next":801,"y_of_schema1":364,"get_definition_from_app":784,"on.initialize":807,"draw_run_time_error":808,"A":713,"Surface":422,"Viewport":604,"load_definition":716,"B":379,"survey_animation":806,"initialize_editor":678,"on_handle":547,"font":353,"Manifest":769}
draw_run_time_error = function()
if Run_time_error == nil then return end
local height = math.min(20*HUD_line_height, App.screen.height*0.2)
App.color{r=0.8,g=0,b=0}
love.graphics.rectangle('fill', 0, App.screen.height - height-10, App.screen.width, height+10)
App.color{r=0,g=0,b=0}
love.graphics.print(Run_time_error, 30, App.screen.height - height)
end
on.initialize = function()
if table_and_array_both_empty(Definitions) then
new_definition()
else
survey_animation()
end
A()
end
{"vy":546,"set_mouse_cursor":562,"draw_cursor":639,"draw_run_time_error":798,"on.initialize":807,"A":713,"initialize_editor":678,"Menu_background_color":611,"Menu_border_color":612,"Menu_command_color":613,"Menu_highlight_color":614,"on.text_input":521,"draw_menu_bar":641,"survey_animation":806,"add_hotkey_to_menu":616,"draw_manifest_navigator":677,"num_lines_for_manifest_navigator":676,"reset_manifest_navigator":772,"font":353,"load_from_iterator":670,"get_definition_from_app":784,"manifest_navigator_up":628,"manifest_navigator_down":635,"Animating":770,"delete_definition":673,"Manifest":769,"move_candidate_to_front_of_manifest":632,"keychord_press_on_manifest_navigator":765,"text_input_on_manifest_navigator":634,"Cursor_node":172,"manifest_coord":636,"update_editor_box":711,"manifest_index":637,"Surface":422,"manifest_navigator_candidates":638,"on.draw":797,"add_def_to_menu":640,"Viewport":604,"schema1_of_y":667,"animate_next":801,"animate_next_frame":805,"y_of_schema1":364,"on.mouse_release":721,"maybe_update_key_in_definitions":529,"on.update":802,"on.keychord_press":785,"tick_spec":660,"line_height":365,"sy":469,"Page":475,"Definitions":503,"draw_ticks":663,"fw_parent":806,"scale":712,"on_handle":547,"box_height":680,"copy_shape":396,"on.code_submit":787,"load_definition":716,"on_text":539,"Ticks_font":669,"on.mouse_press":722,"approximate":579,"order_of_magnitude":573,"add_thick_line":400,"initialize_manifest_navigator":773,"sx":544,"on":1,"on.save_settings":742,"on.code_change":799,"on.load_settings":782,"get_multiple_definitions_from_app":783,"compute_layout":385,"get_manifest":768,"on.key_release":720,"wait_for_response":781,"table_and_array_both_empty":689,"approximate_up":658,"fw_app":"driver","new_definition":767,"B":379,"load_manifest":694,"vx":545,"mouse_cursor":558,"Manifest_navigator":495,"Mouse_cursor":559}
survey_animation = function()
Animating = {
{
viewport_key = 'zoom',
final = 0.2,
},
{
viewport_key = 'zoom',
final = Viewport.zoom,
},
}
Viewport.zoom = 1.0
end
{"vy":546,"set_mouse_cursor":562,"draw_cursor":639,"draw_run_time_error":798,"on.initialize":695,"A":713,"initialize_editor":678,"Menu_background_color":611,"Menu_border_color":612,"Menu_command_color":613,"Menu_highlight_color":614,"on.text_input":521,"draw_menu_bar":641,"survey_animation":806,"add_hotkey_to_menu":616,"draw_manifest_navigator":677,"num_lines_for_manifest_navigator":676,"reset_manifest_navigator":772,"font":353,"load_from_iterator":670,"get_definition_from_app":784,"manifest_navigator_up":628,"manifest_navigator_down":635,"Animating":770,"delete_definition":673,"Manifest":769,"move_candidate_to_front_of_manifest":632,"keychord_press_on_manifest_navigator":765,"text_input_on_manifest_navigator":634,"Cursor_node":172,"manifest_coord":636,"update_editor_box":711,"manifest_index":637,"Surface":422,"manifest_navigator_candidates":638,"on.draw":797,"add_def_to_menu":640,"Viewport":604,"schema1_of_y":667,"animate_next":801,"animate_next_frame":805,"y_of_schema1":364,"on.mouse_release":721,"maybe_update_key_in_definitions":529,"on.update":802,"on.keychord_press":785,"tick_spec":660,"line_height":365,"sy":469,"Page":475,"Definitions":503,"draw_ticks":663,"fw_parent":805,"scale":712,"on_handle":547,"box_height":680,"copy_shape":396,"on.code_submit":787,"load_definition":716,"on_text":539,"Ticks_font":669,"on.mouse_press":722,"approximate":579,"order_of_magnitude":573,"add_thick_line":400,"initialize_manifest_navigator":773,"sx":544,"on":1,"on.save_settings":742,"on.code_change":799,"on.load_settings":782,"get_multiple_definitions_from_app":783,"compute_layout":385,"get_manifest":768,"on.key_release":720,"wait_for_response":781,"table_and_array_both_empty":689,"approximate_up":658,"fw_app":"driver","new_definition":767,"B":379,"load_manifest":694,"vx":545,"mouse_cursor":558,"Manifest_navigator":495,"Mouse_cursor":559}
{"vy":546,"set_mouse_cursor":562,"draw_cursor":639,"draw_run_time_error":798,"on.initialize":695,"A":713,"initialize_editor":678,"Menu_background_color":611,"Menu_border_color":612,"Menu_command_color":613,"Menu_highlight_color":614,"on.text_input":521,"draw_menu_bar":641,"survey_animation":800,"add_hotkey_to_menu":616,"draw_manifest_navigator":677,"num_lines_for_manifest_navigator":676,"reset_manifest_navigator":772,"font":353,"load_from_iterator":670,"get_definition_from_app":784,"manifest_navigator_up":628,"manifest_navigator_down":635,"Animating":770,"delete_definition":673,"Manifest":769,"move_candidate_to_front_of_manifest":632,"keychord_press_on_manifest_navigator":765,"text_input_on_manifest_navigator":634,"Cursor_node":172,"manifest_coord":636,"update_editor_box":711,"manifest_index":637,"Surface":422,"manifest_navigator_candidates":638,"on.draw":797,"add_def_to_menu":640,"Viewport":604,"schema1_of_y":667,"animate_next":801,"animate_next_frame":805,"y_of_schema1":364,"on.mouse_release":721,"maybe_update_key_in_definitions":529,"on.update":802,"on.keychord_press":785,"tick_spec":660,"line_height":365,"sy":469,"Page":475,"Definitions":503,"draw_ticks":663,"fw_parent":802,"scale":712,"on_handle":547,"box_height":680,"copy_shape":396,"on.code_submit":787,"load_definition":716,"on_text":539,"Ticks_font":669,"on.mouse_press":722,"approximate":579,"order_of_magnitude":573,"add_thick_line":400,"initialize_manifest_navigator":773,"sx":544,"on":1,"on.save_settings":742,"on.code_change":799,"on.load_settings":782,"get_multiple_definitions_from_app":783,"compute_layout":385,"get_manifest":768,"on.key_release":720,"wait_for_response":781,"table_and_array_both_empty":689,"approximate_up":658,"fw_app":"driver","new_definition":767,"B":379,"load_manifest":694,"vx":545,"mouse_cursor":558,"Manifest_navigator":495,"Mouse_cursor":559}
animate_next_frame = function(state, dt)
if state.start == nil then
state.start = Viewport[state.viewport_key]
state.step = 0
state.frame_time = 0
return
end
state.frame_time = state.frame_time + dt
if state.frame_time > 0.01 then
state.frame_time = state.frame_time - 0.01
state.step = state.step+1
Viewport[state.viewport_key] = (state.initial * (10 - state.step) + state.final * state.step) / 10
B()
end
end
{"vy":546,"set_mouse_cursor":562,"draw_cursor":639,"draw_run_time_error":798,"on.initialize":695,"A":713,"initialize_editor":678,"Menu_background_color":611,"Menu_border_color":612,"Menu_command_color":613,"Menu_highlight_color":614,"on.text_input":521,"draw_menu_bar":641,"survey_animation":800,"add_hotkey_to_menu":616,"draw_manifest_navigator":677,"num_lines_for_manifest_navigator":676,"reset_manifest_navigator":772,"font":353,"load_from_iterator":670,"get_definition_from_app":784,"manifest_navigator_up":628,"manifest_navigator_down":635,"Animating":770,"delete_definition":673,"Manifest":769,"move_candidate_to_front_of_manifest":632,"keychord_press_on_manifest_navigator":765,"text_input_on_manifest_navigator":634,"Cursor_node":172,"manifest_coord":636,"update_editor_box":711,"manifest_index":637,"Surface":422,"manifest_navigator_candidates":638,"on.draw":797,"add_def_to_menu":640,"Viewport":604,"schema1_of_y":667,"animate_next":801,"y_of_schema1":364,"on.mouse_release":721,"maybe_update_key_in_definitions":529,"on.update":802,"on.keychord_press":785,"tick_spec":660,"animate_next_frame(state,":804,"line_height":365,"sy":469,"Page":475,"Definitions":503,"draw_ticks":663,"fw_parent":802,"scale":712,"on_handle":547,"box_height":680,"copy_shape":396,"on.code_submit":787,"load_definition":716,"on_text":539,"Ticks_font":669,"on.mouse_press":722,"approximate":579,"order_of_magnitude":573,"add_thick_line":400,"initialize_manifest_navigator":773,"sx":544,"on":1,"on.save_settings":742,"on.code_change":799,"on.load_settings":782,"get_multiple_definitions_from_app":783,"compute_layout":385,"get_manifest":768,"on.key_release":720,"wait_for_response":781,"table_and_array_both_empty":689,"approximate_up":658,"fw_app":"driver","new_definition":767,"B":379,"load_manifest":694,"vx":545,"mouse_cursor":558,"Manifest_navigator":495,"Mouse_cursor":559}
animate_next_frame(state, dt)
if state.start == nil then
state.start = Viewport[state.viewport_key]
state.step = 0
state.frame_time = 0
return
end
state.frame_time = state.frame_time + dt
if state.frame_time > 0.01 then
state.frame_time = state.frame_time - 0.01
state.step = state.step+1
Viewport[state.viewport_key] = (state.initial * (10 - state.step) + state.final * state.step) / 10
B()
end
end
{"vy":546,"set_mouse_cursor":562,"draw_cursor":639,"draw_run_time_error":798,"on.initialize":695,"A":713,"initialize_editor":678,"Menu_background_color":611,"Menu_border_color":612,"Menu_command_color":613,"Menu_highlight_color":614,"on.text_input":521,"draw_menu_bar":641,"survey_animation":800,"add_hotkey_to_menu":616,"draw_manifest_navigator":677,"num_lines_for_manifest_navigator":676,"reset_manifest_navigator":772,"Manifest_navigator":495,"load_from_iterator":670,"get_definition_from_app":784,"manifest_navigator_up":628,"manifest_navigator_down":635,"Animating":770,"delete_definition":673,"Manifest":769,"move_candidate_to_front_of_manifest":632,"load_manifest":694,"text_input_on_manifest_navigator":634,"Cursor_node":172,"manifest_coord":636,"update_editor_box":711,"manifest_index":637,"B":379,"manifest_navigator_candidates":638,"new_definition":767,"add_def_to_menu":640,"Viewport":604,"schema1_of_y":667,"animate_next":801,"y_of_schema1":364,"on.mouse_release":721,"maybe_update_key_in_definitions":529,"on.update":802,"on.keychord_press":785,"Page":475,"animate_next_frame(state,":803,"Surface":422,"font":353,"initialize_manifest_navigator":773,"line_height":365,"keychord_press_on_manifest_navigator":765,"vx":545,"sx":544,"on_handle":547,"table_and_array_both_empty":689,"on.draw":797,"on.code_submit":787,"load_definition":716,"on_text":539,"tick_spec":660,"on.mouse_press":722,"on.save_settings":742,"order_of_magnitude":573,"add_thick_line":400,"fw_app":"driver","copy_shape":396,"on":1,"approximate":579,"on.code_change":799,"on.load_settings":782,"get_multiple_definitions_from_app":783,"compute_layout":385,"get_manifest":768,"on.key_release":720,"wait_for_response":781,"Ticks_font":669,"approximate_up":658,"box_height":680,"scale":712,"fw_parent":802,"draw_ticks":663,"Definitions":503,"mouse_cursor":558,"sy":469,"Mouse_cursor":559}
animate_next_frame(state, dt)
if state.start == nil then
state.start = Viewport[state.viewport_key]
state.step = 0
state.frame_time = 0
return
end
state.frame_time = state.frame_time + dt
if state.frame_time > 0.01 then
state.frame_time = state.frame_time - 0.01
state.step = state.step+1
Viewport[state.viewport_key] = (state.start * (10 - state.step) + state.end * state.step) / 10
B()
end
on.update = function(dt)
if Animating then
animate_next(dt)
return
end
if Pan then
set_mouse_cursor('hand')
elseif Move or on_handle(App.mouse_x(), App.mouse_y()) then
set_mouse_cursor('crosshair')
else
set_mouse_cursor('arrow')
end
if Pan then
Viewport.x = Pan.x - App.mouse_x()
Viewport.y = Pan.y - App.mouse_y()
B()
return
end
if Move then
Move.node.x = sx(App.mouse_x())-Move.xoff
Move.node.y = sy(App.mouse_y())-Move.yoff
A()
return
end
end
{"vy":546,"set_mouse_cursor":562,"draw_cursor":639,"draw_run_time_error":798,"on.initialize":695,"A":713,"initialize_editor":678,"Menu_background_color":611,"Menu_border_color":612,"Menu_command_color":613,"Menu_highlight_color":614,"on.text_input":521,"draw_menu_bar":641,"survey_animation":800,"add_hotkey_to_menu":616,"draw_manifest_navigator":677,"num_lines_for_manifest_navigator":676,"reset_manifest_navigator":772,"Manifest_navigator":495,"load_from_iterator":670,"get_definition_from_app":784,"manifest_navigator_up":628,"manifest_navigator_down":635,"Animating":770,"delete_definition":673,"Manifest":769,"move_candidate_to_front_of_manifest":632,"load_manifest":694,"text_input_on_manifest_navigator":634,"Cursor_node":172,"manifest_coord":636,"update_editor_box":711,"manifest_index":637,"B":379,"manifest_navigator_candidates":638,"new_definition":767,"add_def_to_menu":640,"Viewport":604,"schema1_of_y":667,"animate_next":801,"y_of_schema1":364,"on.mouse_release":721,"maybe_update_key_in_definitions":529,"on.update":802,"on.keychord_press":785,"Page":475,"Surface":422,"font":353,"initialize_manifest_navigator":773,"line_height":365,"keychord_press_on_manifest_navigator":765,"vx":545,"sx":544,"on_handle":547,"table_and_array_both_empty":689,"on.draw":797,"on.code_submit":787,"load_definition":716,"on_text":539,"tick_spec":660,"on.mouse_press":722,"on.save_settings":742,"order_of_magnitude":573,"add_thick_line":400,"fw_app":"driver","copy_shape":396,"on":1,"approximate":579,"on.code_change":799,"on.load_settings":782,"get_multiple_definitions_from_app":783,"compute_layout":385,"get_manifest":768,"on.key_release":720,"wait_for_response":781,"Ticks_font":669,"approximate_up":658,"box_height":680,"scale":712,"fw_parent":801,"draw_ticks":663,"Definitions":503,"mouse_cursor":558,"sy":469,"Mouse_cursor":559}
{"vy":546,"set_mouse_cursor":562,"draw_cursor":639,"draw_run_time_error":798,"on.initialize":695,"A":713,"initialize_editor":678,"Menu_background_color":611,"Menu_border_color":612,"Menu_command_color":613,"Menu_highlight_color":614,"on.text_input":521,"draw_menu_bar":641,"survey_animation":800,"add_hotkey_to_menu":616,"draw_manifest_navigator":677,"num_lines_for_manifest_navigator":676,"reset_manifest_navigator":772,"Manifest_navigator":495,"load_from_iterator":670,"get_definition_from_app":784,"manifest_navigator_up":628,"manifest_navigator_down":635,"Animating":770,"delete_definition":673,"Manifest":769,"move_candidate_to_front_of_manifest":632,"load_manifest":694,"text_input_on_manifest_navigator":634,"Cursor_node":172,"manifest_coord":636,"update_editor_box":711,"manifest_index":637,"B":379,"manifest_navigator_candidates":638,"new_definition":767,"add_def_to_menu":640,"Viewport":604,"schema1_of_y":667,"animate_next":801,"y_of_schema1":364,"on.mouse_release":721,"maybe_update_key_in_definitions":529,"on.update":741,"on.keychord_press":785,"Page":475,"Surface":422,"font":353,"initialize_manifest_navigator":773,"line_height":365,"keychord_press_on_manifest_navigator":765,"vx":545,"sx":544,"on_handle":547,"table_and_array_both_empty":689,"on.draw":797,"on.code_submit":787,"load_definition":716,"on_text":539,"tick_spec":660,"on.mouse_press":722,"on.save_settings":742,"order_of_magnitude":573,"add_thick_line":400,"fw_app":"driver","copy_shape":396,"on":1,"approximate":579,"on.code_change":799,"on.load_settings":782,"get_multiple_definitions_from_app":783,"compute_layout":385,"get_manifest":768,"on.key_release":720,"wait_for_response":781,"Ticks_font":669,"approximate_up":658,"box_height":680,"scale":712,"fw_parent":800,"draw_ticks":663,"Definitions":503,"mouse_cursor":558,"sy":469,"Mouse_cursor":559}
animate_next = function(dt)
Animating.frame_time = Animating.frame_time + dt
print(Animating.frame_time)
if Animating.frame_time > 0.01 then
Animating.frame_time = Animating.frame_time - 0.01
Animating.step = Animating.step+1
if Animating.step >= 10 then
Animating = nil
return
end
Viewport[Animating.viewport_key] = Animating.start + Animating.step * Animating.step_increment
B()
end
end
survey_animation = function()
end
{"vy":546,"set_mouse_cursor":562,"draw_cursor":639,"draw_run_time_error":798,"on.initialize":695,"A":713,"initialize_editor":678,"Menu_background_color":611,"Menu_border_color":612,"Menu_command_color":613,"Menu_highlight_color":614,"on.text_input":521,"draw_menu_bar":641,"survey_animation":800,"add_hotkey_to_menu":616,"draw_manifest_navigator":677,"num_lines_for_manifest_navigator":676,"reset_manifest_navigator":772,"Manifest_navigator":495,"load_from_iterator":670,"get_definition_from_app":784,"manifest_navigator_up":628,"manifest_navigator_down":635,"Animating":770,"delete_definition":673,"Manifest":769,"move_candidate_to_front_of_manifest":632,"load_manifest":694,"text_input_on_manifest_navigator":634,"Cursor_node":172,"manifest_coord":636,"update_editor_box":711,"manifest_index":637,"B":379,"manifest_navigator_candidates":638,"new_definition":767,"add_def_to_menu":640,"Viewport":604,"schema1_of_y":667,"y_of_schema1":364,"on.mouse_release":721,"maybe_update_key_in_definitions":529,"on.update":741,"on.keychord_press":785,"Page":475,"Surface":422,"font":353,"initialize_manifest_navigator":773,"line_height":365,"keychord_press_on_manifest_navigator":765,"vx":545,"sx":544,"on_handle":547,"table_and_array_both_empty":689,"on.draw":797,"on.code_submit":787,"load_definition":716,"on_text":539,"tick_spec":660,"on.mouse_press":722,"on.save_settings":742,"order_of_magnitude":573,"add_thick_line":400,"fw_app":"driver","copy_shape":396,"on":1,"approximate":579,"on.code_change":799,"on.load_settings":782,"get_multiple_definitions_from_app":783,"compute_layout":385,"get_manifest":768,"on.key_release":720,"wait_for_response":781,"Ticks_font":669,"approximate_up":658,"box_height":680,"scale":712,"fw_parent":799,"draw_ticks":663,"Definitions":503,"mouse_cursor":558,"sy":469,"Mouse_cursor":559}
on.code_change = function()
print('code changed')
A() -- just in case we edited Page
end
{"vy":546,"set_mouse_cursor":562,"draw_cursor":639,"draw_run_time_error":798,"on.initialize":695,"A":713,"initialize_editor":678,"Menu_background_color":611,"Menu_border_color":612,"Menu_command_color":613,"Menu_highlight_color":614,"on.text_input":521,"draw_menu_bar":641,"add_hotkey_to_menu":616,"draw_manifest_navigator":677,"num_lines_for_manifest_navigator":676,"reset_manifest_navigator":772,"Manifest_navigator":495,"load_from_iterator":670,"get_definition_from_app":784,"manifest_navigator_up":628,"manifest_navigator_down":635,"Animating":770,"delete_definition":673,"Manifest":769,"move_candidate_to_front_of_manifest":632,"load_manifest":694,"text_input_on_manifest_navigator":634,"Cursor_node":172,"manifest_coord":636,"update_editor_box":711,"manifest_index":637,"B":379,"manifest_navigator_candidates":638,"new_definition":767,"add_def_to_menu":640,"Viewport":604,"schema1_of_y":667,"y_of_schema1":364,"on.mouse_release":721,"maybe_update_key_in_definitions":529,"on.update":741,"on.keychord_press":785,"Page":475,"Surface":422,"font":353,"initialize_manifest_navigator":773,"line_height":365,"keychord_press_on_manifest_navigator":765,"vx":545,"sx":544,"on_handle":547,"table_and_array_both_empty":689,"on.draw":797,"on.code_submit":787,"load_definition":716,"on_text":539,"tick_spec":660,"on.mouse_press":722,"on.save_settings":742,"order_of_magnitude":573,"add_thick_line":400,"fw_app":"driver","copy_shape":396,"on":1,"approximate":579,"on.code_change":799,"on.load_settings":782,"get_multiple_definitions_from_app":783,"compute_layout":385,"get_manifest":768,"on.key_release":720,"wait_for_response":781,"Ticks_font":669,"approximate_up":658,"box_height":680,"scale":712,"fw_parent":798,"draw_ticks":663,"Definitions":503,"mouse_cursor":558,"sy":469,"Mouse_cursor":559}