A B C D E F G H I K L M N P R S T U V

A

ALPHA - Static variable in class generativedesign.GenerativeDesign
Constant to be used with the function sortColors.
angleDifference(float, float) - Static method in class generativedesign.GenerativeDesign
Calculates the minimal difference of two angles given in radians.
ASTROIDALELLIPSOID - Static variable in class generativedesign.Mesh
 
attachNode(Node) - Method in class generativedesign.Attractor
Adds a node to this attractor
attract() - Method in class generativedesign.Attractor
Performs attraction for all attached nodes.
attract(Node) - Method in class generativedesign.Attractor
Performs attraction for theNode.
attract(Node[]) - Method in class generativedesign.Node
 
attract(Node) - Method in class generativedesign.Node
 
Attractor - Class in generativedesign
This class extends the functionality of the Node class to provide some more functions that make working with the attractor easier.
Attractor() - Constructor for class generativedesign.Attractor
Creates an attractor at default position (0, 0, 0).
Attractor(float, float) - Constructor for class generativedesign.Attractor
Creates an attractor position (theX, theY, 0).
Attractor(float, float, float) - Constructor for class generativedesign.Attractor
Creates an attractor position (theX, theY, theZ).
Attractor(PVector) - Constructor for class generativedesign.Attractor
Creates an attractor at the position given by theVector.

B

BASIC - Static variable in class generativedesign.Attractor
Basic attractor function
BLUE - Static variable in class generativedesign.GenerativeDesign
Constant to be used with the function sortColors.
BOHEMIANDOME - Static variable in class generativedesign.Mesh
 
BOW - Static variable in class generativedesign.Mesh
 
BRIGHTNESS - Static variable in class generativedesign.GenerativeDesign
Constant to be used with the function sortColors.

C

calculateAstroidalEllipsoid(float, float) - Method in class generativedesign.Mesh
 
calculateBohemianDome(float, float) - Method in class generativedesign.Mesh
 
calculateBow(float, float) - Method in class generativedesign.Mesh
 
calculateCorkscrew(float, float) - Method in class generativedesign.Mesh
 
calculateEllipticTorus(float, float) - Method in class generativedesign.Mesh
 
calculateFigure8Torus(float, float) - Method in class generativedesign.Mesh
 
calculateHorn(float, float) - Method in class generativedesign.Mesh
 
calculateKidney(float, float) - Method in class generativedesign.Mesh
 
calculateLemniscape(float, float) - Method in class generativedesign.Mesh
 
calculateLimpetTorus(float, float) - Method in class generativedesign.Mesh
 
calculateMaedersOwl(float, float) - Method in class generativedesign.Mesh
 
calculateParaboloid(float, float) - Method in class generativedesign.Mesh
 
calculatePoints(float, float) - Method in class generativedesign.Mesh
Default function for calculating the points of the mesh.
calculateShell(float, float) - Method in class generativedesign.Mesh
 
calculateSine(float, float) - Method in class generativedesign.Mesh
 
calculateSphere(float, float) - Method in class generativedesign.Mesh
 
calculateSteinbachScrew(float, float) - Method in class generativedesign.Mesh
 
calculateSuperformula(float, float) - Method in class generativedesign.Mesh
 
calculateTorus(float, float) - Method in class generativedesign.Mesh
 
calculateTrianguloid(float, float) - Method in class generativedesign.Mesh
 
calculateTriaxialTritorus(float, float) - Method in class generativedesign.Mesh
 
calculateTube(float, float) - Method in class generativedesign.Mesh
 
cartesianToPolar(float, float) - Static method in class generativedesign.GenerativeDesign
Converts 2D cartesian coordinates to polar coordinates
cartesianToPolar(float, float, float) - Static method in class generativedesign.GenerativeDesign
Converts 3D cartesian coordinates to polar coordinates
cartesianToPolar(PVector) - Static method in class generativedesign.GenerativeDesign
Converts 3D cartesian coordinates to polar coordinates
CORKSCREW - Static variable in class generativedesign.Mesh
 
CURSOR - Static variable in class generativedesign.Tablet
Constant to identify the mouse.

D

damping - Variable in class generativedesign.Node
Damping of the velocity: 0=no damping, 1=full damping (default = 0.5)
damping - Variable in class generativedesign.Spring
 
diameter - Variable in class generativedesign.Node
Diameter of the node (useful if a click on the node has to be checked)
draw() - Method in class generativedesign.Mesh
 
drawMode - Variable in class generativedesign.Mesh
 

E

ELLIPTICTORUS - Static variable in class generativedesign.Mesh
 
ERASER - Static variable in class generativedesign.Tablet
Constant to identify the erasing tip of the pen.

F

FIGURE8TORUS - Static variable in class generativedesign.Mesh
 
form - Variable in class generativedesign.Mesh
 
fromNode - Variable in class generativedesign.Spring
 

G

generativedesign - package generativedesign
 
GenerativeDesign - Class in generativedesign
This class collects static methods that are used in several sketches of the book.
GenerativeDesign() - Constructor for class generativedesign.GenerativeDesign
 
getAltitude() - Method in class generativedesign.Tablet
Returns the current altitude of the pen.
getAzimuth() - Method in class generativedesign.Tablet
Returns the current x azimuth of the pen.
getDamping() - Method in class generativedesign.Node
 
getDamping() - Method in class generativedesign.Spring
 
getDiameter() - Method in class generativedesign.Node
 
getDrawMode() - Method in class generativedesign.Mesh
 
getForm() - Method in class generativedesign.Mesh
 
getFormName() - Method in class generativedesign.Mesh
 
getFromNode() - Method in class generativedesign.Spring
 
getID() - Method in class generativedesign.Node
 
getID() - Method in class generativedesign.Spring
 
getLength() - Method in class generativedesign.Spring
 
getMaxBrightness() - Method in class generativedesign.Mesh
 
getMaxHue() - Method in class generativedesign.Mesh
 
getMaxSaturation() - Method in class generativedesign.Mesh
 
getMaxVelocity() - Method in class generativedesign.Node
 
getMaxX() - Method in class generativedesign.Node
 
getMaxY() - Method in class generativedesign.Node
 
getMaxZ() - Method in class generativedesign.Node
 
getMeshAlpha() - Method in class generativedesign.Mesh
 
getMeshDistortion() - Method in class generativedesign.Mesh
 
getMinBrightness() - Method in class generativedesign.Mesh
 
getMinHue() - Method in class generativedesign.Mesh
 
getMinSaturation() - Method in class generativedesign.Mesh
 
getMinX() - Method in class generativedesign.Node
 
getMinY() - Method in class generativedesign.Node
 
getMinZ() - Method in class generativedesign.Node
 
getMode() - Method in class generativedesign.Attractor
 
getNodes() - Method in class generativedesign.Attractor
 
getParam(int) - Method in class generativedesign.Mesh
 
getParams() - Method in class generativedesign.Mesh
 
getPenKind() - Method in class generativedesign.Tablet
Returns the current pen kind: CURSOR is the mouse, STYLUS is the drawing tip of the pen and ERASER is the eraser tip of the pen.
getPenX() - Method in class generativedesign.Tablet
Returns the current X position of the pen.
getPenY() - Method in class generativedesign.Tablet
Returns the current Y position of the pen.
getPressure() - Method in class generativedesign.Tablet
Returns the current pressure.
getRadius() - Method in class generativedesign.Node
 
getRamp() - Method in class generativedesign.Node
 
getSavedAltitude() - Method in class generativedesign.Tablet
Returns the saved altitude of the pen.
getSavedAzimuth() - Method in class generativedesign.Tablet
Returns the saved x azimuth of the pen.
getSavedPenX() - Method in class generativedesign.Tablet
Returns the saved X position of the pen.
getSavedPenY() - Method in class generativedesign.Tablet
Returns the saved Y position of the pen.
getSavedPressure() - Method in class generativedesign.Tablet
Returns the saved pressure.
getSavedTiltX() - Method in class generativedesign.Tablet
Returns the saved X tilt of the pen.
getSavedTiltY() - Method in class generativedesign.Tablet
Returns the saved Y tilt of the pen.
getStiffness() - Method in class generativedesign.Spring
 
getStrength() - Method in class generativedesign.Attractor
 
getStrength() - Method in class generativedesign.Node
 
getTiltX() - Method in class generativedesign.Tablet
Returns the current X tilt of the pen.
getTiltY() - Method in class generativedesign.Tablet
Returns the current Y tilt of the pen.
getToNode() - Method in class generativedesign.Spring
 
getUCount() - Method in class generativedesign.Mesh
 
getUMax() - Method in class generativedesign.Mesh
 
getUMin() - Method in class generativedesign.Mesh
 
getVCount() - Method in class generativedesign.Mesh
 
getVelocity() - Method in class generativedesign.Node
 
getVMax() - Method in class generativedesign.Mesh
 
getVMin() - Method in class generativedesign.Mesh
 
GRAYSCALE - Static variable in class generativedesign.GenerativeDesign
Constant to be used with the function sortColors.
GREEN - Static variable in class generativedesign.GenerativeDesign
Constant to be used with the function sortColors.

H

HORN - Static variable in class generativedesign.Mesh
 
HSBtoRGB(float, float, float) - Static method in class generativedesign.GenerativeDesign
Converts a HSB color to RGB.
HTML_CONTENT - Static variable in class generativedesign.GenerativeDesign
Constant to be used as a mode with the class AsyncHTMLLoader.
HTML_PLAIN - Static variable in class generativedesign.GenerativeDesign
Constant to be used as a mode with the class AsyncHTMLLoader.
HUE - Static variable in class generativedesign.GenerativeDesign
Constant to be used with the function sortColors.

I

id - Variable in class generativedesign.Node
 
id - Variable in class generativedesign.Spring
 
isCenterDown() - Method in class generativedesign.Tablet
Returns true if there is the center button is currently pressed.
isDown() - Method in class generativedesign.Tablet
Returns true if there is any button being currently pressed.
isLeftDown() - Method in class generativedesign.Tablet
Returns true if there is the left button is currently pressed.
isMovement() - Method in class generativedesign.Tablet
Returns true if a level event has occurred, meaning that a change in pressure, position or tilt has been detected.
isRightDown() - Method in class generativedesign.Tablet
Returns true if there is the right button is currently pressed.

K

KIDNEY - Static variable in class generativedesign.Mesh
 

L

LEMNISCAPE - Static variable in class generativedesign.Mesh
 
length - Variable in class generativedesign.Spring
 
LIMPETTORUS - Static variable in class generativedesign.Mesh
 
loadHTMLAsync(PApplet, String) - Static method in class generativedesign.GenerativeDesign
Loads a HTML-File asynchronously
loadHTMLAsync(PApplet, String, int) - Static method in class generativedesign.GenerativeDesign
Loads a HTML-File asynchronously
loadImageAsync(PApplet, String) - Static method in class generativedesign.GenerativeDesign
Loads an image file asynchronously
loadXMLAsync(PApplet, String) - Static method in class generativedesign.GenerativeDesign
Loads a XML-File asynchronously
logE(float) - Method in class generativedesign.Mesh
The processing function log() does not take negative numbers.

M

MAEDERSOWL - Static variable in class generativedesign.Mesh
 
maxBrightness - Variable in class generativedesign.Mesh
 
maxHue - Variable in class generativedesign.Mesh
 
maxSaturation - Variable in class generativedesign.Mesh
 
maxVelocity - Variable in class generativedesign.Node
Maximum length of the velocity vector (default = 10)
maxX - Variable in class generativedesign.Node
Maximum x position
maxY - Variable in class generativedesign.Node
Maximum y position
maxZ - Variable in class generativedesign.Node
Maximum z position
Mesh - Class in generativedesign
Basic class for calculating and drawing a mesh.
Mesh(PApplet) - Constructor for class generativedesign.Mesh
Creates a mesh with default form and parameters.
Mesh(PApplet, int) - Constructor for class generativedesign.Mesh
Creates a mesh with the given form and default parameters.
Mesh(PApplet, int, int, int) - Constructor for class generativedesign.Mesh
 
Mesh(PApplet, int, float, float, float, float) - Constructor for class generativedesign.Mesh
 
Mesh(PApplet, int, int, int, float, float, float, float) - Constructor for class generativedesign.Mesh
 
meshAlpha - Variable in class generativedesign.Mesh
 
meshDistortion - Variable in class generativedesign.Mesh
 
minBrightness - Variable in class generativedesign.Mesh
 
minHue - Variable in class generativedesign.Mesh
 
minSaturation - Variable in class generativedesign.Mesh
 
minX - Variable in class generativedesign.Node
Minimum x position
minY - Variable in class generativedesign.Node
Minimum y position
minZ - Variable in class generativedesign.Node
Minimum z position
mode - Variable in class generativedesign.Attractor
One of the constants BASIC, SMOOTH (default), TWIRL.

N

Node - Class in generativedesign
The node class supplies a basic object for physical simulations.
Node() - Constructor for class generativedesign.Node
 
Node(float, float) - Constructor for class generativedesign.Node
 
Node(float, float, float) - Constructor for class generativedesign.Node
 
Node(PVector) - Constructor for class generativedesign.Node
 

P

PARABOLOID - Static variable in class generativedesign.Mesh
 
params - Variable in class generativedesign.Mesh
 
penButtonEvent(PButtonEvent) - Method in class generativedesign.Tablet
Invokes penButtonEventMethod in the Processing applet (if exists) when a button event occurs.
penKindEvent(PKindEvent) - Method in class generativedesign.Tablet
Invokes penKindEventMethod in the Processing applet (if exists) when a kind event occurs.
penLevelEvent(PLevelEvent) - Method in class generativedesign.Tablet
Invokes penLevelEventMethod in the Processing applet (if exists) when a level event occurs.
penScrollEvent(PScrollEvent) - Method in class generativedesign.Tablet
Invokes penScrollEventMethod in the Processing applet (if exists) when a scroll event occurs.
penTock(long) - Method in class generativedesign.Tablet
 
PLANE - Static variable in class generativedesign.Mesh
 
polarToCartesian(float, float) - Static method in class generativedesign.GenerativeDesign
Converts 2D polar coordinates to cartesian coordinates
polarToCartesian(float, float, float) - Static method in class generativedesign.GenerativeDesign
Converts 3D polar coordinates to cartesian coordinates
polarToCartesian(PVector) - Static method in class generativedesign.GenerativeDesign
Converts 3D polar coordinates to cartesian coordinates
power(float, float) - Method in class generativedesign.Mesh
The processing function pow() works a bit differently for negative bases.

R

radius - Variable in class generativedesign.Node
 
ramp - Variable in class generativedesign.Node
 
RED - Static variable in class generativedesign.GenerativeDesign
Constant to be used with the function sortColors.
RGBtoHSB(float, float, float) - Static method in class generativedesign.GenerativeDesign
Converts a RGB color to HSB.
rotateX(float) - Method in class generativedesign.Node
 
rotateY(float) - Method in class generativedesign.Node
 
rotateZ(float) - Method in class generativedesign.Node
 

S

SATURATION - Static variable in class generativedesign.GenerativeDesign
Constant to be used with the function sortColors.
saveASE(PApplet, int[], String) - Static method in class generativedesign.GenerativeDesign
Exports an .ase (Adobe Swatch Echange) file with default names
saveASE(PApplet, int[], String[], String) - Static method in class generativedesign.GenerativeDesign
Exports an .ase (Adobe Swatch Echange) file
saveState() - Method in class generativedesign.Tablet
Saves the current state of the tablet.
setBoundary(float, float, float, float, float, float) - Method in class generativedesign.Node
 
setBoundary(float, float, float, float) - Method in class generativedesign.Node
 
setColorRange(float, float, float, float, float, float, float) - Method in class generativedesign.Mesh
 
setDamping(float) - Method in class generativedesign.Node
 
setDamping(float) - Method in class generativedesign.Spring
 
setDiameter(float) - Method in class generativedesign.Node
 
setDrawMode(int) - Method in class generativedesign.Mesh
 
setForm(int) - Method in class generativedesign.Mesh
 
setFromNode(Node) - Method in class generativedesign.Spring
 
setID(String) - Method in class generativedesign.Node
 
setID(String) - Method in class generativedesign.Spring
 
setLength(float) - Method in class generativedesign.Spring
 
setMaxBrightness(float) - Method in class generativedesign.Mesh
 
setMaxHue(float) - Method in class generativedesign.Mesh
 
setMaxSaturation(float) - Method in class generativedesign.Mesh
 
setMaxVelocity(float) - Method in class generativedesign.Node
 
setMaxX(float) - Method in class generativedesign.Node
 
setMaxY(float) - Method in class generativedesign.Node
 
setMaxZ(float) - Method in class generativedesign.Node
 
setMeshAlpha(float) - Method in class generativedesign.Mesh
 
setMeshDistortion(float) - Method in class generativedesign.Mesh
 
setMinBrightness(float) - Method in class generativedesign.Mesh
 
setMinHue(float) - Method in class generativedesign.Mesh
 
setMinSaturation(float) - Method in class generativedesign.Mesh
 
setMinX(float) - Method in class generativedesign.Node
 
setMinY(float) - Method in class generativedesign.Node
 
setMinZ(float) - Method in class generativedesign.Node
 
setMode(int) - Method in class generativedesign.Attractor
 
setNodes(Node[]) - Method in class generativedesign.Attractor
 
setParam(int, float) - Method in class generativedesign.Mesh
 
setParams(float[]) - Method in class generativedesign.Mesh
 
setRadius(float) - Method in class generativedesign.Node
 
setRamp(float) - Method in class generativedesign.Node
 
setStiffness(float) - Method in class generativedesign.Spring
 
setStrength(float) - Method in class generativedesign.Attractor
 
setStrength(float) - Method in class generativedesign.Node
 
setToNode(Node) - Method in class generativedesign.Spring
 
setUCount(int) - Method in class generativedesign.Mesh
 
setUMax(float) - Method in class generativedesign.Mesh
 
setUMin(float) - Method in class generativedesign.Mesh
 
setVCount(int) - Method in class generativedesign.Mesh
 
setVelocity(PVector) - Method in class generativedesign.Node
 
setVMax(float) - Method in class generativedesign.Mesh
 
setVMin(float) - Method in class generativedesign.Mesh
 
SHELL - Static variable in class generativedesign.Mesh
 
SINE - Static variable in class generativedesign.Mesh
 
SMOOTH - Static variable in class generativedesign.Attractor
Attractor function with a smooth transition at the attractor radius
sortColors(PApplet, int[], String) - Static method in class generativedesign.GenerativeDesign
Sorts a list of colors
SPHERE - Static variable in class generativedesign.Mesh
 
Spring - Class in generativedesign
Elasic connection between two nodes.
Spring(Node, Node) - Constructor for class generativedesign.Spring
 
Spring(Node, Node, float, float, float) - Constructor for class generativedesign.Spring
 
STEINBACHSCREW - Static variable in class generativedesign.Mesh
 
stiffness - Variable in class generativedesign.Spring
 
strength - Variable in class generativedesign.Attractor
Attraction strength (default = 1).
strength - Variable in class generativedesign.Node
 
STYLUS - Static variable in class generativedesign.Tablet
Constant to identify the drawing tip of the pen.
SUPERFORMULA - Static variable in class generativedesign.Mesh
 

T

Tablet - Class in generativedesign
This class extends the PenListener class of the JPen library by adding getter methods to retrieve the pen values (position, pressure, tilt, pressed buttons, etc.).
Tablet(PApplet) - Constructor for class generativedesign.Tablet
The class constructor that takes the parent Processing applet as parameter to initialize the pen manager.
timestamp() - Static method in class generativedesign.GenerativeDesign
 
toNode - Variable in class generativedesign.Spring
 
TORUS - Static variable in class generativedesign.Mesh
 
TRIANGULOID - Static variable in class generativedesign.Mesh
 
TRIAXIALTRITORUS - Static variable in class generativedesign.Mesh
 
TUBE - Static variable in class generativedesign.Mesh
 
TWIRL - Static variable in class generativedesign.Attractor
Same as SMOOTH, but perpendicular to the attraction vector

U

uCount - Variable in class generativedesign.Mesh
 
uMax - Variable in class generativedesign.Mesh
 
uMin - Variable in class generativedesign.Mesh
 
UNDEFINED - Static variable in class generativedesign.Tablet
Constant to identify an unknown pen kind.
unsort(ArrayList<Object>) - Static method in class generativedesign.GenerativeDesign
Takes an ArrayList and reorders the elements randomly.
update() - Method in class generativedesign.Mesh
Updates the points of the mesh.
update() - Method in class generativedesign.Node
 
update(boolean, boolean, boolean) - Method in class generativedesign.Node
 
update() - Method in class generativedesign.Spring
Apply forces on spring and attached nodes

V

vCount - Variable in class generativedesign.Mesh
 
velocity - Variable in class generativedesign.Node
Velocity vector (speed)
VERSION - Static variable in class generativedesign.GenerativeDesign
 
version() - Static method in class generativedesign.GenerativeDesign
 
vMax - Variable in class generativedesign.Mesh
 
vMin - Variable in class generativedesign.Mesh
 

A B C D E F G H I K L M N P R S T U V

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