jit.fpsgui Display fps, ms, and matrix attributes

The jit.fpsgui object is a UI object which reports timing and matrix information. It is built with ubumenu-grade technology to provide up-to-the-minute reports on your Jitter data. Currently available reports: fps (frames per second), ms (milliseconds between incoming data), matrix type, dimensions, planecount, and name. Many of the object’s properties may be set from its Inspector.

Matrix Operator: in[1] out[0]
Name IOProc Planelink Typelink Dimlink Plane Dim Type
in n/a n/a n/a n/a n/a n/a n/a

Attributes:
Name Type Description
ignoreclick int Ignore mouse click flag (default = 0 (register clicks))
0 = clicks on the object are registered
1 = clicks on the object are ignored
interval int The sampling period, in milliseconds, used when calculating fps and ms (default = 100)
mode int Display mode (default = 0 (fps))
0 = fps
1 = ms
2 = matrix type
3 = matrix dimensions
4 = matrix planecount
5 = matrix name
timeout int The time interval, in milliseconds, after which the timer resets (default = 2000)
usetimeout int Timeout flag (default = 1) When the flag is set, use of the timeout attribute is enabled

Messages:
anything
Any message sent to the object causes it to calculate fps and ms. The matrix attribute displays show n/a.

frgb [red (int)] [green (int)] [blue (int)]
Sets the color of the jit.fpsgui object text in RGB format. (default 31 31 31) All arguments should be in the range 0-255.

brgb [red (int)] [green (int)] [blue (int)]
Sets the color of the jit.fpsgui object background in RGB format. (default 187 187 187) All arguments should be in the range 0-255.

frgb2 [red (int)] [green (int)] [blue (int)]
Sets the color of the jit.fpsgui object frame in RGB format. (default 4 4 4) All arguments should be in the range 0-255.

brgb2 [red (int)] [green (int)] [blue (int)]
Sets the color of the jit.fpsgui object highlight color in RGB format. (default 234 234 234) All arguments should be in the range 0-255.

Inspector:
The behavior of a jit.fpsgui object is displayed and can be edited using its Inspector. If you have enabled the floating inspector by choosing Show Floating Inspector from the Windows menu, selecting any jit.fpsgui object displays the jit.fpsgui Inspector in the floating window. Selecting an object and choosing Get Info.... from the Object menu also displays the Inspector.

The Mode pop-menu lets you set the jit.fpsgui object’s mode of operation.

fps sets the object to display the rate, in frames per second, of the Jitter object to which it is attached.
ms sets the object to display the elapsed time, in milliseconds, between incoming data for the Jitter object to which it is attached.
type sets the object to display the data type of the Jitter matrix to which it is attached.
dim sets the object to display the dimensions of the Jitter object to which it is attached.
planes sets the object to display the planecount of the Jitter object to which it is attached.
name sets the object to display the name of the Jitter matrix to which the it is attached.

The Color options let you use a swatch color picker or RGB values to select the colors used to display the jit.fpsgui text and its background. Text sets the color for the message displayed (default = 31 31 31), and Background sets the color for the message area in which the text appears (default = 187 187 187). The Bottom/Hilite menu item is used to set the color of highlighted text and the lower display area (default = 234 234 234). The Frame menu item is used to set the color of the jit.fpsgui object’s border (default = 4 4 4).

The Revert button undoes all changes you’ve made to an object’s settings since you opened the Inspector. You can also revert to the state of an object before you opened the Inspector window by choosing Undo Inspector Changes from the Edit menu while the Inspector is open.

The font and size of the jit.fpsgui object can be changed with the Font menu.

Example:

See Also:
jit.matrixinfo