config.json 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. {
  2. "app": {
  3. "oscUdpPort": 3333,
  4. "httpPort": 5000,
  5. "timerRefresh": 50,
  6. "maxDistanceBetweenPoints": 230,
  7. "matchingTolerance": 1.5,
  8. "remainingDuration": 3,
  9. "garbageCollectorInterval": 1000,
  10. "debug": true,
  11. "debugLog": {
  12. "backend": {
  13. "emitter": {
  14. "httpRequest": false,
  15. "dots": false,
  16. "segments": false,
  17. "triangles": false,
  18. "apex": false,
  19. "matchingObject": false,
  20. "aliveTriangles": false,
  21. "garbageCollection": true
  22. },
  23. "receiver": {
  24. "oscDatagram": false
  25. }
  26. },
  27. "frontend": {
  28. "emitter": {
  29. "screen": false,
  30. "events": false
  31. },
  32. "receiver": {
  33. "onAddTuioCursor": false,
  34. "onUpdateTuioCursor": false,
  35. "onRemoveTuioCursor": false,
  36. "onAddTuioObject": true,
  37. "onUpdateTuioObject": false,
  38. "onRemoveTuioObject": true,
  39. "onRefresh": false
  40. }
  41. }
  42. },
  43. "debugDisplay": true
  44. },
  45. "objects": [
  46. {
  47. "name": "object1",
  48. "apexAngle": 30,
  49. "sizeOfOpposedSegment": 100
  50. },
  51. {
  52. "name": "object2",
  53. "apexAngle": 40,
  54. "sizeOfOpposedSegment": 109
  55. },
  56. {
  57. "name": "object2",
  58. "apexAngle": 50,
  59. "sizeOfOpposedSegment": 160
  60. },
  61. {
  62. "name": "object4",
  63. "apexAngle": 70,
  64. "sizeOfOpposedSegment": 175
  65. },
  66. {
  67. "name": "object5",
  68. "apexAngle": 80,
  69. "sizeOfOpposedSegment": 205
  70. },
  71. {
  72. "name": "object6",
  73. "apexAngle": 90,
  74. "sizeOfOpposedSegment": 223
  75. }
  76. ]
  77. }