Star

Created With

linkreplace()

Either replaces non empty cells with pattern, or pattern1 filled cells with pattern2.

linkSyntax

replace(pattern)

replace(pattern1, pattern2)

linkParameters

pattern1p5.Image | p5.Graphics | p5.Color | array | object | string | number
pattern2p5.Image | p5.Color | array | object | string | number
replace()SyntaxParameters

Home

p5.js functionschevron_right

Properties

I/Ochevron_right
Boolean operatorschevron_right
Geometry transformationschevron_right
Visual computingchevron_right
Other representationschevron_right

Demo