Source node

Rounded Rect

A rectangle with rounded corners. It is the same as Rectangle, but the corner radius gets its own control so you can animate it directly.

Download the patchRead it in the Field Guide

The Rounded Rect node in Infinite, showing its controls and output.

What it does

Rounded Rect 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

Modulate the corner radius from square to pill shape on every kick.

Audio Analyze (Onset)Rounded Rect (Radius)Output

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 …3
width16 to 40961024
height16 to 40961024
size x0.01 to 10.349999994
size y0.01 to 10.349999994
corner/thick0 to 0.30.0500000007
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 Rounded Rect 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
# Rounded Rect: a starting patch for the Rounded Rect node
node 1 Source Rounded Rect
  id node
  pos 520 300
end
node 2 Utility Output
  id out
  pos 1080 300
end
cable out 0 node

More source nodes