Iterate

This page documents the development version of Graphite at dev.graphite.art, which may differ from the current release.

Feeds the content through the same steps over and over, each time starting from the previous result. Inside the steps, a Read node like Read String or Read Vector reads the result so far, and Read Index reads how many times around it has been.

Interface

Inputs

ParameterDetailsPossible Types
Content

The starting value, which the steps rework each time around.

Primary Input

Color[]
Color
Gradient[]
Gradient
Graphic[]
Graphic
Number[]
Number
Raster[]
Raster
String[]
String
Vector[]
Vector
Steps

The steps applied each time around, reading the result so far with a Read node.

Exposed to the Graph by Default

Color
Gradient
Graphic
Number
Raster
String
Vector
Count

How many times to apply the steps. Zero passes the content through unchanged.

Default: 1

Integer[]
Integer

Outputs

ProductDetailsPossible Types
Result

The value produced by the node operation.

Primary Output

String
String[]
Number
Number[]
Vector
Vector[]
Graphic
Graphic[]
Raster
Raster[]
Color
Color[]
Gradient
Gradient[]