|
79
|
1 |
/* |
|
|
2 |
* This file is part of the TraKERS\Front IDILL package. |
|
|
3 |
* |
|
|
4 |
* (c) IRI <http://www.iri.centrepompidou.fr/> |
|
|
5 |
* |
|
|
6 |
* For the full copyright and license information, please view the LICENSE |
|
|
7 |
* file that was distributed with this source code. |
|
|
8 |
*/ |
|
|
9 |
|
|
|
10 |
/* |
|
|
11 |
* Projet : TraKERS |
|
|
12 |
* Module : Front IDILL |
|
|
13 |
* Fichier : defaults.js |
|
|
14 |
* |
|
|
15 |
* Auteur : alexandre.bastien@iri.centrepompidou.fr |
|
|
16 |
* |
|
|
17 |
* Fonctionnalités : Ce fichier contient la configuration par défaut du Front IDILL. |
|
|
18 |
*/ |
|
|
19 |
|
|
|
20 |
var default_parameters = { |
|
|
21 |
local : true, |
|
|
22 |
mouseInteractions : true, |
|
|
23 |
noUserModeEnabled : true, |
|
|
24 |
kinectMinCoordX : 40, |
|
|
25 |
kinectMinCoordY : 30, |
|
|
26 |
kinectMaxCoordX : 520, |
|
|
27 |
kinectMaxCoordY : 260, |
|
|
28 |
videoConfigFileLocal : "./player/json/local_videos.json", |
|
|
29 |
videoConfigFileOnline : "./player/json/online_videos.json", |
|
|
30 |
timeReloadAfterResize : 1000, |
|
|
31 |
imagesByLine : 5, |
|
|
32 |
imagesToShow : 20, |
|
|
33 |
totalImages : 23, |
|
|
34 |
timePrezoom : 500, |
|
|
35 |
timePreUnzoom : 200, |
|
|
36 |
zoomTime : 500, |
|
|
37 |
timeUnzoom : 400, |
|
|
38 |
timeNeighbourGlowing : 1000, |
|
|
39 |
timeNeighbourUnglowing : 1000, |
|
|
40 |
timeMovingToNeighbour : 1000, |
|
|
41 |
timeSearchFade : 2000, |
|
|
42 |
timeNotifyFade : 2000, |
|
|
43 |
timeFilterFade : 2000, |
|
|
44 |
timeANFade : 500, |
|
|
45 |
timeFilling : 500, |
|
|
46 |
timeShowBigHelp : 1000, |
|
|
47 |
timeoutZoom : 2000, |
|
|
48 |
timeoutUnzoom : 1000, |
|
|
49 |
timeoutMoveToNeighbour : 250, |
|
|
50 |
timeoutPointersIdle : 2000, |
|
|
51 |
timeoutAreBothPointersHere : 500, |
|
|
52 |
timeoutRemoveNotificationByGesture : 1500, |
|
|
53 |
timeoutNotifySwipe : 1000, |
|
|
54 |
timeoutSelectTL : 100, |
|
|
55 |
timeoutSlideTL : 1000, |
|
|
56 |
timeoutCanNotifyHelp : 1000, |
|
|
57 |
timeoutRemoveSpinner : 1000, |
|
|
58 |
timeoutNouser : 3000, |
|
|
59 |
timeoutNexrDrawCurve : 500, |
|
|
60 |
zoomPercentage : 0.80, |
|
|
61 |
prezoomPercentage : 0.25, |
|
|
62 |
zoomedMargin : 42, |
|
|
63 |
host : '127.0.0.1', |
|
|
64 |
port : '8080', |
|
|
65 |
touchUpDownDeltaTreshold : 100, |
|
|
66 |
mouseUpDownDeltaTreshold : 15, |
|
|
67 |
kinectUpDownDeltaTreshold : 100, |
|
|
68 |
curveDictionaryMI : './dicoMI.json', |
|
|
69 |
curveDictionaryKI : './dicoKI.json', |
|
|
70 |
lang : navigator.language, |
|
|
71 |
langs : ["en", "fr"] |
|
52
|
72 |
} |