Skip to main content

Generative

Context: object.virtual.artwork.generative

This document describes the data structure for generative art, a type of digital artwork created using algorithms or computational processes. Generative art often involves randomness, noise, or other mathematical concepts to produce unique and complex visual outputs.

Data structure

FieldTypeDescriptionMandatory
algorithmalgorithObjectAlgorithm used to generate the artworkYes
softwaresoftwareObjectSoftware or library used to create the artworkYes
outputoutputObjectOutput properties of the generative artworkYes
seedstringSeed value for controlling randomnessNo

Algorithm Object

FieldTypeDescriptionMandatory
namestringName of the algorithmYes
typestringType of the algorithm (e.g., Fractal, Cellular Automata, Noise)Yes
parametersKeyValueParameters used in the algorithmNo

Software Object

FieldTypeDescriptionMandatory
namestringName of the software or libraryYes
versionstringVersion of the software or libraryYes
urlstringURL to the software or libraryYes

Output Object

FieldTypeDescriptionMandatory
sizesizeDimensions of the outputYes
typestringType of output (e.g., image)No
colorSpacestringColor space of the output (e.g., RGB)Yes
formatstringFile format of the output (e.g., PNG)Yes

Example

"generative": {
"algorithm": {
"name": "Perlin Noise",
"type": "Noise",
"parameters": {
"octaves": 4,
"persistence": 0.5,
"scale": 0.01
}
},
"software": {
"name": "Processing",
"version": "3.5.4",
"url": "https://processing.org/"
},
"output": {
"type": "Image",
"size": {
"width": 1920,
"height": 1080,
"unit": "pixels"
},
"colorSpace": "RGB",
"format": "PNG"
},
"seed": "12345"
}