Navigation

Operators and Keywords

Function List:

C++ API

Function File: vibes.beginDrawing ()
Function File: vibes.beginDrawing (filename)

Connect to the VIBes viewer to send data for plotting. This function must be called before using any other VIBes functions.

Connection to VIBes is established via a file. Plotting commands for VIBes will be sent to the file and, asynchronously, interpreted by the VIBes viewer. Make sure that the VIBes viewer is started to see results of the plotting.

vibes.beginDrawing
vibes.drawBox (0, 1, 0, 1)
vibes.endDrawing

The target file is .vibes.json inside the user’s home directory by default and may be changed with the optional filename parameter.

vibes.beginDrawing simulation1.json
vibes.drawBox (0, 1, 0, 1)
vibes.endDrawing

See also: vibes.endDrawing.

Package: vibes