Serialized Form


Package generativedesign

Class generativedesign.Attractor extends Node implements Serializable

serialVersionUID: 1L

Serialized Fields

mode

int mode
One of the constants BASIC, SMOOTH (default), TWIRL.


strength

float strength
Attraction strength (default = 1). Positive numbers mean attraction, negative numbers result in repulsion.


nodes

Node[] nodes

Class generativedesign.Node extends PVector implements Serializable

serialVersionUID: 1L

Serialized Fields

id

String id

diameter

float diameter
Diameter of the node (useful if a click on the node has to be checked)


minX

float minX
Minimum x position


maxX

float maxX
Maximum x position


minY

float minY
Minimum y position


maxY

float maxY
Maximum y position


minZ

float minZ
Minimum z position


maxZ

float maxZ
Maximum z position


velocity

PVector velocity
Velocity vector (speed)


pVelocity

PVector pVelocity

maxVelocity

float maxVelocity
Maximum length of the velocity vector (default = 10)


damping

float damping
Damping of the velocity: 0=no damping, 1=full damping (default = 0.5)


radius

float radius

strength

float strength

ramp

float ramp



Processing Library generativedesign by Hartmut Bohnacker, Benedikt Gross. (c) 2015