Class: MainLoop

VVVV.Core. MainLoop

new MainLoop(patch, frames_per_second)

The MainLoop continuously runs VVVV.Core.Patch.evaluate at a specified frame rate, and holds timing information

Parameters:
Name Type Argument Description
patch VVVV.Core.Patch

the root patch

frames_per_second Integer <optional>

default is 60

Source:

Members

deltaT

the time in ms elapsed since the last evaluation cycle

Source:

Methods

isRunning() → {Boolean}

tells, if the main loop is running

Source:
Returns:

true, if it's running, false otherwise

Type
Boolean

start()

(re)starts the main loop

Source:

stop()

pauses the main loop

Source:

<inner> update()

Called every 1000/VVVV.fps ms, and subsequently calls VVVV.Core.Patch.evaluate. It also triggers population of DOM IOBoxes before, and processing of DOM IOBoxes after evaluation.

Source:
VVVV.js Copyright © 2012-2013 The contributors to the VVVV.js project.
Documentation generated by JSDoc 3.3.0-alpha4 on Thu May 08 2014 13:12:35 GMT+0200 (Mitteleuropäische Sommerzeit) using the DocStrap template.