config.json 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. {
  2. "app": {
  3. "oscUdpPort": 3333,
  4. "httpPort": 5000,
  5. "timerRefresh": 50,
  6. "maxDistanceBetweenPoints": 60,
  7. "matchingTolerance": 1,
  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. },
  22. "receiver": {
  23. "oscDatagram": false
  24. }
  25. },
  26. "frontend": {
  27. "emitter": {
  28. "screen": false,
  29. "events": false
  30. },
  31. "receiver": {
  32. "onAddTuioCursor": false,
  33. "onUpdateTuioCursor": false,
  34. "onRemoveTuioCursor": false,
  35. "onAddTuioObject": true,
  36. "onUpdateTuioObject": true,
  37. "onRemoveTuioObject": true,
  38. "onRefresh": false
  39. }
  40. }
  41. },
  42. "debugDisplay": true
  43. },
  44. "objects": [
  45. {
  46. "name": "object1",
  47. "apexAngle": 30
  48. },
  49. {
  50. "name": "object2",
  51. "apexAngle": 40
  52. },
  53. {
  54. "name": "object2",
  55. "apexAngle": 50
  56. },
  57. {
  58. "name": "object4",
  59. "apexAngle": 70
  60. },
  61. {
  62. "name": "object5",
  63. "apexAngle": 80
  64. },
  65. {
  66. "name": "object6",
  67. "apexAngle": 90
  68. }
  69. ]
  70. }