summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--generate_graph.py6
-rw-r--r--graph.json2
-rw-r--r--main.js41
3 files changed, 33 insertions, 16 deletions
diff --git a/generate_graph.py b/generate_graph.py
index 1715404..181c6fe 100644
--- a/generate_graph.py
+++ b/generate_graph.py
@@ -87,9 +87,9 @@ print json.dumps(
'repulsion': 2200,
'stiffness': 900,
'friction': 0,
- 'precision': 0.1,
- 'fps': 15,
- 'dt': 0.005,
+ 'precision': 0.5,
+ 'fps': 100,
+ 'dt': 0.01,
'gravity': True,
'nodes': nodes,
'edges': edges
diff --git a/graph.json b/graph.json
index 24044c6..8e502ee 100644
--- a/graph.json
+++ b/graph.json
@@ -1 +1 @@
-{"nodes": {"n7_4": {"width": 32, "mass": 10, "y": -0.383995997177819, "color": "rgba(52,149,255,0.33)", "x": 0.7039962028512448, "image": "photo5.jpg", "fixed": true, "height": 32}, "n7_5": {"width": 14, "mass": 10, "y": -0.3848777219319597, "color": "rgba(255,0,0,0.33)", "x": 0.697652805934399, "image": "photo5.jpg", "fixed": true, "height": 14}, "n7_6": {"width": 9, "mass": 10, "y": -0.38725651077471585, "color": "rgba(255,255,0,0.33)", "x": 0.7012904100098307, "image": "photo4.jpg", "fixed": true, "height": 9}, "n7_7": {"width": 5, "mass": 10, "y": -0.3872691360331407, "color": "rgba(255,255,255,0.33)", "x": 0.7037607189183401, "image": "photo2.jpg", "fixed": true, "height": 5}, "n7_1": {"width": 45, "mass": 10, "y": -0.3841827137219557, "color": "rgba(52,149,255,0.33)", "x": 0.6980559329571677, "image": "photo4.jpg", "fixed": true, "height": 45}, "n7_2": {"width": 41, "mass": 10, "y": -0.384029160855324, "color": "rgba(52,149,255,0.33)", "x": 0.7031242631769136, "image": "photo2.jpg", "fixed": true, "height": 41}, "n7_3": {"width": 36, "mass": 10, "y": -0.38677852208705954, "color": "rgba(52,149,255,0.33)", "x": 0.7017007937327371, "image": "photo4.jpg", "fixed": true, "height": 36}, "n5_2": {"width": 15, "mass": 10, "y": -0.6756863878240758, "color": "rgba(255,0,0,0.33)", "x": 0.42670488961414127, "image": "photo3.jpg", "fixed": true, "height": 15}, "n5_3": {"width": 5, "mass": 10, "y": -0.6733465254453156, "color": "rgba(255,255,255,0.33)", "x": 0.43069913323630443, "image": "photo4.jpg", "fixed": true, "height": 5}, "n5_1": {"width": 15, "mass": 10, "y": -0.6736727573556683, "color": "rgba(255,0,0,0.33)", "x": 0.4290507900966652, "image": "photo1.jpg", "fixed": true, "height": 15}, "n30": {"width": 30, "mass": 10, "y": -0.7238616419728157, "color": "rgba(255,0,0,0.33)", "x": 0.3406234332520581, "image": "photo1.jpg", "fixed": true, "height": 30}, "n31": {"width": 20, "mass": 10, "y": -0.785829800582951, "color": "rgba(255,255,0,0.33)", "x": -0.1499050516685797, "image": "photo5.jpg", "fixed": true, "height": 20}, "n32": {"width": 20, "mass": 10, "y": -0.5476376847429506, "color": "rgba(255,255,0,0.33)", "x": 0.5831749019371295, "image": "photo5.jpg", "fixed": true, "height": 20}, "n33": {"width": 20, "mass": 10, "y": -0.760845213036123, "color": "rgba(255,255,0,0.33)", "x": 0.2472135954999578, "image": "photo5.jpg", "fixed": true, "height": 20}, "n34": {"width": 20, "mass": 10, "y": -0.19895190973188404, "color": "rgba(255,255,0,0.33)", "x": -0.7748665289029049, "image": "photo3.jpg", "fixed": true, "height": 20}, "n35": {"width": 20, "mass": 10, "y": -0.29449964214774266, "color": "rgba(255,255,0,0.33)", "x": -0.743821188710601, "image": "photo3.jpg", "fixed": true, "height": 20}, "n36": {"width": 20, "mass": 10, "y": -0.1989519097318836, "color": "rgba(255,255,0,0.33)", "x": 0.774866528902905, "image": "photo4.jpg", "fixed": true, "height": 20}, "n37": {"width": 20, "mass": 10, "y": -0.10026658685144343, "color": "rgba(255,255,0,0.33)", "x": -0.7936917610515823, "image": "photo3.jpg", "fixed": true, "height": 20}, "n9_10": {"width": 5, "mass": 10, "y": -0.5467723865433617, "color": "rgba(255,255,255,0.33)", "x": -0.5839271264266858, "image": "photo4.jpg", "fixed": true, "height": 5}, "n38": {"width": 20, "mass": 10, "y": -0.10026658685144303, "color": "rgba(255,255,0,0.33)", "x": 0.7936917610515823, "image": "photo5.jpg", "fixed": true, "height": 20}, "n39": {"width": 20, "mass": 10, "y": -0.2944996421477423, "color": "rgba(255,255,0,0.33)", "x": 0.7438211887106012, "image": "photo2.jpg", "fixed": true, "height": 20}, "n3_1": {"width": 35, "mass": 10, "y": 0.5467248428554522, "color": "rgba(52,149,255,0.33)", "x": 0.5818816782194006, "image": "photo4.jpg", "fixed": true, "height": 35}, "n3_2": {"width": 15, "mass": 10, "y": 0.5450559012918481, "color": "rgba(255,0,0,0.33)", "x": 0.5840829584726058, "image": "photo2.jpg", "fixed": true, "height": 15}, "n3_3": {"width": 10, "mass": 10, "y": 0.546534887369673, "color": "rgba(255,255,0,0.33)", "x": 0.5843553392049733, "image": "photo2.jpg", "fixed": true, "height": 10}, "n8_3": {"width": 5, "mass": 10, "y": 0.294529830968374, "color": "rgba(255,255,255,0.33)", "x": 0.7470115246066017, "image": "photo1.jpg", "fixed": true, "height": 5}, "n8_2": {"width": 9, "mass": 10, "y": 0.2954141859198167, "color": "rgba(255,255,0,0.33)", "x": 0.7442205270841054, "image": "photo2.jpg", "fixed": true, "height": 9}, "n8_1": {"width": 45, "mass": 10, "y": 0.2939802907064834, "color": "rgba(52,149,255,0.33)", "x": 0.7439727073618816, "image": "photo2.jpg", "fixed": true, "height": 45}, "n1_6": {"width": 5, "mass": 10, "y": -0.6140437103147365, "color": "rgba(255,255,255,0.33)", "x": 0.5095445948236502, "image": "photo5.jpg", "fixed": true, "height": 5}, "n1_7": {"width": 5, "mass": 10, "y": -0.6188304709569514, "color": "rgba(255,255,255,0.33)", "x": 0.5111290512942748, "image": "photo4.jpg", "fixed": true, "height": 5}, "n1_4": {"width": 15, "mass": 10, "y": -0.6193233307297877, "color": "rgba(255,0,0,0.33)", "x": 0.5100656877701262, "image": "photo4.jpg", "fixed": true, "height": 15}, "n1_5": {"width": 10, "mass": 10, "y": -0.6179982402100741, "color": "rgba(255,255,0,0.33)", "x": 0.5114922740521238, "image": "photo5.jpg", "fixed": true, "height": 10}, "n1_2": {"width": 40, "mass": 10, "y": -0.6178726784381499, "color": "rgba(52,149,255,0.33)", "x": 0.5078400639776423, "image": "photo4.jpg", "fixed": true, "height": 40}, "n1_3": {"width": 15, "mass": 10, "y": -0.615597603889997, "color": "rgba(255,0,0,0.33)", "x": 0.509414880857829, "image": "photo4.jpg", "fixed": true, "height": 15}, "n1_1": {"width": 40, "mass": 10, "y": -0.6169571367405565, "color": "rgba(52,149,255,0.33)", "x": 0.512357497485496, "image": "photo5.jpg", "fixed": true, "height": 40}, "n12": {"width": 90, "mass": 10, "y": 0.1002665868514434, "color": "rgba(52,149,255,0.33)", "x": 0.7936917610515823, "image": "photo5.jpg", "fixed": true, "height": 90}, "n13": {"width": 90, "mass": 10, "y": 0.6754623404016121, "color": "rgba(52,149,255,0.33)", "x": 0.4286614359831973, "image": "photo3.jpg", "fixed": true, "height": 90}, "n10": {"width": 90, "mass": 10, "y": -2.572996239482619e-16, "color": "rgba(52,149,255,0.33)", "x": -0.8, "image": "photo1.jpg", "fixed": true, "height": 90}, "n11": {"width": 90, "mass": 10, "y": 0.19895190973188387, "color": "rgba(52,149,255,0.33)", "x": -0.7748665289029049, "image": "photo5.jpg", "fixed": true, "height": 90}, "n16": {"width": 80, "mass": 10, "y": -0.7984213827426173, "color": "rgba(52,149,255,0.33)", "x": 0.05023241562345098, "image": "photo4.jpg", "fixed": true, "height": 80}, "n17": {"width": 80, "mass": 10, "y": 0.10026658685144328, "color": "rgba(52,149,255,0.33)", "x": -0.7936917610515823, "image": "photo5.jpg", "fixed": true, "height": 80}, "n14": {"width": 90, "mass": 10, "y": -0.6164105942206315, "color": "rgba(52,149,255,0.33)", "x": -0.5099391917989516, "image": "photo3.jpg", "fixed": true, "height": 90}, "n15": {"width": 90, "mass": 10, "y": -0.7984213827426173, "color": "rgba(52,149,255,0.33)", "x": -0.05023241562345057, "image": "photo2.jpg", "fixed": true, "height": 90}, "n3_4": {"width": 10, "mass": 10, "y": 0.5499496924336268, "color": "rgba(255,255,0,0.33)", "x": 0.5827462762790602, "image": "photo5.jpg", "fixed": true, "height": 10}, "n18": {"width": 80, "mass": 10, "y": 0.0, "color": "rgba(52,149,255,0.33)", "x": 0.8, "image": "photo4.jpg", "fixed": true, "height": 80}, "n19": {"width": 70, "mass": 10, "y": 0.38540293928137226, "color": "rgba(52,149,255,0.33)", "x": 0.7010453440350909, "image": "photo3.jpg", "fixed": true, "height": 70}, "n3_5": {"width": 10, "mass": 10, "y": 0.5495241961389729, "color": "rgba(255,255,0,0.33)", "x": 0.5845894968810096, "image": "photo1.jpg", "fixed": true, "height": 10}, "n4_3": {"width": 35, "mass": 10, "y": 0.7983870514388888, "color": "rgba(52,149,255,0.33)", "x": -0.05017995960394596, "image": "photo4.jpg", "fixed": true, "height": 35}, "n4_2": {"width": 40, "mass": 10, "y": 0.7954191469898886, "color": "rgba(52,149,255,0.33)", "x": -0.05041263066057135, "image": "photo1.jpg", "fixed": true, "height": 40}, "n4_1": {"width": 45, "mass": 10, "y": 0.7984555603509096, "color": "rgba(52,149,255,0.33)", "x": -0.05019339319373335, "image": "photo3.jpg", "fixed": true, "height": 45}, "n4_7": {"width": 5, "mass": 10, "y": 0.7968578616942795, "color": "rgba(255,255,255,0.33)", "x": -0.05037861333274004, "image": "photo3.jpg", "fixed": true, "height": 5}, "n4_6": {"width": 10, "mass": 10, "y": 0.7970599204154124, "color": "rgba(255,255,0,0.33)", "x": -0.050418449649662286, "image": "photo2.jpg", "fixed": true, "height": 10}, "n4_5": {"width": 15, "mass": 10, "y": 0.7997944643175318, "color": "rgba(255,0,0,0.33)", "x": -0.05002071106802368, "image": "photo3.jpg", "fixed": true, "height": 15}, "n4_4": {"width": 15, "mass": 10, "y": 0.8013634418346756, "color": "rgba(255,0,0,0.33)", "x": -0.050143222319158805, "image": "photo5.jpg", "fixed": true, "height": 15}, "n28_9": {"width": 5, "mass": 10, "y": -0.3860596685271384, "color": "rgba(255,255,255,0.33)", "x": -0.6989024921654493, "image": "photo2.jpg", "fixed": true, "height": 5}, "n2_1": {"width": 15, "mass": 10, "y": 0.3872061108625982, "color": "rgba(255,0,0,0.33)", "x": -0.7038641895316793, "image": "photo3.jpg", "fixed": true, "height": 15}, "n2_3": {"width": 10, "mass": 10, "y": 0.38428751049834897, "color": "rgba(255,255,0,0.33)", "x": -0.7029687038092687, "image": "photo2.jpg", "fixed": true, "height": 10}, "n2_2": {"width": 15, "mass": 10, "y": 0.3872874340315173, "color": "rgba(255,0,0,0.33)", "x": -0.7030616724627795, "image": "photo3.jpg", "fixed": true, "height": 15}, "n28_2": {"width": 12, "mass": 10, "y": -0.3839341986276551, "color": "rgba(52,149,255,0.33)", "x": -0.7034166711233202, "image": "photo3.jpg", "fixed": true, "height": 12}, "n28_3": {"width": 11, "mass": 10, "y": -0.38479277035836684, "color": "rgba(52,149,255,0.33)", "x": -0.700320581438254, "image": "photo5.jpg", "fixed": true, "height": 11}, "n28_4": {"width": 5, "mass": 10, "y": -0.38731442917234654, "color": "rgba(255,0,0,0.33)", "x": -0.7041086716485973, "image": "photo2.jpg", "fixed": true, "height": 5}, "n28_5": {"width": 5, "mass": 10, "y": -0.38628991596618634, "color": "rgba(255,255,0,0.33)", "x": -0.703850951189113, "image": "photo4.jpg", "fixed": true, "height": 5}, "n29_1": {"width": 14, "mass": 10, "y": 0.7263490716142457, "color": "rgba(52,149,255,0.33)", "x": 0.34071395260759435, "image": "photo3.jpg", "fixed": true, "height": 14}, "n29_2": {"width": 5, "mass": 10, "y": 0.7233457646046779, "color": "rgba(255,0,0,0.33)", "x": 0.34174356036232995, "image": "photo1.jpg", "fixed": true, "height": 5}, "n6_1": {"width": 14, "mass": 10, "y": 0.6722573416525813, "color": "rgba(255,0,0,0.33)", "x": -0.4283668415517507, "image": "photo1.jpg", "fixed": true, "height": 14}, "n6_2": {"width": 5, "mass": 10, "y": 0.6735441485634455, "color": "rgba(255,255,255,0.33)", "x": -0.42754722967953745, "image": "photo3.jpg", "fixed": true, "height": 5}, "n28_7": {"width": 5, "mass": 10, "y": -0.38621129903992335, "color": "rgba(255,255,255,0.33)", "x": -0.6996426647309077, "image": "photo5.jpg", "fixed": true, "height": 5}, "n22_6": {"width": 5, "mass": 10, "y": 0.8006273431113045, "color": "rgba(255,255,255,0.33)", "x": 0.04998816998041839, "image": "photo4.jpg", "fixed": true, "height": 5}, "n22_7": {"width": 5, "mass": 10, "y": 0.8023623976029179, "color": "rgba(255,255,255,0.33)", "x": 0.05038677919670097, "image": "photo4.jpg", "fixed": true, "height": 5}, "n22_4": {"width": 5, "mass": 10, "y": 0.7986505690352081, "color": "rgba(255,0,0,0.33)", "x": 0.050365962009597136, "image": "photo2.jpg", "fixed": true, "height": 5}, "n22_5": {"width": 5, "mass": 10, "y": 0.8015174041568746, "color": "rgba(255,255,0,0.33)", "x": 0.05029878147253311, "image": "photo5.jpg", "fixed": true, "height": 5}, "n22_2": {"width": 14, "mass": 10, "y": 0.7973084689725141, "color": "rgba(52,149,255,0.33)", "x": 0.050289661233335836, "image": "photo5.jpg", "fixed": true, "height": 14}, "n22_3": {"width": 11, "mass": 10, "y": 0.8017994129534691, "color": "rgba(52,149,255,0.33)", "x": 0.05031346498192239, "image": "photo2.jpg", "fixed": true, "height": 11}, "n22_1": {"width": 15, "mass": 10, "y": 0.8008595317408592, "color": "rgba(52,149,255,0.33)", "x": 0.050006619381927436, "image": "photo2.jpg", "fixed": true, "height": 15}, "n15_1": {"width": 45, "mass": 10, "y": -0.7989731273106541, "color": "rgba(52,149,255,0.33)", "x": -0.05045094489355925, "image": "photo5.jpg", "fixed": true, "height": 45}, "n15_2": {"width": 14, "mass": 10, "y": -0.7976428185924108, "color": "rgba(255,0,0,0.33)", "x": -0.0503420494817467, "image": "photo4.jpg", "fixed": true, "height": 14}, "n17_2": {"width": 12, "mass": 10, "y": 0.10031679420466874, "color": "rgba(255,0,0,0.33)", "x": -0.7929198407643986, "image": "photo3.jpg", "fixed": true, "height": 12}, "n17_3": {"width": 12, "mass": 10, "y": 0.10008851073446676, "color": "rgba(255,0,0,0.33)", "x": -0.7925586342834996, "image": "photo5.jpg", "fixed": true, "height": 12}, "n17_1": {"width": 32, "mass": 10, "y": 0.10007222088092176, "color": "rgba(52,149,255,0.33)", "x": -0.7966343137413827, "image": "photo2.jpg", "fixed": true, "height": 32}, "n24_1": {"width": 14, "mass": 10, "y": 0.7603920836676894, "color": "rgba(52,149,255,0.33)", "x": -0.24778457891751332, "image": "photo4.jpg", "fixed": true, "height": 14}, "n24_2": {"width": 11, "mass": 10, "y": 0.7582642023802706, "color": "rgba(52,149,255,0.33)", "x": -0.24669430969206507, "image": "photo3.jpg", "fixed": true, "height": 11}, "n24_3": {"width": 5, "mass": 10, "y": 0.75868315783251, "color": "rgba(255,255,255,0.33)", "x": -0.24748628737343698, "image": "photo1.jpg", "fixed": true, "height": 5}, "n19_1": {"width": 35, "mass": 10, "y": 0.38387651138317175, "color": "rgba(52,149,255,0.33)", "x": 0.7000344781572398, "image": "photo5.jpg", "fixed": true, "height": 35}, "n19_2": {"width": 11, "mass": 10, "y": 0.3838425885009619, "color": "rgba(255,0,0,0.33)", "x": 0.7016189048332949, "image": "photo1.jpg", "fixed": true, "height": 11}, "n19_3": {"width": 5, "mass": 10, "y": 0.38367882238160733, "color": "rgba(255,255,255,0.33)", "x": 0.7036946792392113, "image": "photo3.jpg", "fixed": true, "height": 5}, "n19_4": {"width": 5, "mass": 10, "y": 0.38675915989927784, "color": "rgba(255,255,255,0.33)", "x": 0.6978022837759931, "image": "photo1.jpg", "fixed": true, "height": 5}, "n19_5": {"width": 5, "mass": 10, "y": 0.38567682993673946, "color": "rgba(255,255,255,0.33)", "x": 0.7042721752815791, "image": "photo1.jpg", "fixed": true, "height": 5}, "n26_2": {"width": 11, "mass": 10, "y": -0.4679341127511066, "color": "rgba(52,149,255,0.33)", "x": -0.6482758505966066, "image": "photo5.jpg", "fixed": true, "height": 11}, "n26_3": {"width": 5, "mass": 10, "y": -0.4700820945686771, "color": "rgba(255,0,0,0.33)", "x": -0.6499824744327518, "image": "photo5.jpg", "fixed": true, "height": 5}, "n26_1": {"width": 14, "mass": 10, "y": -0.46938350305893484, "color": "rgba(52,149,255,0.33)", "x": -0.6463576341337494, "image": "photo3.jpg", "fixed": true, "height": 14}, "n26_4": {"width": 5, "mass": 10, "y": -0.46850255611755776, "color": "rgba(255,0,0,0.33)", "x": -0.6496515839089567, "image": "photo1.jpg", "fixed": true, "height": 5}, "n49": {"width": 10, "mass": 10, "y": -0.6754623404016122, "color": "rgba(255,255,255,0.33)", "x": -0.42866143598319706, "image": "photo5.jpg", "fixed": true, "height": 10}, "n9_6": {"width": 14, "mass": 10, "y": -0.5481225673070375, "color": "rgba(255,0,0,0.33)", "x": -0.5846206485604234, "image": "photo4.jpg", "fixed": true, "height": 14}, "n41": {"width": 10, "mass": 10, "y": 0.5476376847429508, "color": "rgba(255,255,255,0.33)", "x": -0.5831749019371294, "image": "photo3.jpg", "fixed": true, "height": 10}, "n40": {"width": 20, "mass": 10, "y": 0.19895190973188384, "color": "rgba(255,255,0,0.33)", "x": 0.7748665289029049, "image": "photo1.jpg", "fixed": true, "height": 20}, "n43": {"width": 10, "mass": 10, "y": 0.4702282018339786, "color": "rgba(255,255,255,0.33)", "x": -0.6472135954999579, "image": "photo1.jpg", "fixed": true, "height": 10}, "n42": {"width": 10, "mass": 10, "y": 0.4702282018339785, "color": "rgba(255,255,255,0.33)", "x": 0.647213595499958, "image": "photo4.jpg", "fixed": true, "height": 10}, "n45": {"width": 10, "mass": 10, "y": 0.2944996421477422, "color": "rgba(255,255,255,0.33)", "x": -0.7438211887106012, "image": "photo5.jpg", "fixed": true, "height": 10}, "n44": {"width": 10, "mass": 10, "y": -0.7238616419728159, "color": "rgba(255,255,255,0.33)", "x": -0.34062343325205774, "image": "photo1.jpg", "fixed": true, "height": 10}, "n47": {"width": 10, "mass": 10, "y": -0.7858298005829509, "color": "rgba(255,255,255,0.33)", "x": 0.14990505166858012, "image": "photo1.jpg", "fixed": true, "height": 10}, "n46": {"width": 10, "mass": 10, "y": 0.6164105942206315, "color": "rgba(255,255,255,0.33)", "x": -0.5099391917989519, "image": "photo4.jpg", "fixed": true, "height": 10}, "n10_2": {"width": 9, "mass": 10, "y": -2.565944497644499e-16, "color": "rgba(255,255,0,0.33)", "x": -0.7969524244393402, "image": "photo3.jpg", "fixed": true, "height": 9}, "n30_6": {"width": 5, "mass": 10, "y": -0.726654716860602, "color": "rgba(255,255,255,0.33)", "x": 0.34126801861397615, "image": "photo5.jpg", "fixed": true, "height": 5}, "n30_5": {"width": 5, "mass": 10, "y": -0.7262215506481675, "color": "rgba(255,255,0,0.33)", "x": 0.3420069109808419, "image": "photo1.jpg", "fixed": true, "height": 5}, "n30_4": {"width": 5, "mass": 10, "y": -0.7238622313788841, "color": "rgba(255,255,0,0.33)", "x": 0.33961272511809704, "image": "photo4.jpg", "fixed": true, "height": 5}, "n30_3": {"width": 5, "mass": 10, "y": -0.7219445231229186, "color": "rgba(255,255,0,0.33)", "x": 0.33911157148549465, "image": "photo4.jpg", "fixed": true, "height": 5}, "n30_2": {"width": 5, "mass": 10, "y": -0.7271529470894841, "color": "rgba(255,255,0,0.33)", "x": 0.3417637953655464, "image": "photo2.jpg", "fixed": true, "height": 5}, "n30_1": {"width": 5, "mass": 10, "y": -0.722660714546064, "color": "rgba(255,0,0,0.33)", "x": 0.33976188957597603, "image": "photo5.jpg", "fixed": true, "height": 5}, "n11_1": {"width": 14, "mass": 10, "y": 0.1981770454864807, "color": "rgba(255,0,0,0.33)", "x": -0.7733282750771046, "image": "photo3.jpg", "fixed": true, "height": 14}, "n11_2": {"width": 5, "mass": 10, "y": 0.19948313851029667, "color": "rgba(255,255,255,0.33)", "x": -0.7777439005070599, "image": "photo2.jpg", "fixed": true, "height": 5}, "n28_8": {"width": 5, "mass": 10, "y": -0.38485035550481234, "color": "rgba(255,255,255,0.33)", "x": -0.7017561739888978, "image": "photo3.jpg", "fixed": true, "height": 5}, "n20_1": {"width": 32, "mass": 10, "y": 0.7613837698449379, "color": "rgba(52,149,255,0.33)", "x": 0.24669539031017235, "image": "photo4.jpg", "fixed": true, "height": 32}, "n20_2": {"width": 32, "mass": 10, "y": 0.7588103075282726, "color": "rgba(52,149,255,0.33)", "x": 0.2463224422276938, "image": "photo4.jpg", "fixed": true, "height": 32}, "n20_3": {"width": 32, "mass": 10, "y": 0.7584371553507435, "color": "rgba(52,149,255,0.33)", "x": 0.2469830202872555, "image": "photo5.jpg", "fixed": true, "height": 32}, "n20_4": {"width": 11, "mass": 10, "y": 0.7573822690713563, "color": "rgba(255,0,0,0.33)", "x": 0.2460332819179402, "image": "photo3.jpg", "fixed": true, "height": 11}, "n20_5": {"width": 7, "mass": 10, "y": 0.7609422536790558, "color": "rgba(255,255,0,0.33)", "x": 0.2475727237810985, "image": "photo1.jpg", "fixed": true, "height": 7}, "n20_6": {"width": 7, "mass": 10, "y": 0.760820660897869, "color": "rgba(255,255,0,0.33)", "x": 0.24626312081263527, "image": "photo2.jpg", "fixed": true, "height": 7}, "n20_7": {"width": 7, "mass": 10, "y": 0.7642561959492524, "color": "rgba(255,255,0,0.33)", "x": 0.24724193900079167, "image": "photo2.jpg", "fixed": true, "height": 7}, "n20_8": {"width": 5, "mass": 10, "y": 0.7589761831956174, "color": "rgba(255,255,255,0.33)", "x": 0.2481864208458187, "image": "photo4.jpg", "fixed": true, "height": 5}, "n28_1": {"width": 15, "mass": 10, "y": -0.3848662151982947, "color": "rgba(52,149,255,0.33)", "x": -0.6984665957870325, "image": "photo4.jpg", "fixed": true, "height": 15}, "n13_4": {"width": 9, "mass": 10, "y": 0.6741983276931309, "color": "rgba(255,255,0,0.33)", "x": 0.4266129504396739, "image": "photo5.jpg", "fixed": true, "height": 9}, "n13_5": {"width": 5, "mass": 10, "y": 0.6783299942144199, "color": "rgba(255,255,255,0.33)", "x": 0.42740730857377535, "image": "photo5.jpg", "fixed": true, "height": 5}, "n13_2": {"width": 45, "mass": 10, "y": 0.6727386940847, "color": "rgba(52,149,255,0.33)", "x": 0.42746785552394, "image": "photo2.jpg", "fixed": true, "height": 45}, "n13_3": {"width": 14, "mass": 10, "y": 0.677842384374323, "color": "rgba(255,0,0,0.33)", "x": 0.4299342387238503, "image": "photo4.jpg", "fixed": true, "height": 14}, "n28_6": {"width": 5, "mass": 10, "y": -0.3854847519918865, "color": "rgba(255,255,0,0.33)", "x": -0.701471868303655, "image": "photo4.jpg", "fixed": true, "height": 5}, "n13_1": {"width": 45, "mass": 10, "y": 0.6779354666701501, "color": "rgba(52,149,255,0.33)", "x": 0.43018715667746005, "image": "photo4.jpg", "fixed": true, "height": 45}, "n14_1": {"width": 5, "mass": 10, "y": -0.6162843098532645, "color": "rgba(255,255,255,0.33)", "x": -0.5088112310806137, "image": "photo2.jpg", "fixed": true, "height": 5}, "n48": {"width": 10, "mass": 10, "y": -0.7608452130361228, "color": "rgba(255,255,255,0.33)", "x": -0.24721359549995806, "image": "photo3.jpg", "fixed": true, "height": 10}, "n21_1": {"width": 15, "mass": 10, "y": 0.788302204630518, "color": "rgba(52,149,255,0.33)", "x": 0.14982325411667097, "image": "photo4.jpg", "fixed": true, "height": 15}, "n21_3": {"width": 5, "mass": 10, "y": 0.7866908906830686, "color": "rgba(255,255,255,0.33)", "x": 0.15012150079929482, "image": "photo1.jpg", "fixed": true, "height": 5}, "n21_2": {"width": 5, "mass": 10, "y": 0.7830697024380439, "color": "rgba(255,255,0,0.33)", "x": 0.15008918342133618, "image": "photo4.jpg", "fixed": true, "height": 5}, "n50": {"width": 10, "mass": 10, "y": -0.47022820183397807, "color": "rgba(255,255,255,0.33)", "x": 0.6472135954999583, "image": "photo5.jpg", "fixed": true, "height": 10}, "n23_6": {"width": 5, "mass": 10, "y": 0.7255358638754819, "color": "rgba(255,255,255,0.33)", "x": -0.3398599836093813, "image": "photo2.jpg", "fixed": true, "height": 5}, "n23_5": {"width": 5, "mass": 10, "y": 0.7233885789962465, "color": "rgba(255,255,255,0.33)", "x": -0.34155174933579624, "image": "photo1.jpg", "fixed": true, "height": 5}, "n23_4": {"width": 5, "mass": 10, "y": 0.7220976800479788, "color": "rgba(255,255,255,0.33)", "x": -0.3406865639061677, "image": "photo3.jpg", "fixed": true, "height": 5}, "n23_3": {"width": 5, "mass": 10, "y": 0.7240635812062822, "color": "rgba(255,0,0,0.33)", "x": -0.34025480069400016, "image": "photo4.jpg", "fixed": true, "height": 5}, "n23_2": {"width": 14, "mass": 10, "y": 0.7232331006051895, "color": "rgba(52,149,255,0.33)", "x": -0.340865037040567, "image": "photo2.jpg", "fixed": true, "height": 14}, "n23_1": {"width": 14, "mass": 10, "y": 0.7225409002493933, "color": "rgba(52,149,255,0.33)", "x": -0.34186957941930995, "image": "photo1.jpg", "fixed": true, "height": 14}, "n8": {"width": 90, "mass": 10, "y": 0.2944996421477424, "color": "rgba(52,149,255,0.33)", "x": 0.7438211887106011, "image": "photo2.jpg", "fixed": true, "height": 90}, "n9": {"width": 90, "mass": 10, "y": -0.547637684742951, "color": "rgba(52,149,255,0.33)", "x": -0.5831749019371293, "image": "photo5.jpg", "fixed": true, "height": 90}, "n25_5": {"width": 5, "mass": 10, "y": 0.6179477146145389, "color": "rgba(255,255,255,0.33)", "x": 0.5095501113186369, "image": "photo4.jpg", "fixed": true, "height": 5}, "n16_2": {"width": 12, "mass": 10, "y": -0.8003759540914763, "color": "rgba(255,0,0,0.33)", "x": 0.050435696978869, "image": "photo1.jpg", "fixed": true, "height": 12}, "n16_1": {"width": 28, "mass": 10, "y": -0.7992772853627121, "color": "rgba(52,149,255,0.33)", "x": 0.05009028668576268, "image": "photo2.jpg", "fixed": true, "height": 28}, "n25_1": {"width": 14, "mass": 10, "y": 0.6151584783575127, "color": "rgba(52,149,255,0.33)", "x": 0.5119084288278117, "image": "photo2.jpg", "fixed": true, "height": 14}, "n25_3": {"width": 12, "mass": 10, "y": 0.6157754835513837, "color": "rgba(52,149,255,0.33)", "x": 0.5116291183816015, "image": "photo2.jpg", "fixed": true, "height": 12}, "n25_2": {"width": 14, "mass": 10, "y": 0.6142635023889843, "color": "rgba(52,149,255,0.33)", "x": 0.5084244853227046, "image": "photo2.jpg", "fixed": true, "height": 14}, "n27_2": {"width": 5, "mass": 10, "y": 0.7863328181870233, "color": "rgba(255,255,255,0.33)", "x": -0.14957529400739872, "image": "photo3.jpg", "fixed": true, "height": 5}, "n27_1": {"width": 5, "mass": 10, "y": 0.7839719115784817, "color": "rgba(255,255,0,0.33)", "x": -0.15048250032069166, "image": "photo3.jpg", "fixed": true, "height": 5}, "n18_1": {"width": 5, "mass": 10, "y": 0.0, "color": "rgba(255,255,255,0.33)", "x": 0.801764826980039, "image": "photo5.jpg", "fixed": true, "height": 5}, "n18_3": {"width": 5, "mass": 10, "y": 0.0, "color": "rgba(255,255,255,0.33)", "x": 0.8028716210767888, "image": "photo2.jpg", "fixed": true, "height": 5}, "n18_2": {"width": 5, "mass": 10, "y": 0.0, "color": "rgba(255,255,255,0.33)", "x": 0.8017225918220803, "image": "photo2.jpg", "fixed": true, "height": 5}, "n29": {"width": 30, "mass": 10, "y": 0.7238616419728157, "color": "rgba(255,0,0,0.33)", "x": 0.3406234332520581, "image": "photo5.jpg", "fixed": true, "height": 30}, "n28": {"width": 30, "mass": 10, "y": -0.3854029392813723, "color": "rgba(255,0,0,0.33)", "x": -0.7010453440350908, "image": "photo2.jpg", "fixed": true, "height": 30}, "n23": {"width": 30, "mass": 10, "y": 0.7238616419728157, "color": "rgba(255,0,0,0.33)", "x": -0.3406234332520582, "image": "photo5.jpg", "fixed": true, "height": 30}, "n22": {"width": 30, "mass": 10, "y": 0.7984213827426173, "color": "rgba(255,0,0,0.33)", "x": 0.05023241562345065, "image": "photo4.jpg", "fixed": true, "height": 30}, "n21": {"width": 30, "mass": 10, "y": 0.785829800582951, "color": "rgba(255,0,0,0.33)", "x": 0.14990505166857962, "image": "photo3.jpg", "fixed": true, "height": 30}, "n20": {"width": 70, "mass": 10, "y": 0.7608452130361228, "color": "rgba(52,149,255,0.33)", "x": 0.24721359549995797, "image": "photo3.jpg", "fixed": true, "height": 70}, "n27": {"width": 30, "mass": 10, "y": 0.7858298005829509, "color": "rgba(255,0,0,0.33)", "x": -0.14990505166857987, "image": "photo3.jpg", "fixed": true, "height": 30}, "n26": {"width": 30, "mass": 10, "y": -0.47022820183397873, "color": "rgba(255,0,0,0.33)", "x": -0.6472135954999578, "image": "photo4.jpg", "fixed": true, "height": 30}, "n25": {"width": 30, "mass": 10, "y": 0.6164105942206315, "color": "rgba(255,0,0,0.33)", "x": 0.5099391917989518, "image": "photo2.jpg", "fixed": true, "height": 30}, "n24": {"width": 30, "mass": 10, "y": 0.7608452130361228, "color": "rgba(255,0,0,0.33)", "x": -0.24721359549995806, "image": "photo3.jpg", "fixed": true, "height": 30}, "n10_1": {"width": 14, "mass": 10, "y": -2.5752468885649103e-16, "color": "rgba(255,0,0,0.33)", "x": -0.8022261106290902, "image": "photo5.jpg", "fixed": true, "height": 14}, "n9_7": {"width": 14, "mass": 10, "y": -0.5496747789981987, "color": "rgba(255,0,0,0.33)", "x": -0.5828014226261231, "image": "photo5.jpg", "fixed": true, "height": 14}, "n9_4": {"width": 36, "mass": 10, "y": -0.5466839727123521, "color": "rgba(52,149,255,0.33)", "x": -0.5813748583258179, "image": "photo5.jpg", "fixed": true, "height": 36}, "n9_5": {"width": 32, "mass": 10, "y": -0.5499118093596735, "color": "rgba(52,149,255,0.33)", "x": -0.580893612017248, "image": "photo5.jpg", "fixed": true, "height": 32}, "n9_2": {"width": 41, "mass": 10, "y": -0.5458101683925402, "color": "rgba(52,149,255,0.33)", "x": -0.5835907219207228, "image": "photo3.jpg", "fixed": true, "height": 41}, "n9_3": {"width": 41, "mass": 10, "y": -0.5491599685702665, "color": "rgba(52,149,255,0.33)", "x": -0.5825519134440678, "image": "photo1.jpg", "fixed": true, "height": 41}, "n9_1": {"width": 45, "mass": 10, "y": -0.5453659721025973, "color": "rgba(52,149,255,0.33)", "x": -0.5833909754807919, "image": "photo1.jpg", "fixed": true, "height": 45}, "n9_8": {"width": 14, "mass": 10, "y": -0.5486991603374366, "color": "rgba(255,0,0,0.33)", "x": -0.5830740567786749, "image": "photo3.jpg", "fixed": true, "height": 14}, "n9_9": {"width": 5, "mass": 10, "y": -0.5495302670340118, "color": "rgba(255,255,255,0.33)", "x": -0.5808251582578895, "image": "photo3.jpg", "fixed": true, "height": 5}, "n12_7": {"width": 5, "mass": 10, "y": 0.10029111401040162, "color": "rgba(255,255,255,0.33)", "x": 0.7972219604085642, "image": "photo2.jpg", "fixed": true, "height": 5}, "n12_6": {"width": 9, "mass": 10, "y": 0.10024362288747526, "color": "rgba(255,255,0,0.33)", "x": 0.793458296474629, "image": "photo2.jpg", "fixed": true, "height": 9}, "n12_5": {"width": 41, "mass": 10, "y": 0.10048219250895137, "color": "rgba(52,149,255,0.33)", "x": 0.7970206243626472, "image": "photo5.jpg", "fixed": true, "height": 41}, "n12_4": {"width": 41, "mass": 10, "y": 0.10069503029828812, "color": "rgba(52,149,255,0.33)", "x": 0.7931081801508473, "image": "photo3.jpg", "fixed": true, "height": 41}, "n12_3": {"width": 41, "mass": 10, "y": 0.09977397982317683, "color": "rgba(52,149,255,0.33)", "x": 0.7965324891706064, "image": "photo4.jpg", "fixed": true, "height": 41}, "n12_2": {"width": 41, "mass": 10, "y": 0.10049951935032744, "color": "rgba(52,149,255,0.33)", "x": 0.7908352691586429, "image": "photo4.jpg", "fixed": true, "height": 41}, "n12_1": {"width": 41, "mass": 10, "y": 0.10016243983417929, "color": "rgba(52,149,255,0.33)", "x": 0.793776560045695, "image": "photo4.jpg", "fixed": true, "height": 41}, "n25_4": {"width": 5, "mass": 10, "y": 0.6176107230115504, "color": "rgba(255,0,0,0.33)", "x": 0.5116296215169256, "image": "photo5.jpg", "fixed": true, "height": 5}, "n0": {"width": 200, "main": true, "mass": 200, "y": 0, "color": "rgba(255,255,255,0.01)", "x": 0, "image": "photo3.jpg", "fixed": true, "height": 200}, "n1": {"width": 100, "mass": 10, "y": -0.6164105942206313, "color": "rgba(52,149,255,0.33)", "x": 0.509939191798952, "image": "photo2.jpg", "fixed": true, "height": 100}, "n2": {"width": 100, "mass": 10, "y": 0.3854029392813722, "color": "rgba(52,149,255,0.33)", "x": -0.7010453440350909, "image": "photo2.jpg", "fixed": true, "height": 100}, "n3": {"width": 100, "mass": 10, "y": 0.547637684742951, "color": "rgba(52,149,255,0.33)", "x": 0.5831749019371293, "image": "photo1.jpg", "fixed": true, "height": 100}, "n4": {"width": 100, "mass": 10, "y": 0.7984213827426173, "color": "rgba(52,149,255,0.33)", "x": -0.050232415623450724, "image": "photo1.jpg", "fixed": true, "height": 100}, "n5": {"width": 100, "mass": 10, "y": -0.675462340401612, "color": "rgba(52,149,255,0.33)", "x": 0.42866143598319745, "image": "photo5.jpg", "fixed": true, "height": 100}, "n6": {"width": 90, "mass": 10, "y": 0.675462340401612, "color": "rgba(52,149,255,0.33)", "x": -0.4286614359831975, "image": "photo4.jpg", "fixed": true, "height": 90}, "n7": {"width": 90, "mass": 10, "y": -0.38540293928137226, "color": "rgba(52,149,255,0.33)", "x": 0.7010453440350909, "image": "photo5.jpg", "fixed": true, "height": 90}}, "repulsion": 2200, "fps": 15, "stiffness": 900, "edges": {"n12": {"n12_7": {}, "n12_6": {}, "n12_5": {}, "n12_4": {}, "n12_3": {}, "n12_2": {}, "n12_1": {}}, "n13": {"n13_4": {}, "n13_5": {}, "n13_2": {}, "n13_3": {}, "n13_1": {}}, "n10": {"n10_1": {}, "n10_2": {}}, "n11": {"n11_1": {}, "n11_2": {}}, "n16": {"n16_2": {}, "n16_1": {}}, "n17": {"n17_2": {}, "n17_3": {}, "n17_1": {}}, "n14": {"n14_1": {}}, "n15": {"n15_1": {}, "n15_2": {}}, "n18": {"n18_1": {}, "n18_3": {}, "n18_2": {}}, "n19": {"n19_1": {}, "n19_2": {}, "n19_3": {}, "n19_4": {}, "n19_5": {}}, "n50": {}, "n38": {}, "n39": {}, "n30": {"n30_6": {}, "n30_5": {}, "n30_4": {}, "n30_3": {}, "n30_2": {}, "n30_1": {}}, "n31": {}, "n32": {}, "n33": {}, "n34": {}, "n35": {}, "n36": {}, "n37": {}, "n49": {}, "n48": {}, "n41": {}, "n40": {}, "n43": {}, "n42": {}, "n45": {}, "n44": {}, "n47": {}, "n46": {}, "n29": {"n29_1": {}, "n29_2": {}}, "n28": {"n28_8": {}, "n28_9": {}, "n28_1": {}, "n28_2": {}, "n28_3": {}, "n28_4": {}, "n28_5": {}, "n28_6": {}, "n28_7": {}}, "n23": {"n23_6": {}, "n23_5": {}, "n23_4": {}, "n23_3": {}, "n23_2": {}, "n23_1": {}}, "n22": {"n22_6": {}, "n22_7": {}, "n22_4": {}, "n22_5": {}, "n22_2": {}, "n22_3": {}, "n22_1": {}}, "n21": {"n21_1": {}, "n21_3": {}, "n21_2": {}}, "n20": {"n20_1": {}, "n20_2": {}, "n20_3": {}, "n20_4": {}, "n20_5": {}, "n20_6": {}, "n20_7": {}, "n20_8": {}}, "n27": {"n27_2": {}, "n27_1": {}}, "n26": {"n26_2": {}, "n26_3": {}, "n26_1": {}, "n26_4": {}}, "n25": {"n25_5": {}, "n25_4": {}, "n25_1": {}, "n25_3": {}, "n25_2": {}}, "n24": {"n24_1": {}, "n24_2": {}, "n24_3": {}}, "n8": {"n8_3": {}, "n8_2": {}, "n8_1": {}}, "n9": {"n9_6": {}, "n9_7": {}, "n9_4": {}, "n9_5": {}, "n9_2": {}, "n9_3": {}, "n9_1": {}, "n9_8": {}, "n9_9": {}, "n9_10": {}}, "n0": {"n12": {}, "n13": {}, "n10": {}, "n11": {}, "n16": {}, "n17": {}, "n14": {}, "n15": {}, "n18": {}, "n19": {}, "n50": {}, "n38": {}, "n39": {}, "n30": {}, "n31": {}, "n32": {}, "n33": {}, "n34": {}, "n35": {}, "n36": {}, "n37": {}, "n49": {}, "n48": {}, "n41": {}, "n40": {}, "n43": {}, "n42": {}, "n45": {}, "n44": {}, "n47": {}, "n46": {}, "n29": {}, "n28": {}, "n23": {}, "n22": {}, "n21": {}, "n20": {}, "n27": {}, "n26": {}, "n25": {}, "n24": {}, "n8": {}, "n9": {}, "n1": {}, "n2": {}, "n3": {}, "n4": {}, "n5": {}, "n6": {}, "n7": {}}, "n1": {"n1_6": {}, "n1_7": {}, "n1_4": {}, "n1_5": {}, "n1_2": {}, "n1_3": {}, "n1_1": {}}, "n2": {"n2_1": {}, "n2_3": {}, "n2_2": {}}, "n3": {"n3_1": {}, "n3_2": {}, "n3_3": {}, "n3_4": {}, "n3_5": {}}, "n4": {"n4_3": {}, "n4_2": {}, "n4_1": {}, "n4_7": {}, "n4_6": {}, "n4_5": {}, "n4_4": {}}, "n5": {"n5_2": {}, "n5_3": {}, "n5_1": {}}, "n6": {"n6_1": {}, "n6_2": {}}, "n7": {"n7_4": {}, "n7_5": {}, "n7_6": {}, "n7_7": {}, "n7_1": {}, "n7_2": {}, "n7_3": {}}}, "dt": 0.005, "precision": 0.1, "friction": 0, "gravity": true}
+{"nodes": {"n7_1": {"width": 45, "mass": 10, "y": 0.7893217399077627, "color": "rgba(52,149,255,0.33)", "x": 0.15005213455419858, "image": "photo4.jpg", "fixed": true, "height": 45}, "n7_2": {"width": 41, "mass": 10, "y": 0.7841863392946047, "color": "rgba(52,149,255,0.33)", "x": 0.1493335797602315, "image": "photo3.jpg", "fixed": true, "height": 41}, "n7_3": {"width": 41, "mass": 10, "y": 0.7824780768809887, "color": "rgba(52,149,255,0.33)", "x": 0.14926528148405588, "image": "photo4.jpg", "fixed": true, "height": 41}, "n5_2": {"width": 10, "mass": 10, "y": -0.785700948915822, "color": "rgba(255,255,0,0.33)", "x": 0.15020831641984914, "image": "photo4.jpg", "fixed": true, "height": 10}, "n39": {"width": 20, "mass": 10, "y": 0.4702282018339785, "color": "rgba(255,255,0,0.33)", "x": 0.647213595499958, "image": "photo2.jpg", "fixed": true, "height": 20}, "n5_1": {"width": 50, "mass": 10, "y": -0.7851942317877408, "color": "rgba(52,149,255,0.33)", "x": 0.14964514681243218, "image": "photo5.jpg", "fixed": true, "height": 50}, "n25_3": {"width": 5, "mass": 10, "y": -0.4684402472362716, "color": "rgba(255,255,0,0.33)", "x": 0.6449510253390779, "image": "photo4.jpg", "fixed": true, "height": 5}, "n30": {"width": 30, "mass": 10, "y": -0.10026658685144343, "color": "rgba(255,0,0,0.33)", "x": -0.7936917610515823, "image": "photo1.jpg", "fixed": true, "height": 30}, "n31": {"width": 20, "mass": 10, "y": -0.6164105942206313, "color": "rgba(255,255,0,0.33)", "x": 0.509939191798952, "image": "photo4.jpg", "fixed": true, "height": 20}, "n32": {"width": 20, "mass": 10, "y": 0.7238616419728157, "color": "rgba(255,255,0,0.33)", "x": -0.3406234332520582, "image": "photo4.jpg", "fixed": true, "height": 20}, "n25_2": {"width": 15, "mass": 10, "y": -0.46844681967747115, "color": "rgba(52,149,255,0.33)", "x": 0.6464411186369579, "image": "photo3.jpg", "fixed": true, "height": 15}, "n34": {"width": 20, "mass": 10, "y": -0.10026658685144303, "color": "rgba(255,255,0,0.33)", "x": 0.7936917610515823, "image": "photo4.jpg", "fixed": true, "height": 20}, "n35": {"width": 20, "mass": 10, "y": -0.19895190973188404, "color": "rgba(255,255,0,0.33)", "x": -0.7748665289029049, "image": "photo4.jpg", "fixed": true, "height": 20}, "n25_5": {"width": 5, "mass": 10, "y": -0.4691816910472591, "color": "rgba(255,255,255,0.33)", "x": 0.6448054966827506, "image": "photo5.jpg", "fixed": true, "height": 5}, "n37": {"width": 20, "mass": 10, "y": -0.7238616419728159, "color": "rgba(255,255,0,0.33)", "x": -0.34062343325205774, "image": "photo4.jpg", "fixed": true, "height": 20}, "n24_4": {"width": 5, "mass": 10, "y": -0.7964163393981105, "color": "rgba(255,0,0,0.33)", "x": -0.05016972298400358, "image": "photo2.jpg", "fixed": true, "height": 5}, "n24_5": {"width": 5, "mass": 10, "y": -0.7960210834110735, "color": "rgba(255,0,0,0.33)", "x": -0.04998147676700396, "image": "photo1.jpg", "fixed": true, "height": 5}, "n3_1": {"width": 45, "mass": 10, "y": -0.38445401245582905, "color": "rgba(52,149,255,0.33)", "x": 0.7000986072583119, "image": "photo2.jpg", "fixed": true, "height": 45}, "n8_5": {"width": 5, "mass": 10, "y": 0.799731720601226, "color": "rgba(255,255,255,0.33)", "x": -0.05046226846383697, "image": "photo2.jpg", "fixed": true, "height": 5}, "n8_4": {"width": 5, "mass": 10, "y": 0.8005596086765344, "color": "rgba(255,255,255,0.33)", "x": -0.05010397241311434, "image": "photo3.jpg", "fixed": true, "height": 5}, "n8_3": {"width": 5, "mass": 10, "y": 0.8002519185372947, "color": "rgba(255,255,255,0.33)", "x": -0.050458087881088715, "image": "photo3.jpg", "fixed": true, "height": 5}, "n8_2": {"width": 9, "mass": 10, "y": 0.8015710782154198, "color": "rgba(255,255,0,0.33)", "x": -0.0501417216049674, "image": "photo1.jpg", "fixed": true, "height": 9}, "n8_1": {"width": 32, "mass": 10, "y": 0.7975246116808874, "color": "rgba(52,149,255,0.33)", "x": -0.05030267131174095, "image": "photo1.jpg", "fixed": true, "height": 32}, "n24_7": {"width": 5, "mass": 10, "y": -0.7985057748745393, "color": "rgba(255,255,255,0.33)", "x": -0.05010805147748001, "image": "photo4.jpg", "fixed": true, "height": 5}, "n28_5": {"width": 5, "mass": 10, "y": 0.7985361725520982, "color": "rgba(255,255,255,0.33)", "x": 0.050403220623042644, "image": "photo4.jpg", "fixed": true, "height": 5}, "n1_6": {"width": 10, "mass": 10, "y": -0.6772956948082809, "color": "rgba(255,255,0,0.33)", "x": 0.4269229157895759, "image": "photo3.jpg", "fixed": true, "height": 10}, "n1_4": {"width": 45, "mass": 10, "y": -0.6745819225244196, "color": "rgba(52,149,255,0.33)", "x": 0.4269291760136858, "image": "photo3.jpg", "fixed": true, "height": 45}, "n1_5": {"width": 10, "mass": 10, "y": -0.6751626859686881, "color": "rgba(255,255,0,0.33)", "x": 0.42949177312255865, "image": "photo4.jpg", "fixed": true, "height": 10}, "n1_2": {"width": 50, "mass": 10, "y": -0.6729323345667898, "color": "rgba(52,149,255,0.33)", "x": 0.42982709983937706, "image": "photo3.jpg", "fixed": true, "height": 50}, "n3_2": {"width": 5, "mass": 10, "y": -0.387040223607922, "color": "rgba(255,255,255,0.33)", "x": 0.7019265104719491, "image": "photo4.jpg", "fixed": true, "height": 5}, "n1_1": {"width": 50, "mass": 10, "y": -0.67724546114866, "color": "rgba(52,149,255,0.33)", "x": 0.4277749684415492, "image": "photo2.jpg", "fixed": true, "height": 50}, "n12": {"width": 90, "mass": 10, "y": 0.6164105942206315, "color": "rgba(52,149,255,0.33)", "x": 0.5099391917989518, "image": "photo5.jpg", "fixed": true, "height": 90}, "n13": {"width": 90, "mass": 10, "y": -0.6754623404016122, "color": "rgba(52,149,255,0.33)", "x": -0.42866143598319706, "image": "photo3.jpg", "fixed": true, "height": 90}, "n10": {"width": 90, "mass": 10, "y": 0.7858298005829509, "color": "rgba(52,149,255,0.33)", "x": -0.14990505166857987, "image": "photo2.jpg", "fixed": true, "height": 90}, "n11": {"width": 90, "mass": 10, "y": 0.10026658685144328, "color": "rgba(52,149,255,0.33)", "x": -0.7936917610515823, "image": "photo2.jpg", "fixed": true, "height": 90}, "n16": {"width": 80, "mass": 10, "y": -0.6164105942206315, "color": "rgba(52,149,255,0.33)", "x": -0.5099391917989516, "image": "photo5.jpg", "fixed": true, "height": 80}, "n17": {"width": 80, "mass": 10, "y": -0.785829800582951, "color": "rgba(52,149,255,0.33)", "x": -0.1499050516685797, "image": "photo5.jpg", "fixed": true, "height": 80}, "n14": {"width": 90, "mass": 10, "y": -0.7608452130361228, "color": "rgba(52,149,255,0.33)", "x": -0.24721359549995806, "image": "photo4.jpg", "fixed": true, "height": 90}, "n15": {"width": 90, "mass": 10, "y": -0.760845213036123, "color": "rgba(52,149,255,0.33)", "x": 0.2472135954999578, "image": "photo4.jpg", "fixed": true, "height": 90}, "n18": {"width": 80, "mass": 10, "y": -0.1989519097318836, "color": "rgba(52,149,255,0.33)", "x": 0.774866528902905, "image": "photo4.jpg", "fixed": true, "height": 80}, "n19": {"width": 70, "mass": 10, "y": 0.5476376847429508, "color": "rgba(52,149,255,0.33)", "x": -0.5831749019371294, "image": "photo4.jpg", "fixed": true, "height": 70}, "n4_3": {"width": 15, "mass": 10, "y": -0.7956115237263682, "color": "rgba(255,0,0,0.33)", "x": 0.05040996105967534, "image": "photo1.jpg", "fixed": true, "height": 15}, "n4_2": {"width": 35, "mass": 10, "y": -0.7953765392376223, "color": "rgba(52,149,255,0.33)", "x": 0.05011076046794111, "image": "photo5.jpg", "fixed": true, "height": 35}, "n4_1": {"width": 45, "mass": 10, "y": -0.7966737607810718, "color": "rgba(52,149,255,0.33)", "x": 0.05047772311562384, "image": "photo5.jpg", "fixed": true, "height": 45}, "n33": {"width": 20, "mass": 10, "y": 0.6754623404016121, "color": "rgba(255,255,0,0.33)", "x": 0.4286614359831973, "image": "photo4.jpg", "fixed": true, "height": 20}, "n36": {"width": 20, "mass": 10, "y": 0.19895190973188384, "color": "rgba(255,255,0,0.33)", "x": 0.7748665289029049, "image": "photo2.jpg", "fixed": true, "height": 20}, "n2_1": {"width": 10, "mass": 10, "y": 0.293132485202132, "color": "rgba(255,255,0,0.33)", "x": 0.7454697643028639, "image": "photo3.jpg", "fixed": true, "height": 10}, "n2_3": {"width": 5, "mass": 10, "y": 0.2937466025789191, "color": "rgba(255,255,255,0.33)", "x": 0.7453692220211183, "image": "photo1.jpg", "fixed": true, "height": 5}, "n2_2": {"width": 5, "mass": 10, "y": 0.2936667170948582, "color": "rgba(255,255,255,0.33)", "x": 0.7416108016159412, "image": "photo5.jpg", "fixed": true, "height": 5}, "n28_1": {"width": 14, "mass": 10, "y": 0.7945765801957607, "color": "rgba(52,149,255,0.33)", "x": 0.05008369767617873, "image": "photo4.jpg", "fixed": true, "height": 14}, "n28_2": {"width": 14, "mass": 10, "y": 0.7995793897196111, "color": "rgba(52,149,255,0.33)", "x": 0.050350220544092425, "image": "photo3.jpg", "fixed": true, "height": 14}, "n28_3": {"width": 12, "mass": 10, "y": 0.7998490307864943, "color": "rgba(52,149,255,0.33)", "x": 0.050289414339771715, "image": "photo4.jpg", "fixed": true, "height": 12}, "n28_4": {"width": 5, "mass": 10, "y": 0.800311434908773, "color": "rgba(255,255,0,0.33)", "x": 0.050077352771380944, "image": "photo4.jpg", "fixed": true, "height": 5}, "n1_3": {"width": 45, "mass": 10, "y": -0.6784702764751354, "color": "rgba(52,149,255,0.33)", "x": 0.42780021364820703, "image": "photo5.jpg", "fixed": true, "height": 45}, "n6_5": {"width": 5, "mass": 10, "y": 0.6142520166415513, "color": "rgba(255,255,255,0.33)", "x": -0.5104182513032829, "image": "photo3.jpg", "fixed": true, "height": 5}, "n6_4": {"width": 9, "mass": 10, "y": 0.6158930954337453, "color": "rgba(255,255,0,0.33)", "x": -0.510430908720158, "image": "photo1.jpg", "fixed": true, "height": 9}, "n29_3": {"width": 5, "mass": 10, "y": 0.19961623184093835, "color": "rgba(255,0,0,0.33)", "x": -0.7740859732427975, "image": "photo3.jpg", "fixed": true, "height": 5}, "n29_2": {"width": 12, "mass": 10, "y": 0.19957645959392217, "color": "rgba(52,149,255,0.33)", "x": -0.7762504108276823, "image": "photo2.jpg", "fixed": true, "height": 12}, "n6_1": {"width": 41, "mass": 10, "y": 0.6157432910303795, "color": "rgba(52,149,255,0.33)", "x": -0.5107196908433117, "image": "photo2.jpg", "fixed": true, "height": 41}, "n29_4": {"width": 5, "mass": 10, "y": 0.19833917059416462, "color": "rgba(255,255,0,0.33)", "x": -0.7717800295304427, "image": "photo5.jpg", "fixed": true, "height": 5}, "n6_3": {"width": 14, "mass": 10, "y": 0.6173642595098593, "color": "rgba(255,0,0,0.33)", "x": -0.5097216414470286, "image": "photo4.jpg", "fixed": true, "height": 14}, "n6_2": {"width": 14, "mass": 10, "y": 0.6141701202471814, "color": "rgba(255,0,0,0.33)", "x": -0.5090407722029133, "image": "photo5.jpg", "fixed": true, "height": 14}, "n22_6": {"width": 5, "mass": 10, "y": -0.2940764892153112, "color": "rgba(255,255,255,0.33)", "x": -0.742237688173895, "image": "photo4.jpg", "fixed": true, "height": 5}, "n22_7": {"width": 5, "mass": 10, "y": -0.2957334659078936, "color": "rgba(255,255,255,0.33)", "x": -0.7423426918142507, "image": "photo3.jpg", "fixed": true, "height": 5}, "n22_4": {"width": 5, "mass": 10, "y": -0.2934976910668886, "color": "rgba(255,255,0,0.33)", "x": -0.7430924462308979, "image": "photo5.jpg", "fixed": true, "height": 5}, "n22_5": {"width": 5, "mass": 10, "y": -0.29480836458044596, "color": "rgba(255,255,0,0.33)", "x": -0.7460901432327915, "image": "photo4.jpg", "fixed": true, "height": 5}, "n22_2": {"width": 5, "mass": 10, "y": -0.29315982587440986, "color": "rgba(255,0,0,0.33)", "x": -0.7401823787998905, "image": "photo5.jpg", "fixed": true, "height": 5}, "n22_3": {"width": 5, "mass": 10, "y": -0.2945816066903547, "color": "rgba(255,0,0,0.33)", "x": -0.745616250206274, "image": "photo4.jpg", "fixed": true, "height": 5}, "n22_1": {"width": 14, "mass": 10, "y": -0.2954620604494277, "color": "rgba(52,149,255,0.33)", "x": -0.7405377681473578, "image": "photo2.jpg", "fixed": true, "height": 14}, "n15_1": {"width": 41, "mass": 10, "y": -0.7629214096460999, "color": "rgba(52,149,255,0.33)", "x": 0.24610219705299305, "image": "photo1.jpg", "fixed": true, "height": 41}, "n15_2": {"width": 41, "mass": 10, "y": -0.7596587566472782, "color": "rgba(52,149,255,0.33)", "x": 0.2473878608308821, "image": "photo4.jpg", "fixed": true, "height": 41}, "n15_3": {"width": 14, "mass": 10, "y": -0.7614489116150032, "color": "rgba(255,0,0,0.33)", "x": 0.24639480892988516, "image": "photo2.jpg", "fixed": true, "height": 14}, "n17_2": {"width": 40, "mass": 10, "y": -0.7833652200943172, "color": "rgba(52,149,255,0.33)", "x": -0.15008181690472885, "image": "photo2.jpg", "fixed": true, "height": 40}, "n17_3": {"width": 40, "mass": 10, "y": -0.7835620743608145, "color": "rgba(52,149,255,0.33)", "x": -0.14949150617011317, "image": "photo1.jpg", "fixed": true, "height": 40}, "n24_6": {"width": 5, "mass": 10, "y": -0.7982051164923364, "color": "rgba(255,0,0,0.33)", "x": -0.0500543001167895, "image": "photo4.jpg", "fixed": true, "height": 5}, "n17_1": {"width": 40, "mass": 10, "y": -0.7838624107347739, "color": "rgba(52,149,255,0.33)", "x": -0.1495253690553575, "image": "photo3.jpg", "fixed": true, "height": 40}, "n17_6": {"width": 8, "mass": 10, "y": -0.7845606952776699, "color": "rgba(255,255,0,0.33)", "x": -0.14928669456946564, "image": "photo2.jpg", "fixed": true, "height": 8}, "n24_1": {"width": 15, "mass": 10, "y": -0.7962367733031996, "color": "rgba(52,149,255,0.33)", "x": -0.050384208578705854, "image": "photo1.jpg", "fixed": true, "height": 15}, "n17_4": {"width": 32, "mass": 10, "y": -0.7834870278376047, "color": "rgba(52,149,255,0.33)", "x": -0.1496106319295746, "image": "photo3.jpg", "fixed": true, "height": 32}, "n17_5": {"width": 8, "mass": 10, "y": -0.7836806509171592, "color": "rgba(255,255,0,0.33)", "x": -0.1498431566741917, "image": "photo5.jpg", "fixed": true, "height": 8}, "n24_8": {"width": 5, "mass": 10, "y": -0.8018308633381062, "color": "rgba(255,255,255,0.33)", "x": -0.050177832024713626, "image": "photo5.jpg", "fixed": true, "height": 5}, "n19_1": {"width": 32, "mass": 10, "y": 0.5467978825475324, "color": "rgba(52,149,255,0.33)", "x": -0.5830795079757013, "image": "photo2.jpg", "fixed": true, "height": 32}, "n19_2": {"width": 32, "mass": 10, "y": 0.5495084917878011, "color": "rgba(52,149,255,0.33)", "x": -0.5811116072388337, "image": "photo5.jpg", "fixed": true, "height": 32}, "n19_3": {"width": 11, "mass": 10, "y": 0.5451601023573127, "color": "rgba(255,0,0,0.33)", "x": -0.5821877682614853, "image": "photo2.jpg", "fixed": true, "height": 11}, "n19_4": {"width": 7, "mass": 10, "y": 0.5465910092287278, "color": "rgba(255,255,0,0.33)", "x": -0.5852365065570995, "image": "photo5.jpg", "fixed": true, "height": 7}, "n19_5": {"width": 5, "mass": 10, "y": 0.5449593991913975, "color": "rgba(255,255,255,0.33)", "x": -0.5829090451231057, "image": "photo1.jpg", "fixed": true, "height": 5}, "n38": {"width": 20, "mass": 10, "y": 0.7608452130361228, "color": "rgba(255,255,0,0.33)", "x": -0.24721359549995806, "image": "photo3.jpg", "fixed": true, "height": 20}, "n26_2": {"width": 14, "mass": 10, "y": 0.1006312691298626, "color": "rgba(52,149,255,0.33)", "x": 0.7898495297912909, "image": "photo5.jpg", "fixed": true, "height": 14}, "n26_3": {"width": 5, "mass": 10, "y": 0.10072644644881741, "color": "rgba(255,0,0,0.33)", "x": 0.7909067006357007, "image": "photo5.jpg", "fixed": true, "height": 5}, "n26_1": {"width": 15, "mass": 10, "y": 0.10072572871143251, "color": "rgba(52,149,255,0.33)", "x": 0.7962002210905408, "image": "photo2.jpg", "fixed": true, "height": 15}, "n26_6": {"width": 5, "mass": 10, "y": 0.10052296908452542, "color": "rgba(255,255,255,0.33)", "x": 0.7936325511163063, "image": "photo1.jpg", "fixed": true, "height": 5}, "n26_7": {"width": 5, "mass": 10, "y": 0.10008397295894761, "color": "rgba(255,255,255,0.33)", "x": 0.796937119478858, "image": "photo3.jpg", "fixed": true, "height": 5}, "n26_4": {"width": 5, "mass": 10, "y": 0.09982848877720758, "color": "rgba(255,0,0,0.33)", "x": 0.790847256617282, "image": "photo5.jpg", "fixed": true, "height": 5}, "n26_5": {"width": 5, "mass": 10, "y": 0.10026726187594662, "color": "rgba(255,255,0,0.33)", "x": 0.792912287561855, "image": "photo4.jpg", "fixed": true, "height": 5}, "n49": {"width": 10, "mass": 10, "y": -0.2944996421477423, "color": "rgba(255,255,255,0.33)", "x": 0.7438211887106012, "image": "photo5.jpg", "fixed": true, "height": 10}, "n48": {"width": 10, "mass": 10, "y": -2.572996239482619e-16, "color": "rgba(255,255,255,0.33)", "x": -0.8, "image": "photo4.jpg", "fixed": true, "height": 10}, "n41": {"width": 10, "mass": 10, "y": 0.38540293928137226, "color": "rgba(255,255,255,0.33)", "x": 0.7010453440350909, "image": "photo2.jpg", "fixed": true, "height": 10}, "n40": {"width": 20, "mass": 10, "y": 0.3854029392813722, "color": "rgba(255,255,0,0.33)", "x": -0.7010453440350909, "image": "photo3.jpg", "fixed": true, "height": 20}, "n43": {"width": 10, "mass": 10, "y": -0.7238616419728157, "color": "rgba(255,255,255,0.33)", "x": 0.3406234332520581, "image": "photo5.jpg", "fixed": true, "height": 10}, "n24_3": {"width": 5, "mass": 10, "y": -0.8006194308153647, "color": "rgba(255,0,0,0.33)", "x": -0.050418125971104726, "image": "photo5.jpg", "fixed": true, "height": 5}, "n45": {"width": 10, "mass": 10, "y": 0.7608452130361228, "color": "rgba(255,255,255,0.33)", "x": 0.24721359549995797, "image": "photo3.jpg", "fixed": true, "height": 10}, "n9_4": {"width": 9, "mass": 10, "y": -0.38569095885747734, "color": "rgba(255,255,0,0.33)", "x": -0.7015901761825644, "image": "photo4.jpg", "fixed": true, "height": 9}, "n47": {"width": 10, "mass": 10, "y": 0.7238616419728157, "color": "rgba(255,255,255,0.33)", "x": 0.3406234332520581, "image": "photo1.jpg", "fixed": true, "height": 10}, "n46": {"width": 10, "mass": 10, "y": 0.547637684742951, "color": "rgba(255,255,255,0.33)", "x": 0.5831749019371293, "image": "photo3.jpg", "fixed": true, "height": 10}, "n10_2": {"width": 41, "mass": 10, "y": 0.7889340482157122, "color": "rgba(52,149,255,0.33)", "x": -0.1502008555709539, "image": "photo1.jpg", "fixed": true, "height": 41}, "n30_5": {"width": 5, "mass": 10, "y": -0.1003494339869452, "color": "rgba(255,255,0,0.33)", "x": -0.7951194373494277, "image": "photo1.jpg", "fixed": true, "height": 5}, "n30_4": {"width": 5, "mass": 10, "y": -0.10072762748555814, "color": "rgba(255,255,0,0.33)", "x": -0.792808765415804, "image": "photo1.jpg", "fixed": true, "height": 5}, "n30_3": {"width": 5, "mass": 10, "y": -0.10072385313028304, "color": "rgba(255,0,0,0.33)", "x": -0.7962538424303774, "image": "photo5.jpg", "fixed": true, "height": 5}, "n30_2": {"width": 5, "mass": 10, "y": -0.10005409258287565, "color": "rgba(255,0,0,0.33)", "x": -0.7941802682263861, "image": "photo4.jpg", "fixed": true, "height": 5}, "n30_1": {"width": 14, "mass": 10, "y": -0.1003459214398122, "color": "rgba(52,149,255,0.33)", "x": -0.7941978557937803, "image": "photo5.jpg", "fixed": true, "height": 14}, "n9_3": {"width": 14, "mass": 10, "y": -0.38528792683604085, "color": "rgba(255,0,0,0.33)", "x": -0.6993515895755851, "image": "photo2.jpg", "fixed": true, "height": 14}, "n11_8": {"width": 5, "mass": 10, "y": 0.10062203632676704, "color": "rgba(255,255,255,0.33)", "x": -0.7930468078284157, "image": "photo5.jpg", "fixed": true, "height": 5}, "n11_1": {"width": 41, "mass": 10, "y": 0.10002611015775585, "color": "rgba(52,149,255,0.33)", "x": -0.7908911596577812, "image": "photo3.jpg", "fixed": true, "height": 41}, "n11_2": {"width": 41, "mass": 10, "y": 0.10024536707140096, "color": "rgba(52,149,255,0.33)", "x": -0.7928609155072293, "image": "photo3.jpg", "fixed": true, "height": 41}, "n11_3": {"width": 14, "mass": 10, "y": 0.100248993655518, "color": "rgba(255,0,0,0.33)", "x": -0.7921390696809016, "image": "photo2.jpg", "fixed": true, "height": 14}, "n11_4": {"width": 14, "mass": 10, "y": 0.10072481249568052, "color": "rgba(255,0,0,0.33)", "x": -0.7929580804391237, "image": "photo4.jpg", "fixed": true, "height": 14}, "n11_5": {"width": 9, "mass": 10, "y": 0.10037733628198765, "color": "rgba(255,255,0,0.33)", "x": -0.7946616449352076, "image": "photo3.jpg", "fixed": true, "height": 9}, "n11_6": {"width": 5, "mass": 10, "y": 0.0997922184277371, "color": "rgba(255,255,255,0.33)", "x": -0.7973114801010608, "image": "photo5.jpg", "fixed": true, "height": 5}, "n11_7": {"width": 5, "mass": 10, "y": 0.10053792283757998, "color": "rgba(255,255,255,0.33)", "x": -0.7920144355135658, "image": "photo3.jpg", "fixed": true, "height": 5}, "n20_1": {"width": 7, "mass": 10, "y": 0.0, "color": "rgba(255,255,0,0.33)", "x": 0.8033339493756331, "image": "photo4.jpg", "fixed": true, "height": 7}, "n20_2": {"width": 5, "mass": 10, "y": 0.0, "color": "rgba(255,255,255,0.33)", "x": 0.7967764888573972, "image": "photo5.jpg", "fixed": true, "height": 5}, "n13_8": {"width": 5, "mass": 10, "y": -0.6766419232239475, "color": "rgba(255,255,255,0.33)", "x": -0.42959846750161335, "image": "photo1.jpg", "fixed": true, "height": 5}, "n13_6": {"width": 9, "mass": 10, "y": -0.675912042563744, "color": "rgba(255,255,0,0.33)", "x": -0.430645362771189, "image": "photo5.jpg", "fixed": true, "height": 9}, "n13_7": {"width": 5, "mass": 10, "y": -0.6732131776358424, "color": "rgba(255,255,255,0.33)", "x": -0.4274982461911921, "image": "photo4.jpg", "fixed": true, "height": 5}, "n13_4": {"width": 9, "mass": 10, "y": -0.6778306432812048, "color": "rgba(255,255,0,0.33)", "x": -0.42779041238482585, "image": "photo4.jpg", "fixed": true, "height": 9}, "n13_5": {"width": 9, "mass": 10, "y": -0.6783835608987082, "color": "rgba(255,255,0,0.33)", "x": -0.4267787249225639, "image": "photo2.jpg", "fixed": true, "height": 9}, "n13_2": {"width": 14, "mass": 10, "y": -0.6764915584252311, "color": "rgba(255,0,0,0.33)", "x": -0.42966109684056786, "image": "photo3.jpg", "fixed": true, "height": 14}, "n13_3": {"width": 14, "mass": 10, "y": -0.6736274378942984, "color": "rgba(255,0,0,0.33)", "x": -0.42968019110886124, "image": "photo2.jpg", "fixed": true, "height": 14}, "n13_1": {"width": 45, "mass": 10, "y": -0.678645081457558, "color": "rgba(52,149,255,0.33)", "x": -0.42805475439762186, "image": "photo5.jpg", "fixed": true, "height": 45}, "n14_5": {"width": 14, "mass": 10, "y": -0.7598748673445211, "color": "rgba(255,0,0,0.33)", "x": -0.246349572087711, "image": "photo2.jpg", "fixed": true, "height": 14}, "n14_4": {"width": 32, "mass": 10, "y": -0.7585915204195296, "color": "rgba(52,149,255,0.33)", "x": -0.24804247360585008, "image": "photo1.jpg", "fixed": true, "height": 32}, "n14_7": {"width": 5, "mass": 10, "y": -0.7591004033618952, "color": "rgba(255,255,255,0.33)", "x": -0.24780803473303173, "image": "photo1.jpg", "fixed": true, "height": 5}, "n14_6": {"width": 5, "mass": 10, "y": -0.7589499447234422, "color": "rgba(255,255,255,0.33)", "x": -0.24770606789276392, "image": "photo4.jpg", "fixed": true, "height": 5}, "n14_1": {"width": 45, "mass": 10, "y": -0.7612539534145981, "color": "rgba(52,149,255,0.33)", "x": -0.2473970459795487, "image": "photo3.jpg", "fixed": true, "height": 45}, "n14_3": {"width": 36, "mass": 10, "y": -0.7608430338981367, "color": "rgba(52,149,255,0.33)", "x": -0.2461449810309753, "image": "photo3.jpg", "fixed": true, "height": 36}, "n14_2": {"width": 45, "mass": 10, "y": -0.7641649765266024, "color": "rgba(52,149,255,0.33)", "x": -0.24707312577684518, "image": "photo1.jpg", "fixed": true, "height": 45}, "n21_1": {"width": 15, "mass": 10, "y": 0.29345870684035213, "color": "rgba(52,149,255,0.33)", "x": -0.7440621562206019, "image": "photo4.jpg", "fixed": true, "height": 15}, "n21_3": {"width": 14, "mass": 10, "y": 0.2958649587050025, "color": "rgba(52,149,255,0.33)", "x": -0.7470089916067978, "image": "photo5.jpg", "fixed": true, "height": 14}, "n21_2": {"width": 14, "mass": 10, "y": 0.2958652162108383, "color": "rgba(52,149,255,0.33)", "x": -0.7407175249817455, "image": "photo1.jpg", "fixed": true, "height": 14}, "n21_5": {"width": 5, "mass": 10, "y": 0.2945932325560751, "color": "rgba(255,255,0,0.33)", "x": -0.740463954292957, "image": "photo3.jpg", "fixed": true, "height": 5}, "n21_4": {"width": 14, "mass": 10, "y": 0.2931689568714811, "color": "rgba(52,149,255,0.33)", "x": -0.7414372680537912, "image": "photo3.jpg", "fixed": true, "height": 14}, "n50": {"width": 10, "mass": 10, "y": 0.675462340401612, "color": "rgba(255,255,255,0.33)", "x": -0.4286614359831975, "image": "photo1.jpg", "fixed": true, "height": 10}, "n23_4": {"width": 5, "mass": 10, "y": -0.47106860242009274, "color": "rgba(255,255,255,0.33)", "x": -0.648953425609488, "image": "photo5.jpg", "fixed": true, "height": 5}, "n23_3": {"width": 5, "mass": 10, "y": -0.46983433773354044, "color": "rgba(255,255,0,0.33)", "x": -0.6502350119592981, "image": "photo4.jpg", "fixed": true, "height": 5}, "n23_2": {"width": 5, "mass": 10, "y": -0.46946096605303084, "color": "rgba(255,255,0,0.33)", "x": -0.6503327954632536, "image": "photo4.jpg", "fixed": true, "height": 5}, "n23_1": {"width": 5, "mass": 10, "y": -0.4703978584104978, "color": "rgba(255,0,0,0.33)", "x": -0.6501978628006817, "image": "photo3.jpg", "fixed": true, "height": 5}, "n29_1": {"width": 14, "mass": 10, "y": 0.19867647970589705, "color": "rgba(52,149,255,0.33)", "x": -0.7780337983169048, "image": "photo4.jpg", "fixed": true, "height": 14}, "n16_3": {"width": 32, "mass": 10, "y": -0.618411589918623, "color": "rgba(52,149,255,0.33)", "x": -0.5078155746230076, "image": "photo4.jpg", "fixed": true, "height": 32}, "n16_2": {"width": 36, "mass": 10, "y": -0.6169240275293559, "color": "rgba(52,149,255,0.33)", "x": -0.5114867473923398, "image": "photo2.jpg", "fixed": true, "height": 36}, "n16_1": {"width": 40, "mass": 10, "y": -0.615395775649891, "color": "rgba(52,149,255,0.33)", "x": -0.5113772977277942, "image": "photo1.jpg", "fixed": true, "height": 40}, "n25_1": {"width": 15, "mass": 10, "y": -0.47225806076297583, "color": "rgba(52,149,255,0.33)", "x": 0.6468594742128514, "image": "photo3.jpg", "fixed": true, "height": 15}, "n16_5": {"width": 12, "mass": 10, "y": -0.6138376909318066, "color": "rgba(255,0,0,0.33)", "x": -0.5124677151931244, "image": "photo2.jpg", "fixed": true, "height": 12}, "n16_4": {"width": 12, "mass": 10, "y": -0.6150695754997741, "color": "rgba(255,0,0,0.33)", "x": -0.5111773433481015, "image": "photo2.jpg", "fixed": true, "height": 12}, "n27_3": {"width": 5, "mass": 10, "y": -0.5486340105579345, "color": "rgba(255,0,0,0.33)", "x": 0.5816065097315959, "image": "photo4.jpg", "fixed": true, "height": 5}, "n27_2": {"width": 5, "mass": 10, "y": -0.5469234724314218, "color": "rgba(255,0,0,0.33)", "x": 0.5829846276548111, "image": "photo5.jpg", "fixed": true, "height": 5}, "n27_1": {"width": 15, "mass": 10, "y": -0.5455498645890022, "color": "rgba(52,149,255,0.33)", "x": 0.5839116056528091, "image": "photo3.jpg", "fixed": true, "height": 15}, "n27_6": {"width": 5, "mass": 10, "y": -0.5501062445206888, "color": "rgba(255,255,255,0.33)", "x": 0.5812514816327342, "image": "photo3.jpg", "fixed": true, "height": 5}, "n27_5": {"width": 5, "mass": 10, "y": -0.5484726560609893, "color": "rgba(255,255,255,0.33)", "x": 0.5851636763564342, "image": "photo2.jpg", "fixed": true, "height": 5}, "n27_4": {"width": 5, "mass": 10, "y": -0.5450680979372438, "color": "rgba(255,0,0,0.33)", "x": 0.5820199941663773, "image": "photo3.jpg", "fixed": true, "height": 5}, "n18_1": {"width": 40, "mass": 10, "y": -0.19919822757693312, "color": "rgba(52,149,255,0.33)", "x": 0.7731330167423377, "image": "photo5.jpg", "fixed": true, "height": 40}, "n29_5": {"width": 5, "mass": 10, "y": 0.1981939820072436, "color": "rgba(255,255,255,0.33)", "x": -0.7739310335887173, "image": "photo1.jpg", "fixed": true, "height": 5}, "n18_3": {"width": 36, "mass": 10, "y": -0.19863489042828592, "color": "rgba(52,149,255,0.33)", "x": 0.7732214566057949, "image": "photo1.jpg", "fixed": true, "height": 36}, "n18_2": {"width": 36, "mass": 10, "y": -0.19876997157782378, "color": "rgba(52,149,255,0.33)", "x": 0.7773004409330692, "image": "photo5.jpg", "fixed": true, "height": 36}, "n18_5": {"width": 12, "mass": 10, "y": -0.19986721242089123, "color": "rgba(255,0,0,0.33)", "x": 0.7718360296040503, "image": "photo2.jpg", "fixed": true, "height": 12}, "n18_4": {"width": 36, "mass": 10, "y": -0.19842756889659666, "color": "rgba(52,149,255,0.33)", "x": 0.772165275313743, "image": "photo5.jpg", "fixed": true, "height": 36}, "n18_7": {"width": 5, "mass": 10, "y": -0.19961374648093674, "color": "rgba(255,255,255,0.33)", "x": 0.773234726703822, "image": "photo4.jpg", "fixed": true, "height": 5}, "n18_6": {"width": 8, "mass": 10, "y": -0.19908686928822644, "color": "rgba(255,255,0,0.33)", "x": 0.7783978689878889, "image": "photo2.jpg", "fixed": true, "height": 8}, "n42": {"width": 10, "mass": 10, "y": 0.4702282018339786, "color": "rgba(255,255,255,0.33)", "x": -0.6472135954999579, "image": "photo4.jpg", "fixed": true, "height": 10}, "n29_6": {"width": 5, "mass": 10, "y": 0.1994754485202841, "color": "rgba(255,255,255,0.33)", "x": -0.7769766066800522, "image": "photo3.jpg", "fixed": true, "height": 5}, "n44": {"width": 10, "mass": 10, "y": -0.547637684742951, "color": "rgba(255,255,255,0.33)", "x": -0.5831749019371293, "image": "photo4.jpg", "fixed": true, "height": 10}, "n29": {"width": 30, "mass": 10, "y": 0.19895190973188387, "color": "rgba(255,0,0,0.33)", "x": -0.7748665289029049, "image": "photo3.jpg", "fixed": true, "height": 30}, "n28": {"width": 30, "mass": 10, "y": 0.7984213827426173, "color": "rgba(255,0,0,0.33)", "x": 0.05023241562345065, "image": "photo2.jpg", "fixed": true, "height": 30}, "n23": {"width": 30, "mass": 10, "y": -0.47022820183397873, "color": "rgba(255,0,0,0.33)", "x": -0.6472135954999578, "image": "photo4.jpg", "fixed": true, "height": 30}, "n22": {"width": 30, "mass": 10, "y": -0.29449964214774266, "color": "rgba(255,0,0,0.33)", "x": -0.743821188710601, "image": "photo2.jpg", "fixed": true, "height": 30}, "n21": {"width": 30, "mass": 10, "y": 0.2944996421477422, "color": "rgba(255,0,0,0.33)", "x": -0.7438211887106012, "image": "photo3.jpg", "fixed": true, "height": 30}, "n20": {"width": 70, "mass": 10, "y": 0.0, "color": "rgba(52,149,255,0.33)", "x": 0.8, "image": "photo2.jpg", "fixed": true, "height": 70}, "n27": {"width": 30, "mass": 10, "y": -0.5476376847429506, "color": "rgba(255,0,0,0.33)", "x": 0.5831749019371295, "image": "photo5.jpg", "fixed": true, "height": 30}, "n26": {"width": 30, "mass": 10, "y": 0.1002665868514434, "color": "rgba(255,0,0,0.33)", "x": 0.7936917610515823, "image": "photo3.jpg", "fixed": true, "height": 30}, "n25": {"width": 30, "mass": 10, "y": -0.47022820183397807, "color": "rgba(255,0,0,0.33)", "x": 0.6472135954999583, "image": "photo3.jpg", "fixed": true, "height": 30}, "n24": {"width": 30, "mass": 10, "y": -0.7984213827426173, "color": "rgba(255,0,0,0.33)", "x": -0.05023241562345057, "image": "photo4.jpg", "fixed": true, "height": 30}, "n10_1": {"width": 45, "mass": 10, "y": 0.7863540310240558, "color": "rgba(52,149,255,0.33)", "x": -0.15004889272286526, "image": "photo3.jpg", "fixed": true, "height": 45}, "n10_3": {"width": 36, "mass": 10, "y": 0.7829721032928718, "color": "rgba(52,149,255,0.33)", "x": -0.1497887994601181, "image": "photo4.jpg", "fixed": true, "height": 36}, "n9_5": {"width": 5, "mass": 10, "y": -0.3837027783136952, "color": "rgba(255,255,255,0.33)", "x": -0.7041285519312633, "image": "photo3.jpg", "fixed": true, "height": 5}, "n9_2": {"width": 14, "mass": 10, "y": -0.38592724915002247, "color": "rgba(255,0,0,0.33)", "x": -0.7002365602928259, "image": "photo2.jpg", "fixed": true, "height": 14}, "n10_4": {"width": 5, "mass": 10, "y": 0.7826242252144826, "color": "rgba(255,255,255,0.33)", "x": -0.15006096040288142, "image": "photo2.jpg", "fixed": true, "height": 5}, "n9_1": {"width": 14, "mass": 10, "y": -0.384033117559564, "color": "rgba(255,0,0,0.33)", "x": -0.7013859567580911, "image": "photo2.jpg", "fixed": true, "height": 14}, "n8": {"width": 90, "mass": 10, "y": 0.7984213827426173, "color": "rgba(52,149,255,0.33)", "x": -0.050232415623450724, "image": "photo5.jpg", "fixed": true, "height": 90}, "n9": {"width": 90, "mass": 10, "y": -0.3854029392813723, "color": "rgba(52,149,255,0.33)", "x": -0.7010453440350908, "image": "photo1.jpg", "fixed": true, "height": 90}, "n24_2": {"width": 5, "mass": 10, "y": -0.8008399276078842, "color": "rgba(255,0,0,0.33)", "x": -0.050328235318862845, "image": "photo5.jpg", "fixed": true, "height": 5}, "n12_1": {"width": 9, "mass": 10, "y": 0.6181728764914709, "color": "rgba(255,255,0,0.33)", "x": 0.5087222990508473, "image": "photo2.jpg", "fixed": true, "height": 9}, "n25_4": {"width": 5, "mass": 10, "y": -0.4721379187966923, "color": "rgba(255,255,0,0.33)", "x": 0.6494389584987957, "image": "photo3.jpg", "fixed": true, "height": 5}, "n0": {"width": 200, "main": true, "mass": 200, "y": 0, "color": "rgba(255,255,255,0.01)", "x": 0, "image": "photo1.jpg", "fixed": true, "height": 200}, "n1": {"width": 100, "mass": 10, "y": -0.675462340401612, "color": "rgba(52,149,255,0.33)", "x": 0.42866143598319745, "image": "photo1.jpg", "fixed": true, "height": 100}, "n2": {"width": 100, "mass": 10, "y": 0.2944996421477424, "color": "rgba(52,149,255,0.33)", "x": 0.7438211887106011, "image": "photo5.jpg", "fixed": true, "height": 100}, "n3": {"width": 100, "mass": 10, "y": -0.38540293928137226, "color": "rgba(52,149,255,0.33)", "x": 0.7010453440350909, "image": "photo3.jpg", "fixed": true, "height": 100}, "n4": {"width": 100, "mass": 10, "y": -0.7984213827426173, "color": "rgba(52,149,255,0.33)", "x": 0.05023241562345098, "image": "photo2.jpg", "fixed": true, "height": 100}, "n5": {"width": 100, "mass": 10, "y": -0.7858298005829509, "color": "rgba(52,149,255,0.33)", "x": 0.14990505166858012, "image": "photo3.jpg", "fixed": true, "height": 100}, "n6": {"width": 90, "mass": 10, "y": 0.6164105942206315, "color": "rgba(52,149,255,0.33)", "x": -0.5099391917989519, "image": "photo4.jpg", "fixed": true, "height": 90}, "n7": {"width": 90, "mass": 10, "y": 0.785829800582951, "color": "rgba(52,149,255,0.33)", "x": 0.14990505166857962, "image": "photo4.jpg", "fixed": true, "height": 90}}, "repulsion": 2200, "fps": 100, "stiffness": 900, "edges": {"n12": {"n12_1": {}}, "n13": {"n13_8": {}, "n13_6": {}, "n13_7": {}, "n13_4": {}, "n13_5": {}, "n13_2": {}, "n13_3": {}, "n13_1": {}}, "n10": {"n10_1": {}, "n10_3": {}, "n10_2": {}, "n10_4": {}}, "n11": {"n11_8": {}, "n11_1": {}, "n11_2": {}, "n11_3": {}, "n11_4": {}, "n11_5": {}, "n11_6": {}, "n11_7": {}}, "n16": {"n16_3": {}, "n16_2": {}, "n16_1": {}, "n16_5": {}, "n16_4": {}}, "n17": {"n17_2": {}, "n17_3": {}, "n17_1": {}, "n17_6": {}, "n17_4": {}, "n17_5": {}}, "n14": {"n14_5": {}, "n14_4": {}, "n14_7": {}, "n14_6": {}, "n14_1": {}, "n14_3": {}, "n14_2": {}}, "n15": {"n15_1": {}, "n15_2": {}, "n15_3": {}}, "n18": {"n18_1": {}, "n18_3": {}, "n18_2": {}, "n18_5": {}, "n18_4": {}, "n18_7": {}, "n18_6": {}}, "n19": {"n19_1": {}, "n19_2": {}, "n19_3": {}, "n19_4": {}, "n19_5": {}}, "n50": {}, "n38": {}, "n39": {}, "n30": {"n30_5": {}, "n30_4": {}, "n30_3": {}, "n30_2": {}, "n30_1": {}}, "n31": {}, "n32": {}, "n33": {}, "n34": {}, "n35": {}, "n36": {}, "n37": {}, "n49": {}, "n48": {}, "n41": {}, "n40": {}, "n43": {}, "n42": {}, "n45": {}, "n44": {}, "n47": {}, "n46": {}, "n29": {"n29_1": {}, "n29_3": {}, "n29_2": {}, "n29_5": {}, "n29_4": {}, "n29_6": {}}, "n28": {"n28_1": {}, "n28_2": {}, "n28_3": {}, "n28_4": {}, "n28_5": {}}, "n23": {"n23_4": {}, "n23_3": {}, "n23_2": {}, "n23_1": {}}, "n22": {"n22_6": {}, "n22_7": {}, "n22_4": {}, "n22_5": {}, "n22_2": {}, "n22_3": {}, "n22_1": {}}, "n21": {"n21_1": {}, "n21_3": {}, "n21_2": {}, "n21_5": {}, "n21_4": {}}, "n20": {"n20_1": {}, "n20_2": {}}, "n27": {"n27_3": {}, "n27_2": {}, "n27_1": {}, "n27_6": {}, "n27_5": {}, "n27_4": {}}, "n26": {"n26_2": {}, "n26_3": {}, "n26_1": {}, "n26_6": {}, "n26_7": {}, "n26_4": {}, "n26_5": {}}, "n25": {"n25_5": {}, "n25_4": {}, "n25_1": {}, "n25_3": {}, "n25_2": {}}, "n24": {"n24_4": {}, "n24_5": {}, "n24_6": {}, "n24_7": {}, "n24_1": {}, "n24_2": {}, "n24_3": {}, "n24_8": {}}, "n8": {"n8_5": {}, "n8_4": {}, "n8_3": {}, "n8_2": {}, "n8_1": {}}, "n9": {"n9_4": {}, "n9_5": {}, "n9_2": {}, "n9_3": {}, "n9_1": {}}, "n0": {"n12": {}, "n13": {}, "n10": {}, "n11": {}, "n16": {}, "n17": {}, "n14": {}, "n15": {}, "n18": {}, "n19": {}, "n50": {}, "n38": {}, "n39": {}, "n30": {}, "n31": {}, "n32": {}, "n33": {}, "n34": {}, "n35": {}, "n36": {}, "n37": {}, "n49": {}, "n48": {}, "n41": {}, "n40": {}, "n43": {}, "n42": {}, "n45": {}, "n44": {}, "n47": {}, "n46": {}, "n29": {}, "n28": {}, "n23": {}, "n22": {}, "n21": {}, "n20": {}, "n27": {}, "n26": {}, "n25": {}, "n24": {}, "n8": {}, "n9": {}, "n1": {}, "n2": {}, "n3": {}, "n4": {}, "n5": {}, "n6": {}, "n7": {}}, "n1": {"n1_6": {}, "n1_4": {}, "n1_5": {}, "n1_2": {}, "n1_3": {}, "n1_1": {}}, "n2": {"n2_1": {}, "n2_3": {}, "n2_2": {}}, "n3": {"n3_1": {}, "n3_2": {}}, "n4": {"n4_3": {}, "n4_2": {}, "n4_1": {}}, "n5": {"n5_2": {}, "n5_1": {}}, "n6": {"n6_5": {}, "n6_4": {}, "n6_1": {}, "n6_3": {}, "n6_2": {}}, "n7": {"n7_1": {}, "n7_2": {}, "n7_3": {}}}, "dt": 0.01, "precision": 0.5, "friction": 0, "gravity": true}
diff --git a/main.js b/main.js
index 94e511e..5213cee 100644
--- a/main.js
+++ b/main.js
@@ -160,6 +160,13 @@
return destination;
}
+ var setOpacity = function(color, opacity) {
+ if (color.substring(0, 5) == 'rgba(') {
+ color = color.replace(/,[^,]*\)$/, ',' + opacity + ')');
+ }
+ return color;
+ }
+
var drawEdge = function(edge, pt1, pt2) {
// edge: {source:Node, target:Node, length:#, data:{}}
// pt1: {x:#, y:#} source position in screen coords
@@ -182,13 +189,6 @@
}
}
- var setOpacity = function(color, opacity) {
- if (color.substring(0, 5) == 'rgba(') {
- color = color.replace(/,[^,]*\)$/, ',' + opacity + ')');
- }
- return color;
- }
-
if (mainNode && balloonNode) {
if (edge.source.data.balloon || edge.target.data.balloon ||
(balloonNode != mainNode
@@ -205,7 +205,7 @@
}
};
- var drawImage = function(image, coords, color) {
+ var drawImage = function(image, coords, color, strokeColor) {
if (!image.height) {
image.height = image.width ? image.width * image.naturalHeight / image.naturalWidth : image.naturalHeight;
}
@@ -227,7 +227,7 @@
ctx.fill();
ctx.restore();
ctx.lineWidth = 3;
- ctx.strokeStyle = 'rgba(255,255,255,0.7)';
+ ctx.strokeStyle = strokeColor;
ctx.beginPath();
ctx.arc(coords.x, coords.y, image.width / 2, 0, Math.PI * 2);
ctx.stroke();
@@ -269,15 +269,32 @@
}
if (node.data.image && node.data.width > 10) {
+ var isHighlighted = function(node) {
+ if (node.data.balloon) {
+ return true;
+ }
+ if (balloonNode && mainNode) {
+ if (node == mainNode) {
+ return true;
+ }
+ var targets = particleSystem.getEdgesFrom(node);
+ for (var t = 0; t < targets.length; t++) {
+ if (targets[t].target == balloonNode) {
+ return true;
+ }
+ }
+ }
+ }
+ var strokeColor = isHighlighted(node) ? setOpacity(node.data.color, 0.7) : 'rgba(255, 255, 255, 0.7)';
if (node.data.imageObject) {
node.data.imageObject.width = node.data.width;
node.data.imageObject.height = node.data.height;
- drawImage(node.data.imageObject, pt, node.data.color);
+ drawImage(node.data.imageObject, pt, node.data.color, strokeColor);
} else {
var img = new Image(node.data.width, node.data.height);
img.onload = function() {
node.data.imageObject = img;
- drawImage(node.data.imageObject, pt, node.data.color);
+ drawImage(node.data.imageObject, pt, node.data.color, strokeColor);
};
img.src = '_img/' + node.data.image;
}
@@ -307,7 +324,7 @@
particleSystem.eachEdge(drawEdge);
particleSystem.eachNode(drawNode);
if (balloonNode) {
- var selectedDimension = Math.max((balloonNode.data.image) ? 150 : 50, balloonNode.data.width);
+ var selectedDimension = Math.max((balloonNode.data.image) ? 100 : 50, balloonNode.data.width);
balloonNode.data.oldWidth = balloonNode.data.width;
balloonNode.data.width = selectedDimension;
balloonNode.data.oldHeight = balloonNode.data.height;