PageRenderTime 56ms CodeModel.GetById 28ms RepoModel.GetById 1ms app.codeStats 0ms

/vvvv45/lib/nodes/plugins/FrameDelay (Value) help.v4p

https://github.com/crazyonej/vvvv-sdk
Unknown | 235 lines | 235 code | 0 blank | 0 comment | 0 complexity | e6be0940085b1a5c83e3add086e82c40 MD5 | raw file
Possible License(s): AGPL-3.0, Unlicense, LGPL-2.0, BSD-3-Clause
  1. <!DOCTYPE PATCH SYSTEM "http://vvvv.org/versions/vvvv45alpha31.10.dtd" >
  2. <PATCH nodename="D:\devvvv\vvvv\public\vvvv45\lib\nodes\plugins\FrameDelay (Value) 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 componentmode="InABox" id="8" nodename="IOBOX (VALUE ADVANCED)">
  64. <BOUNDS height="0" left="810" top="3780" type="Node" width="0">
  65. </BOUNDS>
  66. <BOUNDS height="160" left="6600" top="9975" type="Window" width="215">
  67. </BOUNDS>
  68. <BOUNDS height="240" left="810" top="3780" type="Box" width="795">
  69. </BOUNDS>
  70. <PIN pinname="Descriptive Name" slicecount="1" values="Output">
  71. </PIN>
  72. <PIN pinname="Y Input Value" visible="1">
  73. </PIN>
  74. </NODE>
  75. <NODE componentmode="InABox" id="7" nodename="IOBOX (VALUE ADVANCED)">
  76. <BOUNDS height="0" left="2130" top="3015" type="Node" width="0">
  77. </BOUNDS>
  78. <BOUNDS height="160" left="6510" top="8070" type="Window" width="215">
  79. </BOUNDS>
  80. <BOUNDS height="240" left="2130" top="3015" type="Box" width="795">
  81. </BOUNDS>
  82. <PIN pinname="Descriptive Name" slicecount="1" values="|Initial Value|">
  83. </PIN>
  84. <PIN pinname="Y Output Value" visible="1">
  85. </PIN>
  86. <PIN pinname="Y Input Value" slicecount="1" values="10">
  87. </PIN>
  88. </NODE>
  89. <NODE componentmode="InABox" id="6" nodename="IOBOX (VALUE ADVANCED)">
  90. <BOUNDS height="0" left="1920" top="1110" type="Node" width="0">
  91. </BOUNDS>
  92. <BOUNDS height="160" left="6585" top="7905" type="Window" width="215">
  93. </BOUNDS>
  94. <BOUNDS height="240" left="1920" top="1110" type="Box" width="795">
  95. </BOUNDS>
  96. <PIN pinname="Descriptive Name" slicecount="1" values="|Feedback Value|">
  97. </PIN>
  98. <PIN pinname="Y Input Value" visible="1" slicecount="1" values="49.1000000000004">
  99. </PIN>
  100. <PIN pinname="Y Output Value" visible="1">
  101. </PIN>
  102. </NODE>
  103. <NODE componentmode="InABox" id="5" nodename="IOBOX (VALUE ADVANCED)">
  104. <BOUNDS height="0" left="795" top="1500" type="Node" width="0">
  105. </BOUNDS>
  106. <BOUNDS height="160" left="8460" top="8070" type="Window" width="215">
  107. </BOUNDS>
  108. <BOUNDS height="240" left="795" top="1500" type="Box" width="795">
  109. </BOUNDS>
  110. <PIN pinname="Descriptive Name" slicecount="1" values="|Incremental Value|">
  111. </PIN>
  112. <PIN pinname="Y Output Value" visible="1">
  113. </PIN>
  114. <PIN pinname="Y Input Value" slicecount="1" values="0.1">
  115. </PIN>
  116. </NODE>
  117. <NODE id="4" nodename="Add (Value)">
  118. <BOUNDS height="0" left="2400" top="1680" type="Node" width="0">
  119. </BOUNDS>
  120. <PIN pinname="Output" visible="1">
  121. </PIN>
  122. <PIN pinname="Input 1" visible="1">
  123. </PIN>
  124. <PIN pinname="Input 2" visible="1">
  125. </PIN>
  126. </NODE>
  127. <LINK dstnodeid="8" dstpinname="Y Input Value" srcnodeid="4" srcpinname="Output">
  128. </LINK>
  129. <LINK dstnodeid="4" dstpinname="Input 1" srcnodeid="5" srcpinname="Y Output Value">
  130. </LINK>
  131. <LINK dstnodeid="4" dstpinname="Input 2" srcnodeid="6" srcpinname="Y Output Value">
  132. </LINK>
  133. <NODE componentmode="InABox" id="3" nodename="IOBOX (VALUE ADVANCED)">
  134. <BOUNDS height="0" left="2655" top="2070" type="Node" width="0">
  135. </BOUNDS>
  136. <BOUNDS height="160" left="8640" top="9345" type="Window" width="215">
  137. </BOUNDS>
  138. <BOUNDS height="645" left="2655" top="2070" type="Box" width="720">
  139. </BOUNDS>
  140. <PIN pinname="Slider Behavior" slicecount="1" values="Bang">
  141. </PIN>
  142. <PIN pinname="Show Value" slicecount="1" values="0">
  143. </PIN>
  144. <PIN pinname="Show Slider" slicecount="1" values="1">
  145. </PIN>
  146. <PIN pinname="Show Background" slicecount="1" values="0">
  147. </PIN>
  148. <PIN pinname="Show Connections" slicecount="1" values="0">
  149. </PIN>
  150. <PIN pinname="Descriptive Name" slicecount="1" values="Inititalize">
  151. </PIN>
  152. <PIN pinname="X Input Value" slicecount="1" values="0">
  153. </PIN>
  154. <PIN pinname="Y Input Value" slicecount="1" values="0">
  155. </PIN>
  156. <PIN pinname="Y Output Value" visible="1">
  157. </PIN>
  158. </NODE>
  159. <NODE componentmode="InABox" id="2" nodename="IOBox (String)">
  160. <BOUNDS height="270" left="2400" top="4080" type="Node" width="465">
  161. </BOUNDS>
  162. <BOUNDS height="270" left="2400" top="4080" type="Box" width="465">
  163. </BOUNDS>
  164. <BOUNDS height="160" left="0" top="0" type="Window" width="215">
  165. </BOUNDS>
  166. <PIN pinname="Input String" slicecount="1" visible="0" values="loop">
  167. </PIN>
  168. <PIN pinname="Output String" visible="0">
  169. </PIN>
  170. <PIN pinname="Show Grid" slicecount="1" values="0">
  171. </PIN>
  172. </NODE>
  173. <NODE componentmode="InABox" id="1" nodename="IOBox (String)">
  174. <BOUNDS height="270" left="3510" top="3585" type="Node" width="2400">
  175. </BOUNDS>
  176. <BOUNDS height="660" left="3510" top="3585" type="Box" width="1575">
  177. </BOUNDS>
  178. <BOUNDS height="160" left="0" top="0" type="Window" width="215">
  179. </BOUNDS>
  180. <PIN pinname="Input String" slicecount="1" visible="0" values="|use the inspektor to delay more inputs|">
  181. </PIN>
  182. <PIN pinname="Output String" visible="0">
  183. </PIN>
  184. <PIN pinname="Show Grid" slicecount="1" values="0">
  185. </PIN>
  186. </NODE>
  187. <NODE componentmode="InABox" id="0" nodename="IOBox (String)">
  188. <BOUNDS height="270" left="3435" top="2115" type="Node" width="3135">
  189. </BOUNDS>
  190. <BOUNDS height="615" left="3435" top="2115" type="Box" width="1860">
  191. </BOUNDS>
  192. <BOUNDS height="160" left="0" top="0" type="Window" width="215">
  193. </BOUNDS>
  194. <PIN pinname="Input String" slicecount="1" visible="0" values="|click here to inititalize with specified value|">
  195. </PIN>
  196. <PIN pinname="Output String" visible="0">
  197. </PIN>
  198. <PIN pinname="Show Grid" slicecount="1" values="0">
  199. </PIN>
  200. </NODE>
  201. <NODE id="9" nodename="FrameDelay (Value)" systemname="FrameDelay (Value)" filename="%VVVV%\lib\nodes\plugins\VVVV.Nodes.dll">
  202. <BOUNDS height="0" left="2400" top="3750" type="Node" width="0">
  203. </BOUNDS>
  204. <PIN pinname="Input 1" visible="1">
  205. </PIN>
  206. <PIN pinname="Default 1" visible="1">
  207. </PIN>
  208. <PIN pinname="Output 1" visible="1">
  209. </PIN>
  210. <PIN pinname="Initialize" visible="1">
  211. </PIN>
  212. <PIN pinname="Count" slicecount="1" values="1">
  213. </PIN>
  214. </NODE>
  215. <LINK dstnodeid="9" dstpinname="Input 1" srcnodeid="4" srcpinname="Output">
  216. </LINK>
  217. <LINK dstnodeid="9" dstpinname="Default 1" srcnodeid="7" srcpinname="Y Output Value">
  218. </LINK>
  219. <LINK dstnodeid="9" dstpinname="Initialize" srcnodeid="3" srcpinname="Y Output Value">
  220. </LINK>
  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. <PACK Name="addonpack" Version="31.9.0">
  234. </PACK>
  235. </PATCH>