config.json 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. {
  2. "app": {
  3. "oscUdpPort": 3333,
  4. "httpPort": 5000,
  5. "timerRefresh": 50,
  6. "maxDistanceBetweenPoints": 130,
  7. "matchingTolerance": 1.5,
  8. "remainingDuration": 3,
  9. "garbageCollectorInterval": 1000,
  10. "debug": true,
  11. "debugLog": {
  12. "backend": {
  13. "emitter": {
  14. "httpRequest": false,
  15. "dots": true,
  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. },
  50. {
  51. "name": "object2",
  52. "apexAngle": 40
  53. },
  54. {
  55. "name": "object2",
  56. "apexAngle": 50
  57. },
  58. {
  59. "name": "object4",
  60. "apexAngle": 70
  61. },
  62. {
  63. "name": "object5",
  64. "apexAngle": 80
  65. },
  66. {
  67. "name": "object6",
  68. "apexAngle": 90
  69. }
  70. ]
  71. }