Home
Documentation Tutorial Play Bug Reports Kontakt

Documentation /Table of Contents


The Graphic Programming Objects

In general all objects may contain the same basic elements: Input arrows which are colored blue, output arrows colored orange and a green ball above used to select and move the objects.

You can select multiple object by clicking on the green ball while pressing the SHIFT key. When you select an object the select ball turns red.

Basic Objects

Input: Use this object to input numbers and text into other objects.


Display: Use this object to display the a value.

Arithmetic: Use this object to perform arithmetic operations on its two inputs.

Color: This object is used to create a color. It has three inputs: red, green and blue. On each input a value between 0 and 255. If all the values are 0 then the resulting color is black, if all the values are 255 the you get white, for red you give 255 into the red input and 0 into the two others, and so on with different combinations.

Mult3: This object takes one input and distributes it, unchanged to three outputs.

If: You use this object to select one of the two upper inputs depending on whether the condition specified with the to lower inputs is true of false. For example, lets say input 1 is 10, input 2 is -10, input 3 is 1 and input 4 is 2. If you select a condition that input 3 should be greater that input 4 (1 > 2 ), then the condition if false and the output is -10.

The next two objects Loop Start and Loop End are usually used together as shown. The Loop Start object has three inputs. The input labeled Tmr. is the amount of milliseconds a new value is sent to the output. The next input is the initial value, and the final input is the value returning from the loop. The is a drop down menu that determines how the inputs are going to be processed. If you choose R (Replace) the first time the loop is executed the output value will be the input, afterwards this value will be replaced with the value coming from the feed back input. The oder options perform arithmetic operations on the two inputs.

Oscillators

The oscillator objects are function generators. All work with the same principle. There is a function that generates a certain cyclic output that can be modified defining a range between minimum an maximum values or amplitude (A input). Additionally, this range can be move up or down giving a value to the offset (Of input). For example if you choose the sinus curve and define an amplitude of 100 you will get an output between -100 and +100, if you the give an offset of 100 then the output will be between 0 and 200.
Finally the value given on for the frequency ( Fr input) will determine how often the function will repeat itself.

Shapes

All shapes have the same basic input parameters:
x: The horizon position of the shape center in pixels.
y: The vertical position of the shape center in pixels.
w: The width of the shape in pixels.
h: The height of the shape in pixels.
rot: The rotation of the shape in degrees.
alpha: The transparency of a shape, 100 being completely opaque, 0 being completely transparent.
color: The color of the shape. The value to this input has to come from a color object.
trail: How many shapes will be repeated.
outline: If this value is bigger than 0 then the program only draws the outline of the shape.
The text shape has an additional input for the text that will be displayed.

© 2005, Julio García Sacristán