Source node

Rectangle

A filled or stroked rectangle with an optional corner radius. The simplest building block for panels, bars, frames, and mattes.

Download the patchRead it in the Field Guide

The Rectangle node in Infinite, showing its controls and output.

What it does

Rectangle is a source node: it makes a picture from nothing, so it sits at the start of a visual chain. It has no input and gives picture out, so it starts a chain.

Try it

Use it as a hard-edged matte to cut a window out of a busy video.

RectangleSet AlphaOutput

Inputs and outputs

Inputs

  • None. It starts a chain.

Outputs

  • picture out

Controls

Every control with a range can be driven by a modulator, a note, an audio level or a sketch.

ControlRange or optionsDefault
shapeCircle, Ellipse, Rectangle, Rounded Rect, Triangle, Polygon, Star, Ring …2
width16 to 40961024
height16 to 40961024
size x0.01 to 10.349999994
size y0.01 to 10.349999994
rotation-180 to 1800
pos x0 to 10.5
pos y0 to 10.5
fill opacity0 to 11
stroke width0 to 0.10
feather0 to 0.10.00499999989
bg opacity0 to 10

Example patch

This patch wires Rectangle to what it needs and shows the result. Download it, then use File, Open in Infinite, or read it here: it is plain text.

infinite-patch 1
rev 2
# Rectangle: a starting patch for the Rectangle node
node 1 Source Rectangle
  id node
  pos 520 300
end
node 2 Utility Output
  id out
  pos 1080 300
end
cable out 0 node

More source nodes