config.json 1.4 KB

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