PageRenderTime 72ms CodeModel.GetById 25ms RepoModel.GetById 0ms app.codeStats 0ms

/vvvv45/lib/nodes/native/FrameDelay (Animation) help.v4p

https://github.com/microdee/vvvv-sdk
Unknown | 233 lines | 233 code | 0 blank | 0 comment | 0 complexity | 8970e30394b414396c3b951ddf582ab4 MD5 | raw file
Possible License(s): AGPL-3.0, LGPL-2.0
  1. <!DOCTYPE PATCH SYSTEM "http://vvvv.org/versions/vvvv45debug29.1.dtd" >
  2. <PATCH nodename="C:\Users\Joreg\dev\github\vvvv\public\vvvv45\lib\nodes\native\FrameDelay (Animation) help.v4p">
  3. <BOUNDS height="5835" left="4485" top="6405" type="Window" width="14880">
  4. </BOUNDS>
  5. <NODE componentmode="InABox" id="13" nodename="IOBox (String)">
  6. <BOUNDS height="255" left="240" top="4590" type="Node" width="5355">
  7. </BOUNDS>
  8. <BOUNDS height="735" left="240" top="4590" type="Box" width="6330">
  9. </BOUNDS>
  10. <BOUNDS height="160" left="0" top="0" type="Window" width="215">
  11. </BOUNDS>
  12. <PIN pinname="Input String" slicecount="1" visible="0" values="|- frame delay waits one frame, before it passes on the value recieved on the input pin(s)&cr;&lf;- delay depends on the framerate&cr;&lf;- loops can be created in this way|">
  13. </PIN>
  14. <PIN pinname="Output String" visible="0">
  15. </PIN>
  16. <PIN pinname="Show Grid" slicecount="1" values="0">
  17. </PIN>
  18. </NODE>
  19. <NODE componentmode="InABox" id="12" nodename="IOBox (String)">
  20. <BOUNDS height="1575" left="7065" top="765" type="Node" width="840">
  21. </BOUNDS>
  22. <BOUNDS height="4125" left="7065" top="765" type="Box" width="7080">
  23. </BOUNDS>
  24. <BOUNDS height="160" left="0" top="0" type="Window" width="215">
  25. </BOUNDS>
  26. <PIN pinname="Input String" slicecount="1" visible="0" values="|Because FrameDelay can be used to create loops, which use the result of a calculation for the next calculation step, there is a chance that in more complex patches it could break up some logic and leed to false results or behaviours, which is even more risky if FrameDelay is used in modules and subpatches.&cr;&lf;&cr;&lf;We would recommend to build modules and subpatches in a way that any action on the input has its effects on the outputs in the same frame. A rule of thumb to achieve such behaviour without thinking over and over it again could be to build patches with framedelays in it in the following manner:&cr;&lf;&cr;&lf;Always place the framedelay next to the output. The node above the output (connected to the output) should also be connected to the framedelay. That assures that really the last output is stored in the framedelay. Build the rest of the patch around this architecture.&cr;&lf;&cr;&lf;The patch can then be read like this:&cr;&lf;&cr;&lf;read inputs, read internal variables&cr;&lf;do some calculations...&cr;&lf;write outputs, write internal variables&cr;&lf;|">
  27. </PIN>
  28. <PIN pinname="Output String" visible="0">
  29. </PIN>
  30. <PIN pinname="Show Grid" slicecount="1" values="0">
  31. </PIN>
  32. </NODE>
  33. <NODE componentmode="InABox" id="11" nodename="IOBox (String)">
  34. <BOUNDS height="255" left="15" top="390" type="Node" width="570">
  35. </BOUNDS>
  36. <BOUNDS height="375" left="15" top="390" type="Box" width="3690">
  37. </BOUNDS>
  38. <BOUNDS height="160" left="450" top="12000" type="Window" width="215">
  39. </BOUNDS>
  40. <PIN pinname="Input String" slicecount="1" visible="0" values="|Delays the input value one calculation frame|">
  41. </PIN>
  42. <PIN pinname="Output String" visible="0">
  43. </PIN>
  44. <PIN pinname="Show Grid" slicecount="1" values="0">
  45. </PIN>
  46. </NODE>
  47. <NODE componentmode="InABox" id="10" nodename="IOBox (String)">
  48. <BOUNDS height="270" left="15" top="15" type="Node" width="915">
  49. </BOUNDS>
  50. <BOUNDS height="375" left="15" top="15" type="Box" width="4575">
  51. </BOUNDS>
  52. <BOUNDS height="160" left="450" top="12000" type="Window" width="215">
  53. </BOUNDS>
  54. <PIN pinname="Input String" slicecount="1" visible="0" values="|FrameDelay (Animation)|">
  55. </PIN>
  56. <PIN pinname="Output String" visible="0">
  57. </PIN>
  58. <PIN pinname="Show Grid" slicecount="1" values="0">
  59. </PIN>
  60. <PIN pinname="Size" slicecount="1" values="12">
  61. </PIN>
  62. </NODE>
  63. <NODE id="9" nodename="FrameDelay (Animation)">
  64. <BOUNDS height="0" left="2400" top="3750" type="Node" width="0">
  65. </BOUNDS>
  66. <PIN pinname="Input 1" visible="1">
  67. </PIN>
  68. <PIN pinname="Default 1" visible="1">
  69. </PIN>
  70. <PIN pinname="Output 1" visible="1">
  71. </PIN>
  72. <PIN pinname="Initialize" visible="1">
  73. </PIN>
  74. <PIN pinname="Count" slicecount="1" values="1">
  75. </PIN>
  76. </NODE>
  77. <NODE componentmode="InABox" id="8" nodename="IOBOX (VALUE ADVANCED)">
  78. <BOUNDS height="0" left="810" top="3780" type="Node" width="0">
  79. </BOUNDS>
  80. <BOUNDS height="160" left="6600" top="9975" type="Window" width="215">
  81. </BOUNDS>
  82. <BOUNDS height="240" left="810" top="3780" type="Box" width="795">
  83. </BOUNDS>
  84. <PIN pinname="Descriptive Name" slicecount="1" values="Output">
  85. </PIN>
  86. <PIN pinname="Y Input Value" visible="1">
  87. </PIN>
  88. </NODE>
  89. <NODE componentmode="InABox" id="7" nodename="IOBOX (VALUE ADVANCED)">
  90. <BOUNDS height="0" left="2130" top="3015" type="Node" width="0">
  91. </BOUNDS>
  92. <BOUNDS height="160" left="6510" top="8070" type="Window" width="215">
  93. </BOUNDS>
  94. <BOUNDS height="240" left="2130" top="3015" type="Box" width="795">
  95. </BOUNDS>
  96. <PIN pinname="Descriptive Name" slicecount="1" values="|Initial Value|">
  97. </PIN>
  98. <PIN pinname="Y Output Value" visible="1">
  99. </PIN>
  100. <PIN pinname="Y Input Value" slicecount="1" values="10">
  101. </PIN>
  102. </NODE>
  103. <NODE componentmode="InABox" id="6" nodename="IOBOX (VALUE ADVANCED)">
  104. <BOUNDS height="0" left="1920" top="1110" type="Node" width="0">
  105. </BOUNDS>
  106. <BOUNDS height="160" left="6585" top="7905" type="Window" width="215">
  107. </BOUNDS>
  108. <BOUNDS height="240" left="1920" top="1110" type="Box" width="795">
  109. </BOUNDS>
  110. <PIN pinname="Descriptive Name" slicecount="1" values="|Feedback Value|">
  111. </PIN>
  112. <PIN pinname="Y Input Value" visible="1">
  113. </PIN>
  114. <PIN pinname="Y Output Value" visible="1">
  115. </PIN>
  116. </NODE>
  117. <NODE componentmode="InABox" id="5" nodename="IOBOX (VALUE ADVANCED)">
  118. <BOUNDS height="0" left="795" top="1500" type="Node" width="0">
  119. </BOUNDS>
  120. <BOUNDS height="160" left="8460" top="8070" type="Window" width="215">
  121. </BOUNDS>
  122. <BOUNDS height="240" left="795" top="1500" type="Box" width="795">
  123. </BOUNDS>
  124. <PIN pinname="Descriptive Name" slicecount="1" values="|Incremental Value|">
  125. </PIN>
  126. <PIN pinname="Y Output Value" visible="1">
  127. </PIN>
  128. <PIN pinname="Y Input Value" slicecount="1" values="0.1">
  129. </PIN>
  130. </NODE>
  131. <NODE id="4" nodename="Add (Value)">
  132. <BOUNDS height="0" left="2400" top="1680" type="Node" width="0">
  133. </BOUNDS>
  134. <PIN pinname="Output" visible="1">
  135. </PIN>
  136. <PIN pinname="Input 1" visible="1">
  137. </PIN>
  138. <PIN pinname="Input 2" visible="1">
  139. </PIN>
  140. </NODE>
  141. <LINK dstnodeid="8" dstpinname="Y Input Value" srcnodeid="4" srcpinname="Output">
  142. </LINK>
  143. <LINK dstnodeid="9" dstpinname="Input 1" srcnodeid="4" srcpinname="Output">
  144. </LINK>
  145. <LINK dstnodeid="9" dstpinname="Default 1" srcnodeid="7" srcpinname="Y Output Value">
  146. </LINK>
  147. <LINK dstnodeid="4" dstpinname="Input 1" srcnodeid="5" srcpinname="Y Output Value">
  148. </LINK>
  149. <LINK dstnodeid="4" dstpinname="Input 2" srcnodeid="6" srcpinname="Y Output Value">
  150. </LINK>
  151. <NODE componentmode="InABox" id="3" nodename="IOBOX (VALUE ADVANCED)">
  152. <BOUNDS height="0" left="2655" top="2070" type="Node" width="0">
  153. </BOUNDS>
  154. <BOUNDS height="160" left="8640" top="9345" type="Window" width="215">
  155. </BOUNDS>
  156. <BOUNDS height="645" left="2655" top="2070" type="Box" width="720">
  157. </BOUNDS>
  158. <PIN pinname="Slider Behavior" slicecount="1" values="Bang">
  159. </PIN>
  160. <PIN pinname="Show Value" slicecount="1" values="0">
  161. </PIN>
  162. <PIN pinname="Show Slider" slicecount="1" values="1">
  163. </PIN>
  164. <PIN pinname="Show Background" slicecount="1" values="0">
  165. </PIN>
  166. <PIN pinname="Show Connections" slicecount="1" values="0">
  167. </PIN>
  168. <PIN pinname="Descriptive Name" slicecount="1" values="Inititalize">
  169. </PIN>
  170. <PIN pinname="X Input Value" slicecount="1" values="0">
  171. </PIN>
  172. <PIN pinname="Y Input Value" slicecount="1" values="0">
  173. </PIN>
  174. <PIN pinname="Y Output Value" visible="1">
  175. </PIN>
  176. </NODE>
  177. <LINK dstnodeid="9" dstpinname="Initialize" srcnodeid="3" srcpinname="Y Output Value">
  178. </LINK>
  179. <NODE componentmode="InABox" id="2" nodename="IOBox (String)">
  180. <BOUNDS height="270" left="2400" top="4080" type="Node" width="465">
  181. </BOUNDS>
  182. <BOUNDS height="270" left="2400" top="4080" type="Box" width="465">
  183. </BOUNDS>
  184. <BOUNDS height="160" left="0" top="0" type="Window" width="215">
  185. </BOUNDS>
  186. <PIN pinname="Input String" slicecount="1" visible="0" values="loop">
  187. </PIN>
  188. <PIN pinname="Output String" visible="0">
  189. </PIN>
  190. <PIN pinname="Show Grid" slicecount="1" values="0">
  191. </PIN>
  192. </NODE>
  193. <NODE componentmode="InABox" id="1" nodename="IOBox (String)">
  194. <BOUNDS height="270" left="3510" top="3585" type="Node" width="2400">
  195. </BOUNDS>
  196. <BOUNDS height="660" left="3510" top="3585" type="Box" width="1575">
  197. </BOUNDS>
  198. <BOUNDS height="160" left="0" top="0" type="Window" width="215">
  199. </BOUNDS>
  200. <PIN pinname="Input String" slicecount="1" visible="0" values="|use the inspektor to delay more inputs|">
  201. </PIN>
  202. <PIN pinname="Output String" visible="0">
  203. </PIN>
  204. <PIN pinname="Show Grid" slicecount="1" values="0">
  205. </PIN>
  206. </NODE>
  207. <NODE componentmode="InABox" id="0" nodename="IOBox (String)">
  208. <BOUNDS height="270" left="3435" top="2115" type="Node" width="3135">
  209. </BOUNDS>
  210. <BOUNDS height="615" left="3435" top="2115" type="Box" width="1860">
  211. </BOUNDS>
  212. <BOUNDS height="160" left="0" top="0" type="Window" width="215">
  213. </BOUNDS>
  214. <PIN pinname="Input String" slicecount="1" visible="0" values="|click here to inititalize with specified value|">
  215. </PIN>
  216. <PIN pinname="Output String" visible="0">
  217. </PIN>
  218. <PIN pinname="Show Grid" slicecount="1" values="0">
  219. </PIN>
  220. </NODE>
  221. <LINK dstnodeid="6" dstpinname="Y Input Value" srcnodeid="9" srcpinname="Output 1">
  222. <LINKPOINT x="2985" y="4335">
  223. </LINKPOINT>
  224. <LINKPOINT x="5415" y="4320">
  225. </LINKPOINT>
  226. <LINKPOINT x="5865" y="2865">
  227. </LINKPOINT>
  228. <LINKPOINT x="4935" y="1050">
  229. </LINKPOINT>
  230. <LINKPOINT x="3615" y="825">
  231. </LINKPOINT>
  232. </LINK>
  233. </PATCH>