BonVision node library

There are 5 types of BonVision nodes:

I. Primitives These are the nodes that define fundamental visual stimulus characteristics.

II. Environment These define the aspects of the visual display devices.

III. Collections These are nodes that define visual stimuli that comprise a collection of Primitives.

IV. Logging These are nodes to help keep log of stimulus parameters for analysis

V. Generic These are generic helper nodes

I. Primitives

  1. DrawCheckerboard: Draws a parameterized checkerboard stimulus.

  2. DrawCircle: Draws a single colored circle.

  3. DrawGratings: Draws parameterized 2D sinewave gratings.

  4. DrawImage: Draws an affine transformed 2D image.

  5. DrawModel: Draws a transformed 3D model stimulus.

  6. DrawQuad: Draws a single axis-aligned colored quad.

  7. DrawText: Draws affine transformed multi-line text using the specified style.

  8. DrawTexturedModel: Draws a textured and transformed 3D model stimulus.

  9. ParameterRange: Generates a linear range of values between min and max.

  10. PrimitiveResource: Loads mesh and shader resources for rendering primitive stimuli.

  11. RangeAnimation: Animates a linear range of values between min and max at the specified cycles per second.

II. Environment

  1. DrawViewport: Renders all currently stored draw commands to the specified viewport.

  2. GammaCorrection: Renders the current scene to a texture and applies gamma correction as a post-processing effect.

  3. MeshMapping: Renders the current scene to a texture and applies mesh mapping and brightness correction as a post-processing effect.

  4. NormalizedViewport: Specifies an orthographic viewport with normalized screen coordinates for rapid prototyping of 2D environments.

  5. OrthographicViewport: Specifies an orthographic viewport, commonly used for 2D stimulus environments.

  6. PerspectiveViewport: Specifies a perspective camera viewport with the given field of view.

  7. SphereMapping: Renders the current viewport to a cubemap texture which can be used for environmental mapping of physical screens around the origin.

  8. ViewingWindow: Renders the sphere map from the perspective of a viewing window of the specified size, position and orientation relative to the origin.

III. Collections

  1. EnsureGratingParameters: Specifies default values for optional parameters in the gratings specification.

  2. GratingSpecification: Creates a sequence of grating parameters used for stimulus presentation.

  3. SparseNoise: Generates and draws a non-overlapping discrete sparse grid of randomly activated quads.

IV. Logging

  1. EventLogger: Creates and initializes a CSV file, and matching behavior subject, on which to log events.

  2. LogEvent: Logs a value into the specified common event stream.

  3. TimeStampedEventLogger: Creates and initializes a CSV file, and matching behavior subject, on which to timestamp and log events.

V. Generic

  1. [Angle:] Represents a workflow property specifying a single-precision angle, in degrees. cycles per second.

  2. [SampleMany:] Draws multiple random samples from the input distribution.

Updated: