wobblyhead hg > minor_monsters
changeset 9:53f015966118
map, path, tower placement adjustments
| author | ark |
|---|---|
| date | 2026-10-19 15:55 +0200 |
| parents | 2c4fed8baed9 |
| children | 22b604680c5a |
| files | art/map0mask.png art/map1mask.png art/map2mask.png art/map3mask.png config/game.toml doc/architecture.md doc/art.md doc/balance.md doc/roadmap.md game/data/config.js game/data/maps.js tools/build.py tools/masks.py |
| diffstat | 13 files changed, 163 insertions(+), 66 deletions(-) [+] |
line wrap: on
line diff
--- a/config/game.toml Mon Oct 19 13:37:52 2026 +0200 +++ b/config/game.toml Mon Oct 19 15:55:37 2026 +0200 @@ -266,24 +266,36 @@ early_bonus = 0.05 # guess (starting coins / 200), coins per second left wave_count = 6 # guess monster_share = [40, 25, 15, 10, 10] # guess, % of regular monster coins, m0-m4 +path_half_width = 19 # measured from the earlier masks, centre line to road edge +spawn_distance = 50 # decided, from where the path leaves the entrance +exit_distance = 40 # decided, from where the path enters the exit [map.1] starting_coins = 20 # notes early_bonus = 0.1 # guess wave_count = 8 # guess monster_share = [30, 25, 20, 15, 10] # guess +path_half_width = 17 # measured from the earlier masks, centre line to road edge +spawn_distance = 50 # decided, from where the path leaves the entrance +exit_distance = 40 # decided, from where the path enters the exit [map.2] starting_coins = 40 # notes early_bonus = 0.2 # guess wave_count = 10 # guess monster_share = [20, 20, 20, 20, 20] # guess +path_half_width = 16 # measured from the earlier masks, centre line to road edge +spawn_distance = 50 # decided, from where the path leaves the entrance +exit_distance = 40 # decided, from where the path enters the exit [map.3] starting_coins = 60 # notes (the sheet says 50) early_bonus = 0.3 # guess wave_count = 12 # guess monster_share = [15, 15, 20, 25, 25] # guess +path_half_width = 22 # measured from the earlier masks, centre line to road edge +spawn_distance = 50 # decided, from where the path leaves the entrance +exit_distance = 40 # decided, from where the path enters the exit # map0: draft, made from the monster shares; coin value grows with the wave number
--- a/doc/architecture.md Mon Oct 19 13:37:52 2026 +0200 +++ b/doc/architecture.md Mon Oct 19 15:55:37 2026 +0200 @@ -110,12 +110,13 @@ so on. see art.md 3. maps: copy the map images, possibly converted to a smaller format 4. masks: for each map - - classify pixels as path, entrance, exit or free, using colour - thresholds (the mask edges are soft) - - compute the distance from every free pixel to the nearest path pixel + - classify pixels as path, entrance, exit or free by their exact colour. + masks must have hard edges: a pixel that is neither fully transparent + nor opaque pure red, blue or green stops the build (art.md) + - extract routes, see below - write a placement grid: cells where a tower footprint fits next to the - path, within the limits in balance.md - - extract routes, see below + road, within the limits in balance.md. the red path in the mask is the + centre line of the road; the road's half width is set per map 5. sounds: embed art/sounds/*.mp3 as base64 in game/data/sounds.js, grouped by event 6. config: read config/game.toml, check it, write game/data/config.js
--- a/doc/art.md Mon Oct 19 13:37:52 2026 +0200 +++ b/doc/art.md Mon Oct 19 15:55:37 2026 +0200 @@ -7,7 +7,7 @@ hpm: hp bar for monsters m0-m4: monster progression map0-map3: map level art. maps are to be scaled approx 400% -map*mask: map level definitions, blue: monster entrance, red: path, green: exit +map*mask: map level definitions, blue: monster entrance, red: path centre line, green: exit p0-p3: projectiles for defense towers t0-t3: defense towers t*p: defense towers upgrade progression @@ -90,8 +90,10 @@ instead of a triangle) - maps: scans with paper edges. map and mask of the same number line up pixel for pixel -- masks: soft (anti-aliased) edges, colours are pure red, blue and green - otherwise. map1 has branches, map2 has two entrances and loops +- masks: hard edges, no anti-aliasing. every pixel is fully transparent or + opaque pure red, blue or green; the build stops on any other pixel. red + marks the centre line the monsters walk, about 11 pixels wide, not the + whole road. map1 has branches, map2 has two entrances and loops - icons, buttons and screens: transparent outside, apart from splash.png, which is opaque with white paper. the separate screen buttons are exact crops of the buttons in their screen drawings
--- a/doc/balance.md Mon Oct 19 13:37:52 2026 +0200 +++ b/doc/balance.md Mon Oct 19 15:55:37 2026 +0200 @@ -27,7 +27,8 @@ | coins | 0.4 | guess, 0.25 makes them about 10 pixels | | hp bars | 0.25 | guess | -measured from the masks (approximate, from red area divided by path width): +measured from the earlier masks, which covered the whole road (approximate, +from red area divided by path width): | map | size | path width | path length, all branches | |------|---------|------------|---------------------------| @@ -169,7 +170,10 @@ | parameter | value | source | |--------------------------------------------|-------|--------| | tower footprint radius | 16 | guess | -| largest gap between footprint and path edge | 14 | guess | +| road half width, centre line to road edge | per map: 19, 17, 16, 22 | measured from the earlier masks | +| largest gap between footprint and road edge | 14 | guess | +| space between footprint and spawn point | per map: 50 | decided | +| space between footprint and exit point | per map: 40 | decided | | smallest distance between tower centres | 32 | derived (two footprints) | | distance from the map edge | 16 | guess | | snap radius, how far a tap may be from a legal position | 48 | guess | @@ -177,6 +181,15 @@ towers may not be placed on the entrance or exit areas. +the spawn point is where the path leaves the blue entrance area. the space +between it and a tower footprint is one to one and a half times the average +tower size (decided). level 1 towers average about 36 pixels across at sprite +scale 0.25, so the space is 36 to 53 pixels. + +the exit point is where the path enters the green exit area. towers keep a +somewhat smaller space from it (decided), so they do not cover the building +drawn at the exit. + economy -------
--- a/doc/roadmap.md Mon Oct 19 13:37:52 2026 +0200 +++ b/doc/roadmap.md Mon Oct 19 15:55:37 2026 +0200 @@ -56,8 +56,8 @@ - runs on python 3.11 or later with pillow; numpy is not used. a full build takes about 5 s, most of it in the mask step - a step is skipped when its outputs are newer than its inputs and the build - scripts. the mask step also reruns when the placement settings in - game.toml change; it keeps its result in temp/build/maps.json for the + scripts. the mask step also reruns when the placement settings or the + per map road and spawn settings in game.toml change; it keeps its result in temp/build/maps.json for the checks and previews - map images are written as jpeg, quality 88. the maps have no transparency - tower strips are split at columns without ink. ink is anything darker @@ -84,28 +84,35 @@ (hpm_slow, hpb_slow, each with its _empty copy) - sprite sizes go into config.js, so the game knows them before the images load -- mask pixels count when at least half opaque, and take the class of their - strongest colour. entrance or exit areas under 50 pixels are ignored -- the placement test draws discs around the path edge instead of keeping a - distance for every pixel. the result is the same. edge_distance applies to - the tower centre +- mask pixels are classified by exact colour. any pixel that is not fully + transparent and not one of the three colours stops the build +- the placement test draws discs instead of keeping a distance for every + pixel. the result is the same. the road is a disc of footprint radius plus + road half width around each centre line pixel; centre line pixels inside + the entrance and exit areas do not count. each spawn point gets a disc of + footprint radius plus spawn_distance, each exit point one of footprint + radius plus exit_distance. edge_distance applies to the tower centre +- the spawn point is the first centre line pixel outside the entrance area, + walking from the route start. the exit point is found the same way from + the route end - the centre line runs through the entrance and exit areas, so routes start - and end inside them. dead ends shorter than 0.8 path widths are dropped. - junctions closer together than 0.75 path widths count as one + and end inside them. dead ends shorter than 0.8 line widths are dropped. + junctions closer together than 0.75 line widths count as one. the line + width is the red area divided by the centre line length, about 11 pixels - map2 has three loops (the round one at the top left, two squares at the bottom). each leaves the path at a junction and comes back to the same junction, so the rule "no junction twice" would never walk them. a route may walk such a loop once. of its two directions, the one that turns less - is kept. map2 gives 8 routes, all kept; map1 gives 3 + is kept. map2 gives 6 routes, all kept; map1 gives 3 - route smoothing: moving average over 17 points, applied twice, then simplified to 0.8 pixel tolerance - straightness for the route value is the least turning of the map's routes divided by the route's turning. turning is the total, not per length - routes.toml names routes by their number in the build output. the numbers change when a mask changes -- measured path widths are lower than in balance.md (map1 38, map2 38, map3 - 46) because the centre line length includes the entrance and exit areas. - map0's route is 2020 long +- the road half widths are the median distance from the centre line to the + edge of the earlier masks, which covered the whole road. map0's route is + 2068 long - the coin check compares all coins dropped, boss included, with 10 x starting coins - the build prints the early start bonus for skipping every break, including
--- a/game/data/config.js Mon Oct 19 13:37:52 2026 +0200 +++ b/game/data/config.js Mon Oct 19 15:55:37 2026 +0200 @@ -447,6 +447,9 @@ 10, 10 ], + "path_half_width": 19, + "spawn_distance": 50, + "exit_distance": 40, "waves": [ { "groups": [ @@ -611,6 +614,9 @@ 15, 10 ], + "path_half_width": 17, + "spawn_distance": 50, + "exit_distance": 40, "waves": [ { "groups": [ @@ -847,6 +853,9 @@ 20, 20 ], + "path_half_width": 16, + "spawn_distance": 50, + "exit_distance": 40, "waves": [ { "groups": [ @@ -1173,6 +1182,9 @@ 25, 25 ], + "path_half_width": 22, + "spawn_distance": 50, + "exit_distance": 40, "waves": [ { "groups": [
--- a/game/data/maps.js Mon Oct 19 13:37:52 2026 +0200 +++ b/game/data/maps.js Mon Oct 19 15:55:37 2026 +0200 @@ -1,8 +1,8 @@ // generated by tools/build.py from art/map*mask.png and config/routes.toml, do not edit window.MM = window.MM || {}; MM.maps = [ -{"name":"map0","image":"assets/map0.jpg","width":705,"height":697,"cell":4,"cols":176,"rows":174,"grid":"000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000100000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011000000000000000000000011000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000110000000000000000000000110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011100000000000000000000001110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000111000000000000000000000011100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011110000000000000000000000111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000111100000000000000000000001111000000000011111111111111100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001111000000000000000000000011111111111111111111111111111111111111111100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011100000000000000000000000111111111111111111111111111111111111111111111110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000111000000000000000000000001111111111111111111111111111111111111111111111111111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001110000000000000000000000000000000000000000000000000000000000000011111111111111111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011100000000000000000000000000000000000000000000000000000000000000000011111111111111100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000111000000000000000000000000000000000000000000000000000000000000000000000001111111111111110000000000000000000000000000000000000000000000000000000000000000000000000000000000000001110000000000000000000000000000000000000000000000000000000000000000000000000000011111111111100000000000000000000000000000000000000000000000000000000000000000000000000000000000011100000000000000000000000000000000000000000000000000000000000000000000000000000001111111111100000000000000000000000000000000000000000000000000000000000000000000000000000000000111100000000000000000000000000000000000000000000000000000000000000000000000000000000111111111100000000000000000000000000000000000000000000000000000000000000000000000000000000001111000000000000000000000000000000000000000000000000000000000000000000000000000000000000001111100000000000000000000000000000000000000000000000000000000000000000000000000000000011110000000000000000000000000000000000000000000000000000000000000000000000000000000000000001111100000000000000000000000000000000000000000000000000000000000000000000000000000000111100000000000000000000000000000000000000000000000000000000000000000000000000000000000000001111110000000000000000000000000000000000000000000000000000000000000000000000000000001111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001111110000000000000000000000000000000000000000000000000000000000000000000000000000011110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001111110000000000000000000000000000000000000000000000000000000000000000000000000000111100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000111111000000000000000000000000000000000000000000000000000000000000000000000000001111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000111111100000000000000000000000000000000000000000000000000000000000000000000000011110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011111100000000000000000000000000000000000000000000000000000000000000000000000011100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011111100000000000000000000000000000000000000000000000000000000000000000000000111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001111100000000000000000000000000000000000000000000000000000000000000000000001111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001111100000000000000000000000000000000000000000000000000000000000000000000011110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001111000000000000000000000000000000000000000000000000000000000000000000000011110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001111000000000000000000000000000000000000000000000000000000000000000000000111110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011111000000000000000000000000000000000000000000000000000000000000000000000111110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011110000000000000000000000000000000000000000000000000000000000000000000000111110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011110000000000000000000000000000000000000000000000000000000000000000000000111111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000111100000000000000000000000000000000000000000000000000000000000000000000000111111110000000000011111111111000000000000000000000000000000000000000000000000000000000000000000000000111100000000000000000000000000000000000000000000000000000000000000000000000111111111100001111111111111111111111111111111110000000000000000000000000000000000000000000000000000001111000000000000000000000000000000000000000000000000000000000000000000000000011111111111111111111111111111111111111111111111111111100000000000000000000000000000000000000000000001110000000000000000000000000000000000000000000000000000000000000000000000000001111111111111111111111111111111111111111111111111111111000000000000000000000000000000000000000000011110000000000000000000000000000000000000000000000000000000000000000000000000000011111111110000000000000000000000011111111111111111111111100000000000000000000000000000000000000111100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011111111111111110000000000000000000000000000000000111000000000000000000000000000000000000000000000000000000000000000000000000000000001111111111111111111111111111111111111111111111111111111111111100000000000000000000000000000001110000000000000000000000000000000000000000000000000000000000000000000000001111111111111111111111111111111111111111111111111111111111111111111111111110000000000000000000000000011100000000000000000000000000000000000000000000000000000000000000000000011111111111111111111111111111111111111111111111111111111111111111111111111100000000000000000000000000000111000000000000000000000000000000000000000000000000000000000000000000001111111111111111111000000000000000011111111111111111000000001111111000000000000000000000000000000000000001110000000000000000000000000000000000000000000000000000000000000000001111111110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011100000000000000000000000000000000000000000000000000000000000000000111111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000111000000000000000000000000000000000000000000000000000000000000000011111100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001110000000000000000000000000000000000000000000000000000000000000001111100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011100000000000000000000000000000000000000000000000000000000000000111110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000111000000000000000000000000000000000000000000000000000000000000011110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011110000000000000000000000000000000000000000000000000000000000001111100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000111100000000000000000000000000000000000000000000000000000000000011110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001110000000000000000000000000000000000000000000000000000000000001111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000111100000000000000000000000000000000000000000000000000000000000011110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001111000000000000000000000000000000000000000000000000000000000001111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000111100000000000000000000000000000000000000000000000000000000000011110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011110000000000000000000000000000000000000000000000000000000000000111100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001111100000000000000000000000000000000000000000000000000000000000001110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011110000000000000000000000000000000000000000000000000000000000000011100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011111000000000000000000000000000000000000000000000000000000000000000111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011111100000000000000000000000000000000000000000000000000000000000000001110000000000000000000000000000000000011000000000000000000000000000000000000000000000000000000000000001111111110000000000000000000000000000000000000000000000000000000000000000011100000000000000000000111111111111111111111111111110101010101011111110000000000111111111111111111111111111111000000000000000000000000000000000000000000000000000000000000000000111100000000000000000000000000000000000000000000000000000000000000000000000001111111111111111111111111111111000000000000000000000000000000000000000000000000000000000000000000001111000000000000000000000000000000000000000000000000000000000000000000000000000000011111111111111111111110000000000000000000000000000000000000000000000000000000000000000000000011110000000000000000000000000000000000000000000000000000000000000000000000000000000000011111111100000000000000000000000000000000000000000000000000000000000000000000000000000000011100000000000000000000000000000000000000000000000000000000000000000000000000000000000000011111110000000000000000000000000000000000000000000000000000000000000000000000000000000111100000000000000000000000000000000000000000000000000000000000000000000000000000000000000001111110000000000000000000000000000000000000000000000000000000000000000000000000000001111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001111110000000000000000000000000000000000000000000000000000000000000000000000000000001110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000111110000000000000000000000000000000000000000000000000000000000000000000000000000011110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000111100000000000000000000000000000000000000000000000000000000000000000000000000000011110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000111100000000000000000000000000000000000000000000000000000000000000000000000000000111100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000111100000000000000000000000000000000000000000000000000000000000000000000000000000111100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001111100000000000000000000000000000000000000000000000000000000000000000000000000001111100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001111000000000000000000000000000000000000000000000000000000000000000000000000000001111100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001111000000000000000000000000000000000000000000000000000000000000000000000000000001111100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011110000000000000000000000000000000000000000000000000000000000000000000000000000001111100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011110000000000000000000000000000000000000000000000000000000000000000000000000000001111100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000111100000000000000000000000000000000000000000000000000000000000000000000000000000001111110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000111000000000000000000000000000000000000000000000000000000000000000000000000000000001111111111110000000000000000000000000000000000000001111000000000000000000000000000000000000001111000000000000000000000000000000000000000000000000000000000000000000000000000000001111111111111111111111111111111111111111111111111111111110000000000000000000000000000000000011110000000000000000000000000000000000000000000000000000000000000000000000000000000000111111111111111111111111111111111111111111111111111111111110000000000000000000000000000000111100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000111111111111111111111111111111111111111111111111111111110000000000000000000000000001111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000111111111111111111111111000000000000000111111111111100000000000000000000000011110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000111111111000000000000000000000000111100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001111110000000000000000000000001111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011111100000000000000000000000011110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011111111000000000000000000000000111100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001111111111110000000000000000000000001111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000111111111111000000000000000000000000000011110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011111111111111111111000000000000000000000000000000111100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000111111111111111111111100000000000000000000000000000000001111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000111111111111111111111111000000000000000000000000000000000000011110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000111111111111111111111111100000000000000000000000000000000000000000000111100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011111111111111111111111100000000000000000000000000000000000000000000000000001110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000111111111111111111111111000000000000000000000000000000000000000000000000000000000111100000000000000000000000000000000000000000000000000000000000000000000000000000000000000011111111111111111111111000000000000000000000000000000000000000000000000000000000000011111000000000000000000000000000000000000000000000000000000000000000000000000000000000001111111111111111100000000000000000000000000000000000000000000000000000000000000000000000111100000000000000000000000000000000000000000000000000000000000000000000000000000000011111111111111100000000000000000000000000000000000000000000000000000000000000000000000000011110000000000000000000000000000000000000000000000000000000000000000000000000000000001111111111000000000000000000000000000000000000000000000000000000000000000000000000000000001111100000000000000000000000000000000000000000000000000000000000000000000000000000001111111110000000000000000000000000000000000000000000000000000000000000000000000000000000000111110000000000000000000000000000000000000000000000000000000000000000000000000000000111111000000000000000000000000000000000000000000000000000000000000000000000000000000000000011111000000000000000000000000000000000000000000000000000000000000000000000000000000011111100000000000000000000000000000000000000000000000000000000000000000000000000000000000001111100000000000000000000000000000000000000000000000000000000000000000000000000000001111100000000000000000000000000000000000000000000000000000000000000000000000000000000000000111110000000000000000000000000000000000000000000000000000000000000000000000000000000111110000000000000000000000000000000000000000000000000000000000000000000000000000000000000111111000000000000000000000000000000000000000000000000000000000000000000000000000000011111000000000000000000000000000000000000000000000000000000000000000000000000000000000000011111100000000000000000000000000000000000000000000000000000000000000000000000000000001111100000000000000000000000000000000000000000000000000000000000000000000000000000000000011111111111111111100000000000000000000000000000000000000000000000000000000000000000000011110000000000000000000000000000000000000000000000000000000000000000000000000000000000011111111111111111111111000000000000000000000000000000000000000000000000000000000000000001111000000000000000000000000000000000000000000000000000000000000000000000000000000011111111111111111111111111111110000000000000000000000000000000000000000000000000000000000000011110000000000000000000000000000000000000000000000000000000000000000000000000000111111111111111100011111111111111111111000000000000000000000000000000000000000000000000000000001111000000000000000000000000000000000000000000000000000000000000000000000001111111111110000000000000000000000011111111111110000000000000000000000000000000000000000000000000000011110000000000000000000000000000000000000000000000000000000000000000000111111100000000000000000000000000000000000111111111110000000000000000000000000000000000000000000000000000111000000000000000000000000000000000000000000000000000000000000111111100000000000000000000000000000000000000000000000111111111000000000000000000000000000000000000000000000000011110000000000000000000000000000000000000000000000000011111111111100000000000000000000000000000000000000000000000000000000111111000000000000000000000000000000000000000000000000111100000000000000000000000000000000000000000111111111111110000000000000000000000000000000000000000000000000000000000000000011111000000000000000000000000000000000000000000000001111000000000000000000000000000000000111111111111110000000000000000000000000000000000000000000000000000000000000000000000000011111000000000000000000000000000000000000000000000011110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011111000000000000000000000000000000000000000000000111100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011111000000000000000000000000000000000000000000001111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011111000000000000000000000000000000000000000000001110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001111000000000000000000000000000000000000000000011110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001111000000000000000000000000000000000000000000111100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011110000000000000000000000000000000000000000000111100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011110000000000000000000000000000000000000000001111100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000111100000000000000000000000000000000000000000001111100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000111000000000000000000000000000000000000000000001111100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001111000000000000000000000000000000000000000000001111110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011110000000000000000000000000000000000000000000001111110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000111100000000000000000000000000000000000000000000001111110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000111000000000000000000000000000000000000000000000000111111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001111000000000000000000000000000000000000000000000000111111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011110000000000000000000000000000000000000000000000000111111100000000000000000000000000000000000000000000000000000000000000000110000000000000000000000000000000000000000000000000011100000000000000000000000000000000000000000000000000011111111000000000000000000000000000000111111111111111111111111111111111111111111111100000000000000000000000000000000000000111100000000000000000000000000000000000000000000000000001111111111100000000000000000011111111111111111111111111111111111111111111111111111111000000000000000000000000000000000001111000000000000000000000000000000000000000000000000000001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111000000000000000000000000000000011110000000000000000000000000000000000000000000000000000000011111111111111111111111111111111111111111111111100000000000000000000000111111111111111111000000000000000000000000000111100000000000000000000000000000000000000000000000000000000000011111111111111111111111111000000000000000000000000000000000000000000000000011111111111110000000000000000000000001111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011111111111100000000000000000000001110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011111111100000000000000000000011100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001111111000000000000000000000111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001111000000000000000000001110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011111000000000000000000011100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011111000000000000000001111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011110000000000000000011110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011100000000000000000111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000110000000000000000001110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001100000000000000000011000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001100000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000","entrances":[[189.1,59.7,23.3]],"exits":[[606.6,646.0,23.1]],"routes":[{"points":[191.0,71.0,189.2,81.3,187.9,119.0,189.5,125.4,192.7,130.9,202.0,138.1,212.6,141.7,223.2,142.9,324.3,143.1,351.6,144.6,405.7,152.4,449.4,163.8,489.6,181.7,498.8,188.0,502.5,193.0,505.7,200.6,510.2,216.7,511.4,225.6,509.3,238.1,504.1,247.6,495.2,253.9,482.6,257.2,411.3,262.0,338.3,262.0,255.5,259.1,205.5,261.3,183.7,264.5,175.8,268.0,169.7,272.5,164.8,279.2,162.3,287.0,161.9,295.4,163.6,305.5,166.5,314.3,171.0,321.4,177.3,327.0,184.8,330.9,197.9,333.7,247.6,336.8,358.3,334.8,385.7,335.4,403.6,338.2,443.7,348.3,455.5,354.5,460.6,360.0,464.0,366.6,470.7,392.7,470.6,400.9,468.9,409.0,463.9,423.2,459.9,430.5,450.2,439.1,433.8,446.1,389.8,457.7,285.2,472.9,234.0,478.1,212.3,481.9,202.6,485.3,197.3,489.2,192.4,495.0,187.6,503.3,185.5,510.0,187.0,521.0,195.2,538.4,200.1,543.6,207.4,547.0,238.8,550.9,333.9,546.6,419.8,538.6,467.8,536.0,506.5,536.7,545.8,546.0,559.3,550.8,578.8,561.5,586.5,567.3,591.9,574.0,600.6,591.3,603.7,600.1,605.3,635.9,607.0,646.0],"length":2018.9,"turning":919.1,"value":1.0,"weight":null}]}, -{"name":"map1","image":"assets/map1.jpg","width":663,"height":590,"cell":4,"cols":165,"rows":147,"grid":"000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000111100000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001111000000000000000000011000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001111000000000000000000011100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011110000000000000000000011110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011110000000000000000000011110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000111100000000000000000000001110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000111100000000000000000000001110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000111100000000000000000000001110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000111100000000000000000000001110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000111100000000000000000000001110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000111100000000000000000000001110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000111111111111111111111111111111111111111100000000000000000000001111111111111111111111111110000000000000000000000000000000000000000000000000000000000000000000000000011111111111111111111111111111111111111111100000000000000000000001111111111111111111111111111111111100000000000000000000000000000000000000000000000000000000000000000111111111111111111111111111111111111111111100000000000000000000001111111111111111111111111111111111111100000000000000000000000000000000000000000000000000000000000001111111111111111111111110000000000000000000000000000000000000000000000000000000000001111111111111111111110000000000000000000000000000000000000000000000000000000000011111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000111111111000000000000000000000000000000000000000000000000000000000011110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001111100000000000000000000000000000000000000000000000000000000111100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000111110000000000000000000000000000000000000000000000000000000111100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011110000000000000000000000000000000000000000000000000000000111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001111000000000000000000000000000000000000000000000000000000111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001111000000000000000000000000000000000000000000000000000001111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000111100000000000000000000000000000000000000000000000000001111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000111100000000000000000000000000000000000000000000000000001111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011100000000000000000000000000000000000000000000000000001110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011100000000000000000000000000000000000000000000000000001110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011100000000000000000000000000000000000000000000000000001110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011100000000000000000000000000000000000000000000000000011110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011100000000000000000000000000000000000000000000000000011110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011100000000000000000000000000000000000000000000000000011110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011100000000000000000000000000000000000000000000000000011110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011100000000000000000000000000000000000000000000000000011110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011100000000000000000000000000000000000000000000000000011110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011100000000000000000000000000000000000000000000000000011110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011100000000000000000000000000000000000000000000000000011110000000000000001111111111111111111111110000000000000000000000000000000000000000000000000000000000000000000011110000000000000000000000000000000000000000000000000011110000000000000001111111111111111111111110000000000000000011111111000000000000000000000000000000000000000000011110000000000000000000000000000000000000000000000000011110000000000000001111111111111111111111110000000000000000011111111111111111111111111111100000000000000000000011110000000000000000000000000000000000000000000000000011110000000000000000111111111111111000001110000000000000000011111111111111111111111111111100000000000000000000011110000000000000000000000000000000000000000000000000011110000000000000000111100000000000000001110000000000000000011111111111111111111111111111100000000000000000000011110000000000000000000000000000000000000000000000000011100000000000000000111100000000000000001110000000000000000011110000000000000000000000111100000000000000000000011110000000000000000000000000000000000000000000000000011100000000000000000111100000000000000011110000000000000000011110000000000000000000000011100000000000000000000011110000000000000000000000000000000000000000000000000011100000000000000000011100000000000000011110000000000000000011110000000000000000000000011100000000000000000000011110000000000000000000000000000000000000000000000000011100000000000000000011100000000000000011110000000000000000011110000000000000000000000011100000000000000000000011110000000000000000000000000000000000000000000000000011100000000000000000011110000000000000011110000000000000000011110000000000000000000000011100000000000000000000011110000000000000000000000000000000000000000000000000011100000000000000000011110000000000000011110000000000000000011110000000000000000000000011100000000000000000000011110000000000000000000000000000000000000000000000000111100000000000000000011110000000000000011110000000000000000011110000000000000000000000011100000000000000000000011110000000000000000000000000000000000000000000000000111100000000000000000011110000000000000011110000000000000000011110000000000000000000000011100000000000000000000011110000000000000000000000000000000000000000000000000111100000000000000000001110000000000000011110000000000000000011100000000000000000000000011100000000000000000000011110000000000000000000000000000000000000000000000000111100000000000000000001110000000000000011110000000000000000011100000000000000000000000011100000000000000000000011110000000000000000000000000000000000000000000000000111100000000000000000001111000000000000011110000000000000000111100000000000000000000000011100000000000000000000011110000000000000000000000000000000000000000000000000111100000000000000000001111000000000000011110000000000000000111100000000000000000000000011100000000000000000000011110000000000000000000000000000000000000000000000000111100000000000000000001111111111111111111100000000000000000111100000000000000000000000011100000000000000000000011110000000000000000000000000000000000000000000000000111100000000000000000001111111111111111111100000000000000000111111111111111111111111111111100000000000000000000011110000000000000000000000000000000000000000000000000111100000000000000000001111111111111111111100000000000000000111111111111111111111111111111100000000000000000000011110000000000000000000000000000000000000000000000000111100000000000000000001111111111111111111100000000000000001111111111111111111111111111111100000000000000000000011110000000000000000000000000000000000000000000000000111100000000000000000000000000000000000000000000000000000000000001111111111111111100000000000000000000000000000011110000000000000000000000000000000000000000000000000111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011110000000000000000000000000000000000000000000000000111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011110000000000000000000000000000000000000000000000000111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011110000000000000000000000000000000000000000000000000111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011110000000000000000000000000000000000000000000000000111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011110000000000000000000000000000000000000000000000000111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011110000000000000000000000000000000000000000000000000111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011110000000000000000000000000000000000000000000000000111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011110000000000000000000000000000000000000000000000000111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011110000000000000000000000000000000000000000000000000111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011110000000000000000000000000000000000000000000000000111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000111100000000000000000000000000000000000000000000000000111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000111100000000000000000000000000000000000000000000000000111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001111000000000000000000000000000000000000000000000000000111100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011111000000000000000000000000000000000000000000000000000111100000000000000000000000000000000000000000000000000000000000000000000011111111111111111110000000000000001111110000000000000000000000000000000000000000000000000000011110000000000000000000000000000000000000000000000000000000000011111111111111111111111111111111111111111111111100000000000000000000000000000000000000000000000000000011111000000000000000000000000111111111111100000000000000001111111111111111111111111111111111111111111111111111000000000000000000000000000000000000000000000000000000001111110000011111111111111111111111111111100000000000000001111111111111111111111111111111111111111111111111100000000000000000000000000000000000000000000000000000000000111111111111111111111111111111111111111100000000000000001111111111000000000000000000000111100000000000000000000000000000000000000000000000000000000000000000000000000011111111111111111111111111111111111111100000000000000001111111111111111111111111111111111111100000000000000000000000000000000000000000000000000000000000000000000000000111111111111111111000000000000000011100000000000000001111111111111111111111111111111111111110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011100000000000000001111111111111111111111111111111111111111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011100000000000000000000011111111111111111111111000000001111100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011100000000000000000000000000000000000000000000000000000111110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000111100000000000000000000000000000000000000000000000000000011110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000111100000000000000000000000000000000000000000000000000000001111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000111100000000000000000000000000000000000000000000000000000001111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000111100000000000000000000000000000000000000000000000000000000111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000111100000000000000000000000000000000000000000000000000000000111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000111100000000000000000000000000000000000000000000000000000000111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000111100000000000000000000000000000000000000000000000000000001111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011100000000000000000000000000000000000000000000000000000001111111111111111111111111110000000000000000000000000000000000000000000000000000000000000000000000000000000011100000000000000000000000000000000000000000000000000000001111111111111111111111111111000000000000000000000000000000000000000000000000000000000000000000000000000000011100000000000000000000000000000000000000000000000000000001111111111111111111111111111100000000000000000000000000000000000000000000000000000000000000000000000000000011110000000000000000000000000000000000000000000000000000000000000000000011111100000111110000000000000000000000000000000000000000000000000000000000000000000000000000011111000000000000000000000000000000000000000000000000000000000000000000000000000000001111000000000000000000000000000000000000000000000000000000000000000000000000000001111000000000000000000000000000000000000000000000000000000000000000000000000000000000111100000000000000000000000000000000000000000000000000000000000000000000000000000111110000000000000000000000000000000000000000000000000000000000000000000000000000000111100000000000000000000000000000000000000000000000000000000000000000000000000000011111100001111111000000000000000000000000000000000000000000000000000000000000000000011100000000000000000000000000000000000000000000000000000000000000000000000000000001111111111111111111111111111111111111100000000000000000000000000000000000000000000011110000000000000000000000000000000000000000000000000000000000000000000000000000000111111111111111111111111111111111111100000000000000000000000000000000000000000000011110000000000000000000000000000000000000000000000000000000000000000000000000000000001111111111111111111111111111111111100000000000000000000000000000000000000000000011110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000111111111100000000000000000000000000000000000000000000011100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000111100000000000000000000000000000000000000000000011100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000111100000000000000000000000000000000000000000000011100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000111100000000000000000000000000000000000000000000111100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011110000000000000000000000000000000000000000000111100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011110000000000000000000000000000000000000000000111100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001111000000000000000000000000000000000000000000111100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000111110000000000000000000000000000000000000000111100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011111111000000001000000000000000000000000000111100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001111111111111111111111111110000000000000000111100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000111111111111111111111111110000000000000000111100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011111111111111111111110000000000000000111100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000111110000000000000000111100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011110000000000000000111100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011110000000000000000111100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011110000000000000000111100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001110000000000000000011000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001110000000000000000011000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000110000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000111000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000","entrances":[[268.6,72.3,20.1]],"exits":[[498.1,540.6,18.9]],"routes":[{"points":[271.0,76.0,268.3,85.9,262.7,121.2,261.9,153.8,260.7,161.0,256.7,165.8,243.9,169.9,239.3,172.8,235.5,177.8,233.4,184.9,233.4,237.5,229.3,286.6,228.9,346.4,226.1,386.2,226.2,399.1,227.8,406.0,232.9,410.9,241.9,412.7,301.0,414.9,375.6,415.7,380.0,417.6,382.5,421.3,383.8,450.6,386.1,455.9,390.5,459.2,404.1,461.7,439.4,461.5,480.6,463.4,490.2,465.5,494.0,469.1,495.8,475.8,495.8,502.2,498.0,543.0],"length":725.8,"turning":530.3,"value":0.839,"weight":null},{"points":[271.0,76.0,268.3,85.9,262.5,122.1,261.5,157.6,259.6,163.1,256.0,166.2,248.2,167.4,230.1,165.2,193.6,164.0,129.4,165.9,99.9,165.2,87.8,167.4,79.1,173.8,76.4,178.5,74.6,185.7,73.0,217.0,77.4,291.1,77.3,311.5,78.9,318.2,82.7,322.1,90.3,323.6,137.5,322.0,213.5,322.0,222.6,323.1,226.8,326.1,228.7,332.4,226.1,397.0,227.7,405.9,232.1,410.5,239.8,412.5,266.3,413.8,375.5,415.6,379.9,417.5,382.5,421.2,383.8,450.4,386.1,455.8,390.4,459.2,406.9,461.8,436.3,461.4,480.4,463.4,490.8,465.8,494.3,469.7,495.7,475.6,495.9,503.0,498.0,543.0],"length":1028.9,"turning":765.8,"value":0.827,"weight":null},{"points":[271.0,76.0,268.3,85.9,262.5,122.1,261.2,159.4,257.4,165.4,248.6,168.0,272.4,166.1,313.3,166.2,399.5,170.4,414.8,172.1,422.3,174.9,427.3,181.5,429.6,195.4,431.0,249.8,430.2,296.5,428.1,305.6,424.4,311.8,418.7,316.2,411.8,318.1,355.9,320.0,298.0,320.1,241.0,322.4,233.8,323.9,230.4,327.6,229.2,333.5,226.0,388.1,226.3,400.0,227.8,406.0,232.9,410.9,241.8,412.7,300.9,414.9,375.6,415.7,380.0,417.6,382.5,421.2,383.8,450.5,386.1,455.9,390.5,459.2,404.0,461.7,439.3,461.5,480.5,463.4,490.1,465.4,494.0,469.1,495.8,475.7,495.9,503.1,498.0,543.0],"length":1070.9,"turning":883.7,"value":0.8,"weight":null}]}, -{"name":"map2","image":"assets/map2.jpg","width":618,"height":537,"cell":4,"cols":154,"rows":134,"grid":"00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001111100000000000000000001111110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001111100000000000000000000011111100000001111111110000000000000000000000000000000000000000000000000000000000000000111111111111111111111111111110000000000001111000000000000000000000000011111000111111111111110000000000000000000000000000000000000000000000000000000000011111111111111111111111111111111111000000001111100000000000000000000000000111100111111111111111111000000000000000000000000000000000000000000000000000011111111111111111111111111111111111111111000000111100000000000000000000000000001111111111100001111111111000000000000000000000000000000000000000000000000011111111110000000000000000000000011111111111000111100000000000000000000000000000011111110000000000111111111000000000000000000000000000000000000000000000011111111000000000000000000000000000000011111110011110000000000000000000000000000001111110000000000000011111110000000000000000000000000000000000000000000011111000000000000000000000000000000000000001111111110000000000000000000000000000000011110000000000000000011111100000000000000000000000000000000000000000010000000000000000000000000000000000000000000011111111000000000000000000000000000000001110000000000000000000011111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000111111000000000000000000000000000000000011000000000000000000000111110000000000000000000000000000000000000000000000000000000000000000000000000000000000000001111100000000000000000000000000000000001000000000000000000000001111100000000000000000000000000000000000000000000000000000000000000000000000000000000000000011110000000000000000000000000000000000100000000000000000000000011111000000000000000000000000000000000000000000000000000000000000000000000000000000000000001111000000000000000000000000000000000000000000000000000000000000111100000000000000000000000000000000000000000000000000000000000000000000000000000000000000111100000000000000000000000000000000000000000000000000000000000001111000000000000000000000000000000000000000000000000000000000000000000000000000000000000001110000000000000000000000000000000000000000000000000000000000000111100000000000000000000000000000000000000000000000000000000000000000000000000000000000000110000000000000000000000000000000000000000000000000000000000000001111000000000000000000000000000000000000000000000000000000000000000000000000000000000000011000000000000000000000000000000000000000000000000000000000000000111100000000000000000000000000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000001110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000111100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000001111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000111100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000011110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011000000000000000000000000000000000000000000001111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001110000000000000000000000000000000000000000000111100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000111000000000000000000000000000000000000000000011110000000000000000000000000000000000000000011111000000000000000000000000000000000000000000000000000000000011100000000000000000000000000000000000000000001111000000000000000000000000000000000000001111111000000000000000000000000000000000000000000000000000000000001110000000000000000000000000000000000000000000111100000000000000000000000000000000000000011111000000000000000000000000000000000000000000000000000000000001111000000000000000000000000000100000000000000011110000000000000000000000000000000000000000111100000000000000000000000000000000000000000000000000000000000111100000000000000000000000000010000000000000001111000000000000000000000000000000000000000111100000000000000000000000000000000000000000000000000000000000011111000000000000000000000000001000000000000000111100000000000000000000000000000000000000011110000000000000000000000000000000000000000000000000000000000001111100000000000000000000000001100000000000000011110000000000000000000000000000000000000011110000000000000000000000000000000000000000000000000000000000000111110000000000000000000000000110000000000000001110000000000000000000000000000000000000001111000000000000000000000000000000000000000000000000000000000000111111100000000000000000000000111000000000000000111000000000000000000000000000000000000000111000000000000000000000000000000000000000000000000000000000000011111110000000000000000000000011100000000000000011100000000000000000000000000000000000000011100000000000000000000000000000000000000000000000000000000000011110111100000000000000000000011110000000000000001110000000000000000000000000000000000000001110000000000000000000000000000000000000000000000000000000000111110011110000000000000000000001111000000000000000111000000000000000000000000000000000000001111000000000000000000000000000000000000000000001111111111111111110000111100000000000000000001111100000000000000011100000000000000000000000000000000000000111100000000000000000000001111110000000000000000111111111111111110000011111000000000000000000111110000000000000011110000000000000000000000000000000000000011110000000000000000000011111110000000000000000011111111111111110000000111110000000000000000111111000000000000001111000000000000000000000000000000000000001111000000000000000000011111111000000000000000011111111111111100000001111111100000000000001111111100000000000000111100000000000000000000000000000000000000111100000000000000000011111111100000000000000001111000011111111111111111111111100000000111111111110000000000000011110000000000000000000000000000000000000011110000000000000000001111111110000000000000000111111111111111111111111111111111111111111111111111000000000000001111000000000000000000000000000000000000001111000000000000000000011111111000000000000000011111111111111111111111111111111000000000000000000100000000000000111100000000000000000000000000000000000000111100000000000000000001111111100000000000000001111111111111111000000000000000000000000000000000000000000000000011110000000000000000000000000000000000000011110000000000000000000001111000000000000000001100000000000000000000000000000000000000000000000000000000000000001110000000000000000000000000000000000000000111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000111000000000000000000000000000000000000000011100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011111000000000000000000000000000000000000001111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001111111000000000000000000000000000000000000111100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011111110000000000000000000000000000000000011110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011111100000000000000000000000000000000000111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011111000000000000000000000000000000000011110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000111110000000000000000000000000000000001111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001111100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011111000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000111110000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001111110000000000000000000000001110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011111111000000000000000001111111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000111111111111111111111111111111100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000111111111111111111111111111110000000000000000111111111111111111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011111111111111111111000000000000000000000000000000000000011000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001111111111111110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000111100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011110000000000000000000000000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001110000000000000000000000000000000000000000000000000000000000000000000000000000000011111111111100000000000000000000000000000000000000000000000000000000000111000000000000000000000000000000000000000000000000000000000000000000000000000000001111111111100000000000000000000000000000000000000000000000000000000000011100000000000000000000000000000000000000000000000000000000000000000000000000000000111111111000000000000000000000000000000000000000000000000000000000000001110000000000000000000000000000000000000000000000000000000000000000000000000000000111100000000000000000000000000000000000000000000000000000000000000000000111000000000000000000000000000000000000000000000000000000000111000000000000000000111110000000000000000000000000000000000000000000000000000000000000000000011100000000000000000000000000000000000000000000000000000000011100000000000000000111110000000000000000000000000000000000000000000000000000000000000000000001110000000000000000000000000000000000000000000000000000000000110000000000000111111110000000000000000000000000000000000000000000000000000000000000000000000111000000000000000000000000000000000000000000000000000000000011000000000000011111110000000000000000000000000000000000000000000000000000000000000000000000011100000000000000000000000000000000000000000000000000000000000000000000000001111110000000000000000000000000000000000000000000000000000000000000000000000001110000000000000000000000000000000000000000000000000000000000000000000000000111100000000000000000000000000000000000000000000000000000000000000000000000000111000000000000000000000000000100000000000000000000000000000000000000000000011110000000000000000000000000000000000000000000000000000000000000000000000000011100000000000000000000000000010000000000000000000000000000000000000000000001111000000000000000000000000000000000000000000000000000000000000000000000000001110000000000000000000000000001000000000000000000000000000000000000000000000111100000000000000000000000000000000000000000000000000000000000000000000000000111000000000000000000000000000100000000000000000000000000000000000000000000011110000000000000000000000000000000000000000000000000000000000000000000000000011100000000000000000000000000010000000000000000000000000000000000000000000001111000000000000000000000000000000000000000000000000001111111111000000000000111110000000000000000000000000000000000000000000000000000000000000000000000000111100000000000000000000000000000000000000000000000111111111111111111111111111111000000000000000000000000000000000000000000000000000000000000000000000000011110000000000000000000000000000000000000000000001111111111111111111111111111111100000000000000000000000000000000000000000000000000000000000000000000000001111000000000000000000000000000000000000000000001111111111111111111111111111111110000000000000000000000000000000000000000000000000000000000000000000000000111100000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000111100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000111000000000000000000000001111100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011111110000000000000000011111100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001111111111111111111111111111100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000111111111111111111111111111100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011111111111111111111111111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000111100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000111100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001111100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000110000000000000000011111111100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000111111111111111111111111111100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000111111111111111111111111111100000000000000000000000000000000000000000000000000000000000000000000000000000011111000000000000000000000000000000000000000000111111111111111111111111110000000000000000000000000000000000000000000000000000000000000000000000000000000000111111111111111111111111110000000000000000001111110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001111111111111111111111111111111111111111111111110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011111111111111111111111111111111111111111111110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001111111111111111111111111111111111111111100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000","entrances":[[94.7,85.3,20.1],[76.8,413.0,18.7]],"exits":[[577.4,264.0,20.7]],"routes":[{"points":[98.0,85.0,177.1,78.1,205.0,78.4,227.8,81.1,238.2,84.4,244.4,90.0,247.2,97.5,251.3,119.7,253.4,124.2,256.3,126.8,266.8,129.0,304.6,128.5,313.0,125.5,318.6,118.6,321.9,108.8,329.6,75.7,333.7,65.3,338.1,58.0,343.4,52.8,349.1,49.9,355.5,48.8,363.9,49.2,380.9,54.2,386.4,57.6,390.9,62.4,396.8,76.0,403.4,110.4,406.9,122.0,409.8,126.5,414.5,130.5,420.2,133.2,426.1,134.2,436.2,131.1,445.5,123.2,450.4,115.2,458.7,94.0,465.9,85.7,471.6,83.0,478.0,82.2,494.2,85.6,501.6,89.3,507.9,95.0,512.1,102.3,514.1,110.5,514.6,124.0,510.5,218.0,512.0,234.2,516.5,248.3,521.5,255.4,528.4,258.8,548.2,261.5,571.7,262.6,577.0,264.0],"length":797.5,"turning":808.5,"value":0.527,"weight":null},{"points":[98.0,85.0,177.1,78.1,205.0,78.4,227.8,81.1,238.2,84.4,244.4,90.0,247.2,97.5,251.3,119.7,253.4,124.2,256.3,126.8,266.8,129.0,304.6,128.5,313.0,125.5,318.6,118.6,321.9,108.8,329.6,75.7,333.7,65.3,338.1,58.0,343.4,52.8,349.1,49.9,355.5,48.8,363.9,49.2,380.9,54.2,386.4,57.6,390.9,62.4,396.8,76.0,403.4,110.4,406.9,122.0,409.8,126.5,414.5,130.5,420.2,133.2,426.1,134.2,436.2,131.1,445.5,123.2,450.4,115.2,459.2,93.2,463.1,88.1,467.4,84.8,474.3,82.4,483.5,82.7,495.9,86.3,504.6,91.6,511.4,100.6,514.4,113.3,510.5,218.9,512.0,234.2,517.1,250.7,517.4,255.3,514.4,258.0,499.5,260.4,494.0,263.5,487.8,282.0,477.1,297.7,475.1,307.9,474.6,350.9,473.4,356.2,470.7,360.6,464.8,364.2,456.5,365.7,429.7,365.9,419.5,364.4,414.9,361.1,412.3,355.8,409.4,328.1,410.0,299.7,412.0,293.0,415.2,289.6,422.7,287.6,469.2,288.0,480.6,286.3,485.3,283.7,488.1,280.4,493.7,263.9,497.4,261.1,502.5,259.8,527.1,259.4,571.7,262.6,577.0,264.0],"length":1176.7,"turning":1362.6,"value":0.542,"weight":null},{"points":[98.0,85.0,171.3,78.4,199.1,78.1,230.6,81.7,239.0,84.8,244.0,89.3,247.9,101.2,250.7,120.0,251.3,132.5,249.4,171.7,241.9,208.1,235.5,218.5,223.7,226.8,211.9,230.2,192.6,231.8,179.1,230.5,164.7,226.3,157.0,221.3,151.7,213.7,146.6,197.6,145.3,179.3,147.7,164.3,154.3,153.0,162.1,145.6,169.2,141.0,189.9,135.0,206.2,133.2,239.0,132.8,261.2,129.1,302.0,128.8,311.7,126.3,316.3,122.3,320.1,114.9,328.0,80.9,333.0,66.8,339.5,56.4,346.7,50.9,356.6,48.7,368.7,50.2,381.1,54.3,389.2,60.4,393.4,66.6,396.7,75.3,403.2,109.6,406.6,121.4,412.5,129.1,422.1,133.7,427.2,134.1,433.1,132.6,444.4,124.4,450.1,115.9,458.8,93.8,466.1,85.6,471.8,82.9,478.2,82.2,494.4,85.7,501.8,89.5,508.0,95.2,512.2,102.5,514.1,110.7,514.6,124.2,510.5,218.2,512.0,234.4,516.6,248.5,521.6,255.5,528.6,258.9,548.4,261.5,571.9,262.6,577.0,264.0],"length":1153.7,"turning":1024.7,"value":0.587,"weight":null},{"points":[98.0,85.0,172.2,78.3,200.0,78.2,217.5,79.4,231.5,81.9,239.7,85.3,244.4,90.0,247.4,98.4,250.7,120.0,250.9,148.4,248.9,175.5,241.6,209.0,234.8,219.2,223.7,226.8,211.9,230.2,191.6,231.8,178.1,230.3,164.7,226.3,157.0,221.3,151.7,213.7,146.6,197.6,145.3,179.3,147.7,164.3,154.3,153.0,162.1,145.6,169.2,141.0,189.9,135.0,206.2,133.2,239.0,132.8,261.2,129.1,302.0,128.8,311.7,126.3,316.3,122.3,320.1,114.9,328.0,80.9,333.0,66.8,339.5,56.4,346.7,50.9,356.6,48.7,368.7,50.2,381.1,54.3,389.2,60.4,393.4,66.6,396.7,75.3,403.2,109.6,406.6,121.4,411.8,128.5,421.2,133.5,427.2,134.1,432.3,133.0,443.7,125.1,450.1,115.9,459.3,93.0,463.2,87.9,468.4,84.2,475.4,82.3,484.6,82.9,496.1,86.4,504.8,91.8,511.4,100.7,514.4,113.5,510.5,218.2,511.9,233.5,517.1,250.9,517.4,255.5,514.3,258.1,500.2,260.2,494.4,263.1,492.0,267.2,488.1,281.4,477.3,297.0,475.1,308.1,474.7,350.1,473.6,355.6,471.1,360.1,465.5,363.9,457.3,365.6,430.4,365.9,420.2,364.6,415.3,361.6,412.5,356.5,409.4,328.9,410.0,299.5,411.7,293.6,415.4,289.5,422.9,287.6,468.5,288.0,480.0,286.6,484.7,284.1,488.2,280.2,493.8,263.7,497.6,261.0,502.8,259.7,527.3,259.4,571.9,262.6,577.0,264.0],"length":1533.1,"turning":1586.2,"value":0.636,"weight":null},{"points":[78.0,414.0,211.7,414.9,225.0,413.3,234.0,409.1,238.8,402.8,241.5,392.0,245.3,324.6,246.9,316.3,249.4,312.1,253.5,309.4,275.2,307.2,279.0,305.6,281.7,302.8,283.8,295.1,286.8,243.4,289.9,237.4,296.5,233.6,323.5,231.3,386.6,229.1,451.0,228.6,459.3,230.4,466.7,234.0,486.7,253.3,495.5,258.4,528.4,259.4,568.2,262.3,577.0,264.0],"length":656.9,"turning":431.1,"value":0.714,"weight":null},{"points":[78.0,414.0,211.7,414.9,225.0,413.3,234.0,409.1,238.8,402.8,241.5,392.0,245.3,324.6,246.9,316.3,249.4,312.1,253.5,309.4,275.2,307.2,279.0,305.6,281.7,302.8,283.8,295.1,286.8,243.4,289.9,237.4,296.5,233.6,323.5,231.3,386.6,229.1,451.0,228.6,460.1,230.7,467.4,234.5,485.9,252.7,492.9,257.5,501.0,259.3,514.3,259.0,500.9,260.1,494.3,263.2,491.9,267.3,488.1,281.5,476.9,298.0,475.1,308.2,474.7,350.3,473.6,355.7,471.0,360.2,466.2,363.6,459.0,365.5,425.4,365.7,419.2,364.3,415.2,361.5,412.7,357.2,411.3,351.0,409.3,325.8,409.4,306.1,411.1,295.0,414.8,289.9,423.0,287.6,468.6,288.0,480.1,286.5,484.8,284.0,488.2,280.1,493.9,263.6,497.0,261.3,502.0,259.9,527.4,259.4,568.2,262.3,577.0,264.0],"length":1027.4,"turning":1148.9,"value":0.523,"weight":null},{"points":[78.0,414.0,209.7,414.9,223.2,413.7,231.8,410.6,238.0,404.4,241.3,392.9,246.3,318.0,248.4,313.3,251.3,310.5,260.7,308.1,328.2,307.2,346.5,308.4,353.0,311.5,355.2,315.7,356.0,323.2,353.9,359.3,349.0,389.4,346.5,396.3,342.8,400.9,337.4,403.6,328.2,405.1,300.0,404.9,290.7,402.5,286.8,396.7,284.0,369.0,285.6,319.9,284.0,293.0,286.1,248.9,288.5,239.2,291.2,236.2,295.7,233.8,327.6,231.2,450.2,228.5,459.4,230.4,466.8,234.1,486.8,253.4,495.6,258.5,528.6,259.5,568.4,262.3,577.0,264.0],"length":973.6,"turning":639.2,"value":0.655,"weight":null},{"points":[78.0,414.0,209.7,414.9,223.2,413.7,231.8,410.6,238.0,404.4,241.3,392.9,246.3,318.0,248.4,313.3,251.3,310.5,260.7,308.1,328.2,307.2,346.5,308.4,353.0,311.5,355.2,315.7,356.0,323.2,353.9,359.3,349.0,389.4,346.5,396.3,342.8,400.9,337.4,403.6,328.2,405.1,300.0,404.9,290.7,402.5,286.8,396.7,284.0,369.0,285.6,319.9,284.0,293.0,286.1,248.9,288.5,239.2,291.2,236.2,295.7,233.8,308.9,232.1,385.7,229.2,451.2,228.6,460.3,230.7,467.5,234.6,486.0,252.8,492.2,257.2,500.2,259.3,514.3,259.0,500.8,260.1,494.2,263.3,491.9,267.4,488.0,281.6,477.2,297.3,475.1,307.4,474.7,350.4,473.5,355.9,470.9,360.3,466.0,363.7,458.9,365.5,425.3,365.6,419.1,364.2,415.1,361.4,412.7,357.1,411.3,350.8,409.3,325.6,409.4,305.9,411.1,294.9,414.9,289.8,423.2,287.6,468.8,288.0,480.2,286.5,484.9,284.0,487.9,280.7,493.9,263.6,502.1,259.8,526.6,259.3,568.3,262.3,577.0,264.0],"length":1344.0,"turning":1355.6,"value":0.597,"weight":null}]}, -{"name":"map3","image":"assets/map3.jpg","width":642,"height":459,"cell":4,"cols":160,"rows":114,"grid":"000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000111111100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011111111111111111111111111110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001111111111111111111111111111111111100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000111111111111111111111111111111111111111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001111111111111111111111111110000000000111110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001111111110000000000000000000000000000000111100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001111110000000000000000000000000000000000001111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001111100000000000000000000000000000000000000111100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001111100000000000000000000000000000000000000001110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001111100000000000000000000000000000000000000000111100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000111100000000000000000000000000000000000000000011110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011100000000000000000000000000000000000000000001111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011110000000000000000000000000000000000000000000011100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001111000000000000000000000000000000000000000000001111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000111100000000000000000000000000000000000000000000111100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011100000000000000000000000000000000000000000000001111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001110000000000000000000000000000000000000000000000111100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000111000000000000000000000000000000000000000000000011110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011100000000000000000000000000000000000000000000001111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001110000000000000000000000000000000000000000000000111100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000111000000000000000000000000000000000000000000000011110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011100000000000000000000000000000000000000000000001110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001110000000000000000000000000000000000000000000001111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000111000000000000000000000000000000000000000000000111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011100000000000000000000000000000000000000000000011100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001110000000000000000000000000000000000000000000001110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000111000000000000000000000000000000000000000000000111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011100000000000000000000000000000000000000000000011100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001110000000000000000000011111100000000000000000001111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000111000000000000000000111111110000000000000000000111100000000000000000000000000000000000000000000000000000000000000000000111111100000000000000000000000000000000011100000000000000000011111111000000000000000000011110000000000000000000000000000000000000000000000000000001111111111111111111111100000000000000000000000000000001110000000000000000001111111100000000000000000001111000000000000000000000000000000000000000011111111111111111111111111111111111111000000000000000000000000000000111000000000000000000111011110000000000000000000111100000000000000000000000000000000011111111111111111111111111111111111111111000000000000000000000000000000000011100000000000000000011101111000000000000000000011110000000000000000000000000000111111111111111111111111111111000000000000000000000000000000000000000000000000001110000000000000000001110111100000000000000000001111000000000000000000000000011111111111111111111100000000000000000000000000000000000000000000000000000000011111111000000000000000000111011110000000000000000000011100000000000000000000000111111111111110000000000000000000000000000000000000000000000000000000000000000111111111100000000000000000011101111000000000000000000001110000000000000000000000111111111000000000000000000000000000000000000000000000000000000000000000000000111111111110000000000000000001110111100000000000000000000111000000000000000000000111111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000111011110000000000000000000011100000000000000000000111110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011101111000000000000000000001110000000000000000000111100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001110111100000000000000000000111000000000000000000111100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000111011110000000000000000000011100000000000000000111110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011101111000000000000000000001111000000000000000011110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001110011100000000000000000000111100000000000000011110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000111101110000000000000000000011110000000000000001111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011110111000000000000000000001111000000000000001111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001111011100000000000000000000111100000000000000111100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000111101110000000000000000000011110000000000000011110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011110111000000000000000000001111000000000000001111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001111011100000000000000000000111100000000000000111100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000111001110000000000000000000011110000000000000011110000000000000000000000000000000000000000000000000000000000110000000000000000000000000000000000000000000000000111100111000000000000000000001111000000000000001111000000000000000000000000000000000000000011111111111111111110000000000000000000000000000000000000000000000000011110011100000000000000000000011100000000000000111100000000000000000000000000000000011111111111111111111111110000000000000000000000000000000000000000000000000111110001110000000000000000000001110000000000000011110000000000000000000001111111111111111111111111111111111110000000000000000000000000000000000000000000000000111110000111000000000000000000000111000000000000001111000000000000000000111111111111111111111111111111111111000000000000000000000000000000000000011111111111111111110000011100000000000000000000011100000000000000111100000000000000000011111111111111111110000000000000000000000000000000000000000000000111111111111111111111111110000001111000000000000000000001110000000000000011110000000000000000001111111100000000000000000000000000000000000000000000000000000000111111111111111111111111110000000111100000000000000000000111000000000000001111000000000000000000111100000000000000000000000000000000000000000000000000000000000000111111111111111111111000000000011110000000000000000000011100000000000000111100000000000000000011110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001111000000000000000000001110000000000000011110000000000000000001111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000111100000000000000000000111000000000000001111000000000000000000111100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011110000000000000000000011100000000000000111100000000000000000011110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001111000000000000000000001110000000000000011110000000000000000001111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000111100000000000000000000111000000000000001110000000000000000000111100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011110000000000000000000011100000000000000111000000000000000000011110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000111000000000000000000001110000000000000011100000000000000000001111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011100000000000000000000111000000000000001110000000000000000000111100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001110000000000000000000011111000000000000111000000000000000000011110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000111000000000000000000001111111111111000011100000000000000000001111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011110000000000000000000111111111111111111110000000000000000000111100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001111000000000000000000001111111111111111111000000000000000000011110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011100000000000000000000000000011111111111100000000000000000001111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001110000000000000000000000000000000000000110000000000000000000111100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000111100000000000000000000000000000000000000000000000000000000011110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011110000000000000000000000000000000000000000000000000000000001111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000111000000000000000000000000000000000000000000000000000000000111100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011100000000000000000000000000000000000000000000000000000000011110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001111000000000000000000000000000000000000000000000000000000001111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000111100000000000000000000000000000000000000000000000000000000111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011110000000000000000000000000000000000000000000000000000000011100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000111000000000000000000000000000000000000000000000000000000001110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011110000000000000000000000000000000000000000000000000000000111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001111000000000000000000000000000000000000000000000000000000011100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000111100000000000000000000000000000000000000000000000000000011110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011110000000000000000000000000000000000000000000000000000001111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000111000000000000000000000000000000000000000000000000000000111100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011110000000000000000000000000000000000000000000000000000011110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001111000000000000000000000000000000000000000000000000000001110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011110000000000000000000000000000000000000000000000000001111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001111000000000000000000000000000000000000000000000000000111100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011110000000000000000000000000000000000000000000000000111100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001111100000000000000000000000000000000000000000000000111110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000","entrances":[[43.6,265.1,19.2]],"exits":[[596.6,240.5,22.6]],"routes":[{"points":[44.0,267.0,46.7,264.9,54.9,263.3,109.2,261.4,115.1,259.8,118.6,256.8,121.0,245.7,119.2,196.5,120.5,169.2,123.3,158.4,129.1,151.6,144.6,145.4,172.8,140.7,202.4,140.1,215.3,142.8,222.7,149.1,225.7,158.6,225.9,215.7,231.4,323.4,235.2,356.9,242.8,387.7,247.1,393.6,254.5,399.3,263.7,403.9,272.6,406.7,311.3,409.8,353.9,410.7,368.3,409.3,377.3,407.0,383.1,403.2,386.4,397.2,390.7,358.0,392.7,283.8,396.0,269.3,401.5,261.9,412.5,257.8,446.8,252.5,506.6,246.5,560.8,242.3,586.6,241.7,596.0,240.0],"length":1012.3,"turning":582.9,"value":1.0,"weight":null}]} +{"name":"map0","image":"assets/map0.jpg","width":705,"height":697,"cell":4,"cols":176,"rows":174,"grid":"000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011111111111111111110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000111111111111111111111111111111111100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001111111111111111111111111111111111111111110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001111111111111111111111111111111111111111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011111111111111111111111100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000111111111111111111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000111111111111110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011111111111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011111111110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000111111111000000000000000000000000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000011111111100000000000000000000000000000000000000000000000000000000000000000000000000000000000111000000000000000000000000000000000000000000000000000000000000000000000000000000000000111111100000000000000000000000000000000000000000000000000000000000000000000000000000000000111100000000000000000000000000000000000000000000000000000000000000000000000000000000000011111100000000000000000000000000000000000000000000000000000000000000000000000000000000000111100000000000000000000000000000000000000000000000000000000000000000000000000000000000001111100000000000000000000000000000000000000000000000000000000000000000000000000000000001111100000000000000000000000000000000000000000000000000000000000000000000000000000000000001111100000000000000000000000000000000000000000000000000000000000000000000000000000000001111100000000000000000000000000000000000000000000000000000000000000000000000000000000000001111100000000000000000000000000000000000000000000000000000000000000000000000000000000001111110000000000000000000000000000000000000000000000000000000000000000000000000000000000001111100000000000000000000000000000000000000000000000000000000000000000000000000000000001111110000000000000000000000000000000000000000000000000000000000000000000000000000000000001111100000000000000000000000000000000000000000000000000000000000000000000000000000000001111111100000000000000000000000000000000000000000000000000000000000000000000000000000000011111100000000000000000000000000000000000000000000000000000000000000000000000000000000000111111110000000000000000000000000000000000000000000000000000000000000000000000000000000001111100000000000000000000000000000000000000000000000000000000000000000000000000000000000011111111111000000000000000000000000000000000000000000000000000000000000000000000000000001111100000000000000000000000000000000000000000000000000000000000000000000000000000000000001111111111111111111111100000000000000000000000000000000000000000000000000000000000000001111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000111111111111111111111111111111111111111111000000000000000000000000000000000000000000001111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000111111111111111111111111111111111111111111111000000000000000000000000000000000000011110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011111111111111111111111111111111111111111110000000000000000000000000000000011110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001111111111111111111111111110000000000000000000000000000111100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001111111111111111100000000000000000000000000111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001111111111110000000000000000000000001110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001111111111100000000000000000000011110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001111111110000000000000000000111100000000000000000000000000000000000000000000000000000000000000000000000000000000000011111111111111111111111011111111000000000000000000000000000000111111110000000000000000001111000000000000000000000000000000000000000000000000000000000000000000000000000001111111111111111111111111111111111111111111111111111111111110011111111111111100000000000000000011110000000000000000000000000000000000000000000000000000000000000000000000000011111111111111111111111111111111111111111111111111111111111111111111111111111111100000000000000000111100000000000000000000000000000000000000000000000000000000000000000000000111111111111111111111111111111111111111111111111111111111111111111111111111111111100000000000000000001111000000000000000000000000000000000000000000000000000000000000000000000011111111111000000000000000000000000000000000000000000000001111111111111111111100000000000000000000000011110000000000000000000000000000000000000000000000000000000000000000000011111111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000111100000000000000000000000000000000000000000000000000000000000000000001111110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001111000000000000000000000000000000000000000000000000000000000000000000111110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011100000000000000000000000000000000000000000000000000000000000000000011111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000111000000000000000000000000000000000000000000000000000000000000000001111100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011110000000000000000000000000000000000000000000000000000000000000000011110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000111100000000000000000000000000000000000000000000000000000000000000001111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001110000000000000000000000000000000000000000000000000000000000000000011110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000111100000000000000000000000000000000000000000000000000000000000000001111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011111000000000000000000000000000000000000000000000000000000000000000011110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001111100000000000000000000000000000000000000000000000000000000000000000111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000111110000000000000000000000000000000000000000000000000000000000000000001110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011111000000000000000000000000000000000000000000000000000000000000000000111100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001111100000000000000000000000000000000000000000000000000000000000000000001111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000111110000000000000000000000000000000000000000000000000000000000000000000011110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000111111000000000000000000000000000000000000000000000000000000000000000000000111100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001111111100000000000000000000000000000000000000000000000000000000000000000000001111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000111111111110000000000000000000000000000000000000000000000000000000000000000000000011110000000000000000000000011111111111111111111111111111111111111111000000000000000000000111111111111110000000000000000000000000000000000000000000000000000000000000000000000000011100000000000000000000000000011111111111111111111111111111111111111111111111111111111111111111111100000000000000000000000000000000000000000000000000000000000000000000000000000111000000000000000000000000000000000111111111111111111111111111111111111111111111111111111111110000000000000000000000000000000000000000000000000000000000000000000000000000000001111000000000000000000000000000000000000000000000000000000000000000000001111111111111111111000000000000000000000000000000000000000000000000000000000000000000000000000000000000011110000000000000000000000000000000000000000000000000000000000000000000000000000001111111111100000000000000000000000000000000000000000000000000000000000000000000000000000000000011110000000000000000000000000000000000000000000000000000000000000000000000000000000000111111110000000000000000000000000000000000000000000000000000000000000000000000000000000000111100000000000000000000000000000000000000000000000000000000000000000000000000000000000001111110000000000000000000000000000000000000000000000000000000000000000000000000000000000111100000000000000000000000000000000000000000000000000000000000000000000000000000000000000111110000000000000000000000000000000000000000000000000000000000000000000000000000000001111100000000000000000000000000000000000000000000000000000000000000000000000000000000000000111110000000000000000000000000000000000000000000000000000000000000000000000000000000001111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000111110000000000000000000000000000000000000000000000000000000000000000000000000000000001111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000111110000000000000000000000000000000000000000000000000000000000000000000000000000000011111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000111100000000000000000000000000000000000000000000000000000000000000000000000000000000011111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000111100000000000000000000000000000000000000000000000000000000000000000000000000000000011111000000000000000000000000000000000000000000000000000000000000000000000000000000000000001111000000000000000000000000000000000000000000000000000000000000000000000000000000000011111000000000000000000000000000000000000000000000000000000000000000000000000000000000000001111000000000000000000000000000000000000000000000000000000000000000000000000000000000011111100000000000000000000000000000000000000000000000000000000000000000000000000000000000011110000000000000000000000000000000000000000000000000000000000000000000000000000000000011111111000000000000000000000000000000000000000000000000000000000000000000000000000000000011100000000000000000000000000000000000000000000000000000000000000000000000000000000000011111111110000000000000000000000000000000000000000000000000000000000000000000000000000000111100000000000000000000000000000000000000000000000000000000000000000000000000000000000001111111111110000000000000000000000000000000000000000000000000000000000000000000000000001111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011111111111111000000000000000000000000000000000000000000000000000000000000000000000011110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000111111111111111111000000000000000000000000000000000000000000000000000000000000000011100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001111111111111111111111111111111111111111111111111110000000000000000000000000000111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000111111111111111111111111111111111111111111111111111111100000000000000000001110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001111111111111111111111111111111111111111111111111100000000000000000011100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011111111000111100001111111111111111111111000000000000000000111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000111110000000000000000001110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000111111111100000000000000000011100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011111111111111110000000000000000001111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011111111111111111111100000000000000000011110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011111111111111111111111000000000000000000000000111100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011111111111111111111111100000000000000000000000000000001111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001111111111111111111111111100000000000000000000000000000000000011100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000111111111111111111111111111110000000000000000000000000000000000000000001111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000111111111111111111111111111000000000000000000000000000000000000000000000000011110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011111111111111111111100000000000000000000000000000000000000000000000000000000000111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000111111111111111110000000000000000000000000000000000000000000000000000000000000000011110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000111111111111000000000000000000000000000000000000000000000000000000000000000000000000111100000000000000000000000000000000000000000000000000000000000000000000000000000000000000011111111000000000000000000000000000000000000000000000000000000000000000000000000000011110000000000000000000000000000000000000000000000000000000000000000000000000000000000000001111110000000000000000000000000000000000000000000000000000000000000000000000000000001111100000000000000000000000000000000000000000000000000000000000000000000000000000000000000111110000000000000000000000000000000000000000000000000000000000000000000000000000000111110000000000000000000000000000000000000000000000000000000000000000000000000000000000000011111000000000000000000000000000000000000000000000000000000000000000000000000000000001111000000000000000000000000000000000000000000000000000000000000000000000000000000000000011111100000000000000000000000000000000000000000000000000000000000000000000000000000000111100000000000000000000000000000000000000000000000000000000000000000000000000000000000001111110000000000000000000000000000000000000000000000000000000000000000000000000000000011111000000000000000000000000000000000000000000000000000000000000000000000000000000000000111111000000000000000000000000000000000000000000000000000000000000000000000000000000001111100000000000000000000000000000000000000000000000000000000000000000000000000000000000001111000000000000000000000000000000000000000000000000000000000000000000000000000000001111110000000000000000000000000000000000000000000000000000000000000000000000000000000000000111100000000000000000000000000000000000000000000000000000000000000000000000000000011111111000000000000000000000000000000000000000000000000000000000000000000000000000000000000001111000000000000000000000000000000000000000000000000000000000000000000000000001111111111111000000000000000000000000000000000000000000000000000000000000000000000000000000000000111100000000000000000000000000000000000000000000000000000000000000000000001111111111111111111111111111100000000000000000000000000000000000000000000000000000000000000000000000001111000000000000000000000000000000000000000000000000000000000000001111111111111111111111111111111111111111110000000000000000000000000000000000000000000000000000000000000000000111100000000000000000000000000000000000000000000000000000000001111111111111111111111111111111111111111111111111000000000000000000000000000000000000000000000000000000000000000001111000000000000000000000000000000000000000000000000000111111111111111111111110000000000000000000000111111111111110000000000000000000000000000000000000000000000000000000000000011110000000000000000000000000000000000000000000011111111111111111111110000000000000000000000000000000000001111111111000000000000000000000000000000000000000000000000000000000000111100000000000000000000000000000000000111111111111111111111111110000000000000000000000000000000000000000000011111111100000000000000000000000000000000000000000000000000000000001111000000000000000000000000001111111111111111111111111100000000000000000000000000000000000000000000000000000000111111110000000000000000000000000000000000000000000000000000000011110000000000000000000000000000011111111111111100000000000000000000000000000000000000000000000000000000000000000011111110000000000000000000000000000000000000000000000000000000111100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001111111000000000000000000000000000000000000000000000000000001111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000111111000000000000000000000000000000000000000000000000000001110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000111111000000000000000000000000000000000000000000000000000011110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011110000000000000000000000000000000000000000000000000000111100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011110000000000000000000000000000000000000000000000000000111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011110000000000000000000000000000000000000000000000000001111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000111110000000000000000000000000000000000000000000000000001111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000111110000000000000000000000000000000000000000000000000011111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000111100000000000000000000000000000000000000000000000000011111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000111100000000000000000000000000000000000000000000000000011111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001111000000000000000000000000000000000000000000000000000011111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001111000000000000000000000000000000000000000000000000000011111100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011110000000000000000000000000000000000000000000000000000011111110000000000000000000000000000000000000000000000000000000000000000011111111111111111110000000000000000000000000000011110000000000000000000000000000000000000000000000000000001111111100000000000000000000000000000000000000000000000000000111111111111111111111111111111111000000000000000000000000111100000000000000000000000000000000000000000000000000000001111111111000000000000000000000000000000000000000000000011111111111111111111111111111111111111100000000000000000000000111000000000000000000000000000000000000000000000000000000000111111111111100000000000000000000000000000000111111111111111111111111100000000000001111111111110000000000000000000000010000000000000000000000000000000000000000000000000000000000001111111111111111110000000000000011111111111111111111111111110000000000000000000000000111111111000000000000000000000010000000000000000000000000000000000000000000000000000000000000011111111111111111111111111111111111111111111111111000000000000000000000000000000000001111110000000000000000000000100000000000000000000000000000000000000000000000000000000000000000011111111111111111111111111111111111111111000000000000000000000000000000000000000000111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000111111111111111111111111110000000000000000000000000000000000000000000000000000110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000","entrances":[[189.1,57.3,24.3]],"exits":[[604.5,648.1,24.2]],"routes":[{"points":[190.0,58.0,187.1,60.8,185.1,71.4,186.1,91.9,188.1,104.1,190.7,111.0,194.9,117.1,207.8,126.7,221.9,132.0,237.7,134.8,370.7,142.5,412.7,148.2,449.4,156.2,483.0,169.8,494.7,177.5,507.6,191.3,513.2,199.2,516.6,208.0,517.6,219.5,516.5,229.0,513.8,236.9,509.6,243.1,503.1,248.8,486.8,255.9,455.2,262.6,413.6,263.9,315.6,259.2,215.5,259.1,182.3,263.4,173.5,266.4,166.5,270.9,162.0,276.7,159.9,282.9,159.9,291.3,162.1,299.3,167.2,308.5,175.2,318.3,181.8,323.8,190.1,327.9,233.8,338.7,269.8,343.5,290.2,344.8,344.9,344.1,389.4,345.2,442.4,350.6,456.5,355.5,466.1,363.0,472.6,374.3,475.0,388.1,473.3,407.0,468.8,421.1,459.8,434.7,449.0,442.5,434.2,446.5,358.2,459.3,227.4,475.4,200.7,481.3,187.1,487.6,174.2,500.5,171.6,506.3,171.2,511.6,172.3,516.8,175.2,522.5,180.4,527.9,188.3,533.3,210.8,542.8,243.8,548.8,280.7,551.6,333.1,548.5,370.6,544.3,401.3,538.4,458.7,531.3,507.9,532.5,541.4,538.6,562.1,546.7,574.5,553.6,585.4,563.5,594.2,576.2,600.1,591.1,606.9,628.1,607.0,634.2,604.4,648.6,605.0,652.0],"length":2068.3,"turning":985.2,"value":1.0,"weight":null}]}, +{"name":"map1","image":"assets/map1.jpg","width":663,"height":590,"cell":4,"cols":165,"rows":147,"grid":"000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000111100000000000000000000000000000110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011111111111111111111111111111111111100000000000000000000000000000111111111111111111110000000000000000000000000000000000000000000000000000000000000000000000000000001111111111111111111111111111111111111110000000000000000000000000001111111111111111111111111111100000000000000000000000000000000000000000000000000000000000000000000111111111111111111111111111111111111111110000000000000000000000000001111111111111111111111111111111100000000000000000000000000000000000000000000000000000000000000001111111111111100000000000000000000000000000000000000000000000000000000000000000011111111111111111111111000000000000000000000000000000000000000000000000000000000000011111100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011111111100000000000000000000000000000000000000000000000000000000000111110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001111110000000000000000000000000000000000000000000000000000000000111100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011111000000000000000000000000000000000000000000000000000000001111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001111100000000000000000000000000000000000000000000000000000001110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000111100000000000000000000000000000000000000000000000000000011110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011110000000000000000000000000000000000000000000000000000011110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011110000000000000000000000000000000000000000000000000000011100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001110000000000000000000000000000000000000000000000000000011100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001110000000000000000000000000000000000000000000000000000011100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001110000000000000000000000000000000000000000000000000000011100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001111000000000000000000000000000000000000000000000000000011100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001111000000000000000000000000000000000000000000000000000011100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001111000000000000000000000000000000000000000000000000000011100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001111000000000000000000000000000000000000000000000000000011100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001110000000000000000000000000000000000000000000000000000011100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001110000000000000000000000000000000000000000000000000000111100000000000000000111111111111111111111111000000000000000011111111111111111111111100000000000000000000000001110000000000000000000000000000000000000000000000000000111100000000000000000111111111111111111111111000000000000000011111111111111111111111111111111000000000000000001110000000000000000000000000000000000000000000000000000111100000000000000000111111111111111111111111000000000000000011111111111111111111111111111111000000000000000001110000000000000000000000000000000000000000000000000000111100000000000000000111111111100000000001111000000000000000011110000000000000011111111111111000000000000000001110000000000000000000000000000000000000000000000000000111100000000000000000111000000000000000001111000000000000000011110000000000000000000000000111000000000000000001110000000000000000000000000000000000000000000000000000111100000000000000001111000000000000000001111000000000000000011110000000000000000000000000111000000000000000001110000000000000000000000000000000000000000000000000000111100000000000000001111000000000000000001110000000000000000011110000000000000000000000000111000000000000000001110000000000000000000000000000000000000000000000000000111100000000000000000111000000000000000001110000000000000000011110000000000000000000000001111000000000000000001110000000000000000000000000000000000000000000000000000111100000000000000000111000000000000000001110000000000000000011110000000000000000000000001111000000000000000001110000000000000000000000000000000000000000000000000000111100000000000000000111000000000000000001110000000000000000011110000000000000000000000001111000000000000000001110000000000000000000000000000000000000000000000000000111100000000000000000111000000000000000001110000000000000000011110000000000000000000000001111000000000000000001110000000000000000000000000000000000000000000000000000111100000000000000000111000000000000000001110000000000000000011110000000000000000000000001111000000000000000001110000000000000000000000000000000000000000000000000000011100000000000000000111000000000000000001110000000000000000011110000000000000000000000001111000000000000000001110000000000000000000000000000000000000000000000000000011100000000000000000111000000000000000001110000000000000000011110000000000000000000000001111000000000000000001110000000000000000000000000000000000000000000000000000011100000000000000000111100000000000000001110000000000000000011110000000000000000000000001111000000000000000011110000000000000000000000000000000000000000000000000000011100000000000000000111100000000000000001110000000000000000011110000000000000000000000001111000000000000000011110000000000000000000000000000000000000000000000000000011100000000000000000111100000000000000001110000000000000000011110000000000000000000000001111000000000000000011110000000000000000000000000000000000000000000000000000011100000000000000000111100000000000000001110000000000000000011110000000000000000000000001111000000000000000011110000000000000000000000000000000000000000000000000000011100000000000000000111100000000000000001110000000000000000011111111111111111111111111111111000000000000000011110000000000000000000000000000000000000000000000000000011100000000000000000111100001111111111111110000000000000000011111111111111111111111111111110000000000000000011110000000000000000000000000000000000000000000000000000011100000000000000000111111111111111111111110000000000000000011111111111111111111111111111110000000000000000011110000000000000000000000000000000000000000000000000000011100000000000000000111111111111111111111110000000000000000000000000000000001111111111111110000000000000000011110000000000000000000000000000000000000000000000000000011110000000000000000111111111111111111110000000000000000000000000000000000000000000000000000000000000000000011110000000000000000000000000000000000000000000000000000011110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011110000000000000000000000000000000000000000000000000000011110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011100000000000000000000000000000000000000000000000000000011110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011100000000000000000000000000000000000000000000000000000011110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011100000000000000000000000000000000000000000000000000000011110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011100000000000000000000000000000000000000000000000000000011110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011100000000000000000000000000000000000000000000000000000011110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011100000000000000000000000000000000000000000000000000000011110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000111100000000000000000000000000000000000000000000000000000011110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000111100000000000000000000000000000000000000000000000000000011110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000111000000000000000000000000000000000000000000000000000000011110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001111000000000000000000000000000000000000000000000000000000001110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011110000000000000000000000000000000000000000000000000000000001111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000111110000000000000000000000000000000000000000000000000000000001111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001111100000000000000000000000000000000000000000000000000000000000111100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000111111000000000000000000000000000000000000000000000000000000000000111110000000000000000000000000000000000000000000000000000111111111111111111111111111111111111111111111110000000000000000000000000000000000000000000000000000000000000011111100000000000000000000000001111111110000000000000000111111111111111111111111111111111111111111111100000000000000000000000000000000000000000000000000000000000000001111111111111111111111111111111111111100000000000000000111111111111111111111111111111111111111111110000000000000000000000000000000000000000000000000000000000000000000011111111111111111111111111111111111100000000000000000111111111111111111111111111111111111111100000000000000000000000000000000000000000000000000000000000000000000000001111111111111111111111111111111111100000000000000000111111111111111111111111111111111110000000000000000000000000000000000000000000000000000000000000000000000000000000000111111111111111110000000000011100000000000000000111111111111111111111111111111111111100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011100000000000000000111111111111111111111111111111111111110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011100000000000000000000000000000000000000000000000000111111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011100000000000000000000000000000000000000000000000000001111100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011100000000000000000000000000000000000000000000000000000111110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011100000000000000000000000000000000000000000000000000000011110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011100000000000000000000000000000000000000000000000000000001111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011100000000000000000000000000000000000000000000000000000001111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011100000000000000000000000000000000000000000000000000000000111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011100000000000000000000000000000000000000000000000000000000111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011100000000000000000000000000000000000000000000000000000000111111111111111110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011110000000000000000000000000000000000000000000000000000000111111111111111111111110000000000000000000000000000000000000000000000000000000000000000000000000000000000011110000000000000000000000000000000000000000000000000000000111111111111111111111111100000000000000000000000000000000000000000000000000000000000000000000000000000000011110000000000000000000000000000000000000000000000000000000000111111111111111111111110000000000000000000000000000000000000000000000000000000000000000000000000000000001111000000000000000000000000000000000000000000000000000000000000000000000000000111111000000000000000000000000000000000000000000000000000000000000000000000000000000001111000000000000000000000000000000000000000000000000000000000000000000000000000001111100000000000000000000000000000000000000000000000000000000000000000000000000000000111100000000000000000000000000000000000000000000000000000000000000000000000000000111110000000000000000000000000000000000000000000000000000000000000000000000000000000011111000000000000000000000000000000000000000000000000000000000000000000000000000011111000000000000000000000000000000000000000000000000000000000000000000000000000000001111111000000000000000000000000000000000000000000000000000000000000000000000000001111000000000000000000000000000000000000000000000000000000000000000000000000000000000111111111111111111111111111111111111100000000000000000000000000000000000000000000111000000000000000000000000000000000000000000000000000000000000000000000000000000000011111111111111111111111111111111111100000000000000000000000000000000000000000000111100000000000000000000000000000000000000000000000000000000000000000000000000000000000111111111111111111111111111111111100000000000000000000000000000000000000000000111100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011100000000000000000000000000000000000000000000111100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011110000000000000000000000000000000000000000000011100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011110000000000000000000000000000000000000000000011100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001110000000000000000000000000000000000000000000011100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001111000000000000000000000000000000000000000000011100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000111100000000000000000000000000000000000000000001100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000111110000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011111100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001111111111111111111110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000111111111111111111111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001111111111111111111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011111111111111111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000","entrances":[[268.3,70.7,23.6]],"exits":[[498.5,542.3,18.9]],"routes":[{"points":[267.0,73.2,266.6,159.0,264.7,162.1,261.5,164.0,241.8,166.7,238.7,169.9,237.2,175.6,233.9,309.2,230.1,383.9,230.3,399.8,232.0,407.5,235.6,411.3,243.2,412.9,350.1,413.0,378.2,414.6,383.4,416.9,386.3,421.5,387.5,450.9,389.2,455.5,392.6,458.4,398.4,459.5,419.0,459.1,478.0,461.4,490.6,463.6,495.0,468.0,497.0,475.7,497.1,524.9,499.0,546.0],"length":736.6,"turning":529.5,"value":0.851,"weight":null},{"points":[267.0,73.2,266.2,95.7,267.2,154.9,266.0,160.4,262.9,163.4,254.3,165.0,88.6,168.1,81.3,169.1,76.8,172.2,74.2,180.3,72.2,224.4,75.8,286.8,76.1,314.7,77.7,322.2,82.2,325.9,92.3,327.0,129.2,326.8,220.1,321.7,227.5,323.0,230.4,326.2,231.8,332.0,230.1,397.0,231.1,405.3,234.3,410.5,244.2,412.9,350.2,413.0,378.3,414.6,383.5,416.9,386.3,421.6,387.5,451.0,389.2,455.6,392.7,458.4,398.5,459.5,419.1,459.1,478.1,461.4,490.7,463.6,495.1,468.0,497.1,475.8,497.1,525.0,499.0,546.0],"length":1048.1,"turning":739.3,"value":0.858,"weight":null},{"points":[267.0,73.2,266.2,95.7,267.2,150.2,268.6,158.3,272.3,163.0,280.7,164.9,321.6,165.2,408.5,170.4,421.5,172.4,428.0,177.0,430.1,185.1,430.0,222.7,425.7,303.9,424.4,310.2,421.1,315.1,416.7,317.5,409.4,318.9,384.8,320.0,261.3,319.0,244.6,319.9,237.8,321.7,233.9,325.4,232.1,333.2,230.0,389.3,230.4,401.1,232.1,407.7,235.8,411.4,243.5,412.9,350.4,413.0,378.5,414.7,383.6,417.1,386.1,421.0,387.3,428.1,387.6,451.2,389.3,455.8,392.8,458.5,398.8,459.5,418.3,459.1,477.4,461.3,490.9,463.7,495.1,468.2,497.1,476.0,497.1,525.3,499.0,546.0],"length":1041.8,"turning":728.8,"value":0.86,"weight":null}]}, +{"name":"map2","image":"assets/map2.jpg","width":618,"height":537,"cell":4,"cols":154,"rows":134,"grid":"00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000111111111111111111111111110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000111111100000000000000111111100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011111000000000000000000111111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000111110000000000000000000000111110000000000000000000000000000000000000000000000000000000000000000000000000000000000000111111111111111111111111100000000000111110000000000000000000000001111100000000000000000000000000000000000000000000000000000000000000000000000000000000000001111111111111111111111111100000000111110000000000000000000000000011110000000000000000000000000000000000000000000000000000000000000000000000000000000000000011111111111111111111111111100000111110000000000000000000000000000111100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001111111000111110000000000000000000000000000011110000111111111111100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001111110011110000000000000000000000000000000111101111111111111111100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001111011110000000000000000000000000000000011111111111111111111111100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011111111000000000000000000000000000000000111111110000000001111111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001111111000000000000000000000000000000000011111100000000000001111110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011111100000000000000000000000000000000001111000000000000000001111100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000111110000000000000000000000000000000000011000000000000000000011111100000000000000000000000000000000000000000000000000000000000000000000000000000000000000011111000000000000000000000000000000000001000000000000000000000111111000000000000000000000000000000000000000000000000000000000000000000000000000000000000001111100000000000000000000000000000000000000000000000000000000000111100000000000000000000000000000000000000000000000000000000000000000000000000000000000000111110000000000000000000000000000000000000000000000000000000000001111000000000000000000000000000000000000000000000000000000000000000000000000000000000000011110000000000000000011100000000000000000000000000000000000000000011110000000000000000000000000000000000000000000000000000000000000000000000000000000000001111000000000000000001110000000000000000000000000000000000000000001111000000000000000000000000000000000000000000000000000000000000000000000000000000000000111100000000000000000111000000000000000000000000000000000000000000011110000000000000000000000000000000000000000000000000000000000000000000000000000000000011110000000000000000011100000000000000000000000000000000000000000001111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011110000000000000000000000000000000000000000000011100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001111000000000000000000000000000000000000000000001110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000111100000000000000000000000000000000000000000000111100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011110000000000000000000000000000000000000000000011110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001111100000000000000000000000000000000000000000001111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000111110000000000000000000000000000000000000000000011100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011111000000000000000000000000001000000000000000001110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001111110000000000000000000000000100000000000000000111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001111111000000000000000000000000010000000000000000011110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000111111100000000000000000000000011100000000000000001111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011111111000000000000000000000001110000000000000000111100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011110111100000000000000000000001111000000000000000011110000000000000000000000000000000000000111100000000000000000000000000000000000000000000000000000000011111001111000000000000000000001111100000000000000001111000000000000000000000000000000000000011110000000000000000000000000000000000000000000000000000000011111000011110000000000000000001111110000000000000000111000000000000000000000000000000000000001110000000000000000000000000000000000000000000000000000000011111000001111110000000000000000111111000000000000000011100000000000000000000000000000000000000111000000000000000000000000000000000000000000000000000000111111000000011111100000000000000111111000000000000000001110000000000000000000000000000000000000111100000000000000000000000000000000000000000011111111111111111000000000011111100000000001111111100000000000000000111000000000000000000000000000000000000011110000000000000000000011111000000000000000001111111111111111000000000000111111111111111111111110000000000000000011100000000000000000000000000000000000001111000000000000000011111111100000000000000001111111111111110000000000000001111111111111111100111000000000000000001110000000000000000000000000000000000000111100000000000000001111111110000000000000000111111111111000000000000000000001111111111111100011100000000000000000111000000000000000000000000000000000000011110000000000000000111111111000000000000000011110000000000000000000000000000001111111110000001110000000000000000011100000000000000000000000000000000000001111000000000000000011111111100000000000000001111111111111111111111111111111111111111111111111111000000000000000001110000000000000000000000000000000000000111100000000000000000111111110000000000000000111111111111111111111111111111111111111111111111111100000000000000000111000000000000000000000000000000000000011110000000000000000000000000000000000000000011111111111111111111111111111111111111111111111111110000000000000000011100000000000000000000000000000000000000111000000000000000000000000000000000000000001110000000000000000000000000000000000000000000011111000000000000000001110000000000000000000000000000000000000011100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000111000000000000000000000000000000000000001111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000111100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000111100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000111100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000111110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001111100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011111000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000111110000000000000000000000000110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001111110000000000000000000000111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011111111000000000000000001111100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011111111110000000011111111110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011111111111111111111111111000000000000000000111100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011111111111111111111111100000000000000000111111111111111100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001111111111111111111110000000000000000111111111111111100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011111100000000000000000000000000011111111100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011111000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000111100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000111000000000000000000000000000000000000000000000000000000000000000000000000000000000110000000000000000000000000000000000000000000000000000000000000000000011100000000000000000000000000000000000000000000000000000000000000000000000000000001111110000000000000000000000000000000000000000000000000000000000000000001110000000000000000000000000000000000000000000000000000000000000000000000000000111111110000000000000000000000000000000000000000000000000000000000000000000111000000000000000000000000000000000000000000000000000000000000000000000000001111111100000000000000000000000000000000000000000000000000000000000000000000111100000000000000000000000000000000000000000000000000000000000000000000000000111111100000000000000000000000000000000000000000000000000000000000000000000011110000000000000000000000000000000000000000000000000000000000000000000000000011110000000000000000000000000000000000000000000000000000000000000000000000001111000000000000000000000000000000000000000000000000000000000000000000000000001110000000000000000000000000000000000000000000000000000000000000000000000000111100000000000000000000000000000000000000000000000000000000000000000000000000111100000000000000000000000000000000000000000000000000000000000000000000000011110000000000000000000000000000110000000000000000000000000000000000000000000011110000000000000000000000000000000000000000000000000000000000000000000000001110000000000000000000000000000011000000000000000000000000000000000000000000001111000000000000000000000000000000000000000000000000000000000000000000000000111000000000000000000000000000001100000000000000000000000000000000000000000000111100000000000000000000000000000000000000000000000000000000000000000000000011100000000000000000000000000000110000000000000000000000000000000000000000000011110000000000000000000000000000000000000000000000000000000000000000000000001110000000000000000000000000000011000000000000000000000000000000000000000000001111000000000000000000000000000000000000000000000000000000000000000000000000111000000000000000000000000000001100000000000000000000000000000000000000000000111100000000000000000000000000000000000000000000000000000000000000000000000111100000000000000000000000000000110000000000000000000000000000000000000000000011100000000000000000000000000000000000000000000000000000000000000111111111111110000000000000000000000000000011000000000000000000000000000000000000000000001110000000000000000000000000000000000000000000000000000000000000011111111111111000000000000000000000000000000000000000000000000000000000000000000000000001111000000000000000000000000000000000000000000000000000000000000000111111111111100000000000000000000000000000000000000000000000000000000000000000000000000111100000000000000000000000000000000000000000000000000000000000000001111111111100000000000000000000000000000000000000000000000000000000000000000000000000111100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010000000000000000000000111111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001110000000000000000001111111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001111111111111111111111111111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000111111111111111111111111110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011111111111111111111111100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001110000111111111111100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000001111100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011000000000000000000000000001111100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011111000000000000000000000011111100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011111111000000000000111111111111100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011111111111111111111111111111111100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000111111011111111111111111111111111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000111111111111111111111111111000011111111111111111110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000111111111111111111111111111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000111111111111111111111111110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000111111111111111111111111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000","entrances":[[77.4,408.9,21.7],[96.3,85.1,20.9]],"exits":[[574.6,263.4,20.2]],"routes":[{"points":[78.0,406.0,78.4,409.1,83.6,412.0,110.0,414.8,209.5,416.0,222.2,414.1,226.1,410.3,228.1,403.6,238.5,314.0,240.9,309.6,244.0,307.1,255.8,305.0,297.3,305.0,333.7,306.4,350.0,307.9,356.5,311.0,358.4,314.2,359.2,319.2,356.9,365.1,353.5,392.6,351.6,397.4,348.9,400.5,343.4,403.1,335.9,404.4,297.9,406.4,290.5,404.8,286.4,399.3,284.0,365.6,285.0,321.0,284.2,290.2,286.3,247.1,288.7,236.6,291.2,233.5,295.7,231.2,332.7,229.1,361.3,230.0,426.8,229.2,461.7,231.3,467.2,234.4,470.2,241.2,470.0,272.3,471.0,279.5,474.0,283.8,480.3,285.7,496.0,285.7,503.9,283.0,507.0,278.4,513.0,260.3,516.2,256.4,520.6,254.3,528.7,254.1,561.4,259.5,573.0,263.0],"length":1045.1,"turning":960.7,"value":0.791,"weight":null},{"points":[78.0,406.0,78.4,409.1,83.6,412.0,110.0,414.8,209.5,416.0,222.2,414.1,226.1,410.3,228.1,403.6,238.5,314.0,240.9,309.6,244.0,307.1,255.8,305.0,297.3,305.0,333.7,306.4,350.0,307.9,356.5,311.0,358.4,314.2,359.2,319.2,356.9,365.1,353.5,392.6,351.6,397.4,348.9,400.5,343.4,403.1,335.9,404.4,297.9,406.4,290.5,404.8,286.4,399.3,284.0,365.6,285.0,321.0,284.2,290.2,286.3,247.1,288.7,236.6,291.2,233.5,295.7,231.2,330.7,229.1,362.3,230.0,426.8,229.2,458.1,230.6,464.1,232.2,467.2,234.4,470.0,240.3,470.8,249.8,469.8,301.3,467.4,329.3,467.6,352.6,466.2,359.7,462.3,364.8,455.8,367.3,418.3,367.5,412.0,366.2,407.7,363.8,404.8,359.9,403.4,353.8,404.5,301.6,406.0,294.6,409.2,290.2,413.6,288.3,421.0,287.3,492.5,285.9,500.7,284.7,506.4,279.6,513.6,259.3,517.1,255.8,521.8,254.1,529.0,254.1,561.8,259.5,573.0,263.0],"length":1323.5,"turning":1146.6,"value":0.832,"weight":null},{"points":[78.0,406.0,78.4,409.1,83.6,412.0,111.0,414.8,210.5,416.0,219.1,415.2,223.6,413.3,226.5,409.6,228.1,403.6,238.8,313.2,241.4,309.0,246.4,306.1,274.5,304.7,279.3,303.3,282.0,300.8,283.9,293.5,286.9,241.8,289.8,234.8,296.2,231.1,330.3,229.1,361.9,230.0,424.5,229.2,462.2,231.5,467.5,234.8,470.3,241.7,470.9,279.2,473.8,283.6,480.0,285.7,495.6,285.7,503.6,283.2,507.2,277.9,512.8,260.6,515.9,256.7,520.3,254.4,530.1,254.3,562.9,259.7,573.0,263.0],"length":714.7,"turning":761.0,"value":0.77,"weight":null},{"points":[78.0,406.0,78.4,409.1,83.6,412.0,111.0,414.8,210.5,416.0,219.1,415.2,223.6,413.3,226.5,409.6,228.1,403.6,238.8,313.2,241.4,309.0,246.4,306.1,274.5,304.7,279.3,303.3,282.0,300.8,283.9,293.5,286.9,241.8,289.8,234.8,296.2,231.1,330.3,229.1,361.9,230.0,427.4,229.2,457.8,230.6,463.7,232.1,467.0,234.2,469.9,240.0,470.8,249.4,469.8,301.9,467.3,329.8,467.6,352.2,466.3,359.4,462.5,364.6,455.2,367.3,417.8,367.4,411.5,366.0,407.3,363.5,404.7,359.5,403.3,353.3,404.5,302.0,406.2,294.2,409.6,290.0,421.6,287.2,492.1,285.9,500.3,284.8,506.3,279.9,513.4,259.6,516.8,256.0,521.4,254.1,528.6,254.1,562.3,259.6,573.0,263.0],"length":993.0,"turning":949.0,"value":0.776,"weight":null},{"points":[98.0,80.0,97.6,83.7,101.1,85.6,118.2,79.7,132.3,78.1,227.2,77.2,237.1,78.9,242.0,83.0,244.6,92.4,246.8,137.4,245.4,166.7,241.4,198.2,235.0,209.7,222.6,220.5,211.3,224.8,195.4,226.0,180.3,224.3,168.0,220.3,157.7,213.6,149.7,204.3,145.2,192.0,144.3,176.6,146.9,163.6,153.2,153.1,159.6,147.4,168.0,142.9,193.6,136.4,253.2,132.2,307.1,131.9,316.0,130.0,320.3,126.3,322.9,119.8,327.6,81.5,330.1,71.6,336.7,62.7,348.6,54.5,360.4,51.5,376.0,51.5,386.0,54.0,393.6,59.1,397.9,65.1,400.8,72.9,406.2,106.8,410.4,121.2,416.7,130.3,426.2,135.7,435.2,135.5,442.7,130.8,446.9,124.7,455.8,105.2,461.3,98.5,467.2,93.7,473.2,90.8,479.7,89.5,493.5,91.4,503.2,97.3,511.0,105.6,515.1,113.9,518.0,127.7,519.4,142.8,517.0,232.6,518.2,248.1,520.8,251.4,525.2,253.2,563.2,259.8,573.0,263.0],"length":1134.8,"turning":1133.8,"value":0.764,"weight":null},{"points":[98.0,80.0,97.6,83.7,101.1,85.6,117.3,79.9,128.5,78.3,218.3,77.0,235.5,78.3,241.1,81.7,243.9,87.7,246.1,119.7,247.8,126.5,252.2,130.6,261.1,132.0,307.1,131.9,313.6,130.9,318.1,128.7,321.1,124.9,323.1,119.0,327.7,80.6,330.8,70.0,335.3,64.1,342.8,57.9,349.4,54.2,357.5,51.9,370.1,51.1,380.6,52.2,389.2,55.6,395.3,61.1,401.0,73.8,406.0,105.8,410.0,120.3,415.9,129.6,425.3,135.4,434.2,135.8,442.0,131.4,446.9,124.8,455.8,105.2,461.2,98.6,467.2,93.7,473.1,90.8,479.6,89.5,493.5,91.4,503.2,97.2,511.0,105.6,515.0,113.9,517.9,126.7,519.4,143.7,517.0,238.5,518.5,248.7,520.8,251.3,525.1,253.2,563.1,259.8,573.0,263.0],"length":801.6,"turning":947.7,"value":0.704,"weight":null}]}, +{"name":"map3","image":"assets/map3.jpg","width":642,"height":459,"cell":4,"cols":160,"rows":114,"grid":"000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000111111111111111111111111111111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001111111111111111111111111111111111100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011111111111111111111111111111111111111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011111111000000000000000000001111111111111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011111100000000000000000000000000000001111110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011111000000000000000000000000000000000001111100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011111000000000000000000000000000000000000011110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011111000000000000000000000000000000000000000111100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001111000000000000000000000000000000000000000011110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000111000000000000000000000000000000000000000000111100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000111100000000000000000000000000000000000000000011110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011110000000000000000000000000000000000000000000111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001110000000000000000000000000000000000000000000011110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000111000000000000000000000000000000000000000000001111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011100000000000000000000000000000000000000000000111100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001110000000000000000000000000000000000000000000011110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000111000000000000000000000000000000000000000000001111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011100000000000000000000000000000000000000000000111100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001110000000000000000000000000000000000000000000011110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000111000000000000000000000000000000000000000000000111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011100000000000000000000000000000000000000000000011100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001110000000000000000000000000000000000000000000001110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000111000000000000000000000000000000000000000000000111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011100000000000000000000111110000000000000000000011100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001110000000000000000000011111000000000000000000001110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000111000000000000000000001111100000000000000000001111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011100000000000000000000111110000000000000000000111100000000000000000000000000000000000000000000000000000000000000000110000000000000000000000000000000000000000001110000000000000000000011111000000000000000000011110000000000000000000000000000000000000000000000000000001111111111100000000000000000000000000000000000000000000011000000000000000000001111100000000000000000001111000000000000000000000000000000000000000000011111111111111111111100000000000000000000000000000000000000000000000000000000000000000000111110000000000000000000111100000000000000000000000000000000000111111111111111111111111111100000000000000000000000000000000000000000000000000000000000000000000111111000000000000000000011110000000000000000000000000000011111111111111111111111111111110000000000000000000000000000000000000000000000000000000000000000000000011111100000000000000000001111000000000000000000000000011111111111111111111110000000000000000000000000000000000000000000000000000000000000000000000000000000000001111110000000000000000000111100000000000000000000000111111111111111110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000111111000000000000000000011110000000000000000000001111111111110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011111100000000000000000001111000000000000000000001111111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001111110000000000000000000111100000000000000000001111110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000111111000000000000000000011110000000000000000001111100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011111100000000000000000001111000000000000000000111100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001111110000000000000000000111100000000000000000111100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000111111000000000000000000001110000000000000000011110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011111100000000000000000000111000000000000000011110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001111110000000000000000000011100000000000000001111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000111111000000000000000000001110000000000000000111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011111100000000000000000000111000000000000000011100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001111111000000000000000000011100000000000000011110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000111111100000000000000000001110000000000000001111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000111111110000000000000000000111000000000000000111100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011111111000000000000000000011100000000000000011110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011110111100000000000000000001110000000000000001111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001111011110000000000000000000111000000000000000111100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001111001111000000000000000000011110000000000000011110000000000000000000000000000000000001111111111100000000000000000000000000000000000000000000000000000000000001111100111100000000000000000001111000000000000001111000000000000000000000000001111111111111111111111100000000000000000000000000000000000000000000000000000000011111100011110000000000000000000111100000000000000111100000000000000000001111111111111111111111111111111100000000000000000000000000000000000000000000000000011111111100001111000000000000000000011110000000000000011100000000000000000000111111111111111111111100000000000000000000000000000000000000000000000000000000001111111111000000111100000000000000000001111000000000000001110000000000000000000011111111110000000000000000000000000000000000000000000000000000000000000000000001111111111000000011110000000000000000000111100000000000000111000000000000000000001110000000000000000000000000000000000000000000000000000000000000000000000000001111111100000000001111000000000000000000011110000000000000011100000000000000000000111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000111100000000000000000001111000000000000001110000000000000000000011100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011110000000000000000000111100000000000000111000000000000000000001110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001111000000000000000000011110000000000000011100000000000000000000111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000111100000000000000000000111000000000000001110000000000000000000011100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001110000000000000000000011100000000000000111000000000000000000001110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000111000000000000000000001110000000000000011100000000000000000000111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011100000000000000000000111100000000000001110000000000000000000111100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001111000000000000000000011110000000000000111000000000000000000011110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000111100000000000000000001111000000000000011100000000000000000001111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011110000000000000000000011100000000000001110000000000000000000111100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001111000000000000000000001111111111110000111000000000000000000011110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011100000000000000000000111111111111111111100000000000000000001111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001110000000000000000000011111111111111111110000000000000000000111100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000111000000000000000000000111111111111111111000000000000000000011110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011100000000000000000000000000000000000000000000000000000000001111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001110000000000000000000000000000000000000000000000000000000000111100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000111100000000000000000000000000000000000000000000000000000000011110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011110000000000000000000000000000000000000000000000000000000001111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000111000000000000000000000000000000000000000000000000000000000111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011110000000000000000000000000000000000000000000000000000000011100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001111000000000000000000000000000000000000000000000000000000001110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011100000000000000000000000000000000000000000000000000000000111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001111000000000000000000000000000000000000000000000000000000011100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000111100000000000000000000000000000000000000000000000000000011110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011110000000000000000000000000000000000000000000000000000001111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000111100000000000000000000000000000000000000000000000000000111100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011110000000000000000000000000000000000000000000000000000011100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000111100000000000000000000000000000000000000000000000000011110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011111000000000000000000000000000000000000000000000000001111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000111100000000000000000000000000000000000000000000000001111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001111100000000000000000000000000000000000000000000001111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000111111100000000000000000000000000000000000000000001111100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000","entrances":[[46.4,265.2,19.1]],"exits":[[595.4,239.5,23.5]],"routes":[{"points":[48.0,268.0,48.7,266.4,57.4,265.1,115.9,263.0,120.6,261.6,123.4,259.2,125.6,252.9,126.7,237.4,128.2,153.0,129.6,146.1,132.6,142.6,142.8,140.1,186.0,140.0,212.5,141.0,220.4,142.6,225.1,147.7,226.9,159.6,227.7,178.1,226.1,219.3,230.9,327.3,237.3,373.7,245.5,399.5,252.4,405.4,265.2,407.7,324.9,410.9,371.8,410.8,382.8,408.0,385.9,404.4,387.5,399.5,390.8,367.9,393.8,279.2,395.6,270.2,399.5,265.0,406.7,262.1,435.0,257.5,472.4,252.8,545.0,246.5,588.0,241.3,601.0,238.0],"length":1034.9,"turning":603.1,"value":1.0,"weight":null}]} ];
--- a/tools/build.py Mon Oct 19 13:37:52 2026 +0200 +++ b/tools/build.py Mon Oct 19 15:55:37 2026 +0200 @@ -69,6 +69,8 @@ ROUTE_TOLERANCE = 0.8 # number of decimals of route points in maps.js ROUTE_DECIMALS = 1 +# per map settings used by the mask step +MASK_SETTINGS = ("path_half_width", "spawn_distance", "exit_distance") warnings = [] @@ -195,6 +197,8 @@ def step_masks(cfg, force): placement = cfg["placement"] + settings = {"placement": placement, + "maps": [{k: cfg["map"][str(m)][k] for k in MASK_SETTINGS} for m in range(MAPS)]} routes_toml = CONFIG / "routes.toml" inputs = [ART / f"map{m}mask.png" for m in range(MAPS)] + [routes_toml] outputs = [DATA / "maps.js", MAPS_CACHE] @@ -202,7 +206,7 @@ if MAPS_CACHE.exists(): cached = json.loads(MAPS_CACHE.read_text()) # the placement settings are part of the input, compared by value - if not stale(inputs, outputs, force) and cached and cached["placement"] == placement: + if not stale(inputs, outputs, force) and cached and cached.get("settings") == settings: print("masks: up to date") return cached["maps"], False @@ -210,9 +214,13 @@ out = [] for m in range(MAPS): t0 = time.time() + mc = settings["maps"][m] mask = masks.Mask(ART / f"map{m}mask.png") - cols, rows, grid = masks.placement_grid(mask, placement) found = masks.extract_routes(mask, ROUTE_SMOOTH, ROUTE_TOLERANCE) + spaces = [(found["spawns"], mc["spawn_distance"]), + (found["exit_points"], mc["exit_distance"])] + cols, rows, grid = masks.placement_grid(mask, placement, found["centre"], + mc["path_half_width"], spaces) routes = [{"points": pts, "manual": False} for pts in found["routes"]] routes = apply_corrections(m, routes, fixes.get(str(m), {})) route_values(routes) @@ -225,7 +233,7 @@ "cols": cols, "rows": rows, "grid": grid, - "path_width": found["width"], + "line_width": found["width"], "entrances": [b[:3] for b in found["entrances"]], "exits": [b[:3] for b in found["exits"]], "routes": routes, @@ -238,7 +246,7 @@ write_maps_js(out) MAPS_CACHE.parent.mkdir(parents=True, exist_ok=True) - MAPS_CACHE.write_text(json.dumps({"placement": placement, "maps": out})) + MAPS_CACHE.write_text(json.dumps({"settings": settings, "maps": out})) return out, True @@ -357,7 +365,7 @@ if mp is None: raise ConfigError(f"[map.{m}] missing") where = f"map.{m}" - for k in ("starting_coins", "early_bonus", "wave_count"): + for k in ("starting_coins", "early_bonus", "wave_count") + MASK_SETTINGS: need(mp, k, float, where) need(mp, "monster_share", list, where) for w, wave in enumerate(mp.get("wave", []), start=1): @@ -422,8 +430,8 @@ speeds = sorted({v["speed"] for v in mons.values()}) for m, mp in enumerate(maps): c = cfg["map"][str(m)] - print(f"\nmap{m}: {mp['width']}x{mp['height']}, path width {mp['path_width']:.0f}," - f" {mp['grid'].count('1')} placement cells") + print(f"\nmap{m}: {mp['width']}x{mp['height']}, line width {mp['line_width']:.0f}," + f" road half width {c['path_half_width']}, {mp['grid'].count('1')} placement cells") if len(mp["entrances"]) == 0 or len(mp["exits"]) == 0: warn(f"map{m}: no entrance or no exit found") if not mp["routes"]:
--- a/tools/masks.py Mon Oct 19 13:37:52 2026 +0200 +++ b/tools/masks.py Mon Oct 19 15:55:37 2026 +0200 @@ -1,41 +1,50 @@ """ mask steps of the build: pixel classes, placement grid and routes. -a mask is a map-sized image with a red path, blue entrances and green exits -on a transparent background. pixels are indexed as y * width + x throughout. +a mask is a map-sized image with a red path centre line, blue entrances and +green exits on a transparent background. edges are hard: every pixel is +either fully transparent or opaque pure red, blue or green. pixels are +indexed as y * width + x throughout. """ import math from collections import deque -from PIL import Image, ImageDraw +from PIL import Image, ImageChops, ImageDraw FREE, PATH, ENTRANCE, EXIT = 0, 1, 2, 3 +# rgba bytes of the opaque mask colours +COLOURS = {b"\xff\x00\x00\xff": PATH, b"\x00\x00\xff\xff": ENTRANCE, + b"\x00\xff\x00\xff": EXIT} # 8-neighbour offsets in the order n, ne, e, se, s, sw, w, nw NEIGHBOURS = ((0, -1), (1, -1), (1, 0), (1, 1), (0, 1), (-1, 1), (-1, 0), (-1, -1)) class Mask: - """pixel classes of one map mask.""" + """ + pixel classes of one map mask. raises ValueError when a pixel is + neither transparent nor one of the mask colours. + """ def __init__(self, path): im = Image.open(path).convert("RGBA") self.w, self.h = im.size data = im.tobytes() cls = bytearray(self.w * self.h) - # the edges are soft: a pixel counts when it is at least half covered, - # and belongs to its strongest colour channel + bad = [] for i in range(self.w * self.h): j = i * 4 - if data[j + 3] >= 128: - r, g, b = data[j], data[j + 1], data[j + 2] - if r >= g and r >= b: - cls[i] = PATH - elif b >= g: - cls[i] = ENTRANCE - else: - cls[i] = EXIT + if data[j + 3] == 0: + continue + c = COLOURS.get(data[j:j + 4]) + if c is None: + bad.append(i) + else: + cls[i] = c + if bad: + raise ValueError(f"{path}: {len(bad)} pixels are not transparent, red, blue or" + f" green, the first at {bad[0] % self.w}, {bad[0] // self.w}") self.cls = cls def count(self, kind): @@ -97,20 +106,37 @@ return im -def placement_grid(mask, p): +def discs(w, h, points, radius): + """return an L image of size w x h, 255 within radius of any of the points.""" + im = Image.new("L", (w, h), 0) + draw = ImageDraw.Draw(im) + for x, y in points: + draw.ellipse((x - radius, y - radius, x + radius, y + radius), fill=255) + return im + + +def placement_grid(mask, p, centre, half_width, spaces): """ - return (cols, rows, grid string) for placement table p. a cell is legal - when a tower footprint centred on it does not overlap the path, - entrances or exits, comes within max_gap of the path, and keeps - edge_distance from the map edge. the string has one '1' or '0' per - cell, row by row. + return (cols, rows, grid string) for placement table p. the road is + taken as half_width either side of the centre line, given as a list of + pixels. spaces is a list of (points, space). a cell is legal when a + tower footprint centred on it does not overlap the road, entrances or + exits, comes within max_gap of the road, keeps each space from its + points and keeps edge_distance from the map edge. the string has one + '1' or '0' per cell, row by row. """ cell = p["grid_cell"] r = p["footprint_radius"] - blocked = mask.grown((PATH, ENTRANCE, EXIT), r).tobytes() - near = mask.grown((PATH,), r + p["max_gap"]).tobytes() + w, h = mask.w, mask.h + # the centre line inside entrance and exit areas does not count as road + road = [(x, y) for x, y in centre if mask.cls[y * w + x] == PATH] + blocked = ImageChops.lighter(mask.grown((ENTRANCE, EXIT), r), + discs(w, h, road, r + half_width)) + for points, space in spaces: + blocked = ImageChops.lighter(blocked, discs(w, h, points, r + space)) + blocked = blocked.tobytes() + near = discs(w, h, road, r + half_width + p["max_gap"]).tobytes() edge = p["edge_distance"] - w, h = mask.w, mask.h cols, rows = w // cell, h // cell out = [] for cy in range(rows): @@ -411,16 +437,32 @@ return simplify(pts[:idx + 1], tol)[:-1] + simplify(pts[idx:], tol) -def path_width(mask, skel_len): - """average path width: path area divided by centre line length.""" +def line_width(mask, skel_len): + """average width of the drawn centre line: its area divided by its length.""" return mask.count(PATH) / skel_len if skel_len else 0.0 +def leave_point(graph, mask, n, kind): + """ + return the first centre line pixel outside the area of class kind, + walking from the line end n. + """ + a, b, pts = graph.edges[graph.incident(n)[0]] + if a != n: + pts = pts[::-1] + for x, y in pts: + if mask.cls[y * mask.w + x] != kind: + return (x, y) + return pts[-1] + + def extract_routes(mask, smooth_half, tol): """ - find the routes of a mask. returns a dict with the graph, the - entrance and exit blobs, the measured path width and the routes as - point lists, entrance to exit, smoothed and simplified. + find the routes of a mask. returns a dict with the graph, the entrance + and exit blobs, the measured line width, the centre line pixels, the + spawn points where the centre line leaves each entrance, the exit + points where it enters each exit, and the routes + as point lists, entrance to exit, smoothed and simplified. """ w, h = mask.w, mask.h shape = bytearray(1 if c != FREE else 0 for c in mask.cls) @@ -434,10 +476,7 @@ entrances = mask.blobs(ENTRANCE) exits = mask.blobs(EXIT) - # specks of colour from the soft edges are not entrances or exits - entrances = [b for b in entrances if b[3] >= 50] - exits = [b for b in exits if b[3] >= 50] - width = path_width(mask, sum(polyline_length(e[2]) for e in graph.edges.values())) + width = line_width(mask, sum(polyline_length(e[2]) for e in graph.edges.values())) terminals = [graph.nearest_end(b[0], b[1]) for b in entrances + exits] graph.prune(set(terminals), 0.8 * width) graph.contract(set(terminals), 0.75 * width) @@ -461,5 +500,8 @@ "entrances": entrances, "exits": exits, "width": width, + "centre": [p for e in graph.edges.values() for p in e[2]], + "spawns": [leave_point(graph, mask, s, ENTRANCE) for s in starts], + "exit_points": [leave_point(graph, mask, g, EXIT) for g in goals], "routes": routes, }
