public class R_Image extends BigBang
ALPHA, BLANK, BRIGHTNESS, CARTESIAN, CENTER, CHAOS, CIRCULAR, CLOSE, CORNER, CORNERS, COS, DIAGONAL, DIAMETER, DRAW, DYNAMIC, EAST, EQUATION, EULER, FIT, FLUID, G, GOLD_ANGLE, GOLD_NUMBER, GRAVITY, HORIZONTAL, HUE, MAGNETIC, MAX_FLOAT, MAX_INT, MIN_FLOAT, MIN_INT, MIX, NONE, NORTH, NORTH_EAST, NORTH_WEST, NOTHING, NULL, OPEN, ORDER, PERLIN, PHI, PI, PIXEL, POLAR, RADIUS, RAND, ROOT2, SATURATION, SCALE, SIN, SOUTH, SOUTH_EAST, SOUTH_WEST, STAR, STATIC, TAN, TAU, TRIG_0, TRIG_1, TRIG_2, TRIG_3, TRIG_4, TWO_PI, VERSION, VERTICAL, WEST
ABRICOT, ACAJOU, AMARANTE, AMBRE, ARGENT, AUBERGINE, AZUR, BIS, BISTRE, BLACK, BLANC, BLEU, BLOND, BLOOD, BLUE, BOUTEILLE, BRIQUE, BRONZE, BROWN, CAERULEUM, CAFE, CANARD, CANELLE, CAPUCINE, CARMIN, CARMINE, CAROTTE, CELESTE, CERISE, CHAMOIS, CHARTREUSE, CHOCOLAT, CIEL, CITROUILLE, COBALT, COFFEE, COLOMBIN, CORAIL, CYAN, EVEQUE, FRANCE, FUSCHIA, GOLD, GRAY, GRAY_MEDIUM, GREEN, GRENAT, GRIS, GRIS_MOYEN, GUEULES, IMPERIAL, JAUNE, LAPIS_LAZULI, LAVANDE, LILAS, LIME, LIN, LUNE, MAGENTA, MANDARINE, MARRON, MAUVE, MIMOSA, MOON, MOUNTBATTEN, NANKIN, NAPLE, NOIR, NOISETTE, NUIT, OCRE, OCRE_JAUNE, OCRE_ROUGE, OLIVE, OR, ORANGE, OUTREMER, PAYNE, PERLE, PERROQUET, PINK, PISTACHE, POURPRE, PRUNE, PURPLE, RED, ROSE, ROUGE, SANG, SAPIN, SAUGE, SEPIA, SHAKUDOU, SILVER, SINOPLE, SMALT, SOURIS, TAUPE, TILLEUL, TURQUOISE, VERMILLON, VERT, VERT_D_EAU, VERT_DE_GRIS, VESSIE, VIOLET, WHITE, YELLOW, ZINZOLIN
Constructor and Description |
---|
R_Image(processing.core.PApplet pa) |
R_Image(processing.core.PApplet pa,
processing.core.PGraphics other) |
Modifier and Type | Method and Description |
---|---|
void |
aspect(int fill,
int stroke,
float thickness) |
void |
aspect(int fill,
int stroke,
float thickness,
processing.core.PGraphics other) |
void |
beginShape()
beginShape + endShape
|
void |
beginShape(int kind,
processing.core.PGraphics other) |
void |
beginShape(processing.core.PGraphics other) |
void |
bezierVertex(float x2,
float y2,
float x3,
float y3,
float x4,
float y4) |
void |
bezierVertex(float x2,
float y2,
float z2,
float x3,
float y3,
float z3,
float x4,
float y4,
float z4) |
void |
bezierVertex(float x2,
float y2,
float z2,
float x3,
float y3,
float z3,
float x4,
float y4,
float z4,
processing.core.PGraphics other) |
void |
bezierVertex(float x2,
float y2,
float x3,
float y3,
float x4,
float y4,
processing.core.PGraphics other)
BEZIER VERTEX
|
void |
bezierVertex(vec a,
vec b,
vec pos) |
void |
bezierVertex(vec a,
vec b,
vec pos,
processing.core.PGraphics other) |
int |
color(float gray) |
int |
color(float gray,
float alpha) |
int |
color(float v1,
float v2,
float v3) |
int |
color(float v1,
float v2,
float v3,
float alpha) |
void |
curveVertex(float x,
float y) |
void |
curveVertex(float x,
float y,
float z) |
void |
curveVertex(float x,
float y,
float z,
processing.core.PGraphics other) |
void |
curveVertex(float x,
float y,
processing.core.PGraphics other) |
void |
curveVertex(vec pos) |
void |
curveVertex(vec pos,
processing.core.PGraphics other) |
void |
endShape() |
void |
endShape(int mode) |
void |
endShape(int mode,
processing.core.PGraphics other) |
void |
endShape(processing.core.PGraphics other) |
void |
fill(int arg) |
java.lang.String |
get_renderer() |
java.lang.String |
get_renderer(processing.core.PGraphics graph) |
void |
line(float x1,
float y1,
float x2,
float y2) |
void |
line(float x1,
float y1,
float z1,
float x2,
float y2,
float z2) |
void |
line(ivec a,
ivec b) |
void |
line(vec a,
vec b) |
void |
noFill() |
void |
noStroke() |
void |
pass_graphic(processing.core.PGraphics other) |
void |
point(float x,
float y) |
void |
point(float x,
float y,
float z) |
void |
point(ivec pos) |
void |
point(vec pos) |
void |
pop() |
void |
popMatrix() |
void |
push()
push + pop
|
void |
pushMatrix() |
void |
quadraticVertex(float cx,
float cy,
float x3,
float y3) |
void |
quadraticVertex(float cx,
float cy,
float cz,
float x3,
float y3,
float z3) |
void |
quadraticVertex(float cx,
float cy,
float cz,
float x3,
float y3,
float z3,
processing.core.PGraphics other) |
void |
quadraticVertex(float cx,
float cy,
float x3,
float y3,
processing.core.PGraphics other)
QUADRATIC VERTEX
|
void |
quadraticVertex(vec a,
vec b) |
void |
quadraticVertex(vec a,
vec b,
processing.core.PGraphics other) |
void |
rectMode(int mode) |
boolean |
renderer_P3D() |
void |
rotate(float angle) |
void |
rotateX(float angle) |
void |
rotateXY(vec2 rot) |
void |
rotateXY(vec2 rot,
processing.core.PGraphics other) |
void |
rotateXYZ(vec3 rot) |
void |
rotateXYZ(vec3 rot,
processing.core.PGraphics other) |
void |
rotateXZ(vec2 rot) |
void |
rotateXZ(vec2 rot,
processing.core.PGraphics other) |
void |
rotateY(float angle) |
void |
rotateYZ(vec2 rot) |
void |
rotateYZ(vec2 rot,
processing.core.PGraphics other) |
void |
rotateZ(float angle) |
void |
set(int x,
int y,
int c,
processing.core.PGraphics other) |
void |
set(ivec2 pos,
int c) |
void |
set(ivec2 pos,
int c,
processing.core.PGraphics other) |
void |
set(vec2 pos,
int c) |
void |
set(vec2 pos,
int c,
processing.core.PGraphics other) |
void |
square(float x,
float y,
float extent) |
void |
stroke(int arg) |
void |
strokeWeight(float thickness) |
void |
thickness(float thickness) |
void |
translate(float x,
float y) |
void |
translate(float x,
float y,
float z) |
void |
translate(vec v) |
void |
triangle(float x1,
float y1,
float x2,
float y2,
float x3,
float y3) |
void |
triangle(ivec a,
ivec b,
ivec c) |
void |
triangle(vec a,
vec b,
vec c) |
void |
vertex(float[] v) |
void |
vertex(float[] v,
processing.core.PGraphics other) |
void |
vertex(float x,
float y) |
void |
vertex(float x,
float y,
float z) |
void |
vertex(float x,
float y,
float u,
float v) |
void |
vertex(float x,
float y,
float z,
float u,
float v) |
void |
vertex(float x,
float y,
float z,
float u,
float v,
processing.core.PGraphics other) |
void |
vertex(float x,
float y,
float u,
float v,
processing.core.PGraphics other) |
void |
vertex(float x,
float y,
float z,
processing.core.PGraphics other) |
void |
vertex(float x,
float y,
processing.core.PGraphics other) |
void |
vertex(vec v) |
void |
vertex(vec2 v,
vec2 uv) |
void |
vertex(vec2 coord,
vec2 uv,
processing.core.PGraphics other) |
void |
vertex(vec3 v,
vec2 uv) |
void |
vertex(vec3 coord,
vec2 uv,
processing.core.PGraphics other) |
void |
vertex(vec coord,
processing.core.PGraphics other) |
all, all, all, all, all, any, any, any, any, any, clamp, clamp, clamp, clamp, equal, equal, equal, equal, equal, equal, equal, equal, fract, fract, fract, fract, greaterThan, greaterThan, greaterThan, greaterThan, greaterThan, greaterThan, greaterThan, greaterThan, greaterThanEqual, greaterThanEqual, greaterThanEqual, greaterThanEqual, greaterThanEqual, greaterThanEqual, greaterThanEqual, greaterThanEqual, lessThan, lessThan, lessThan, lessThan, lessThan, lessThan, lessThan, lessThan, lessThanEqual, lessThanEqual, lessThanEqual, lessThanEqual, lessThanEqual, lessThanEqual, lessThanEqual, lessThanEqual, mix, mix, mix, mix, mod, mod, mod, mod, mod, mod, mod, random_next_gaussian, random_next_gaussian, random_next_gaussian, random_next_gaussian, sign, sign, sign, sign, sign, sign, sign, sign, smoothstep, smoothstep, smoothstep, smoothstep, step, step, step, step
public R_Image(processing.core.PApplet pa)
public R_Image(processing.core.PApplet pa, processing.core.PGraphics other)
public boolean renderer_P3D()
public java.lang.String get_renderer()
public java.lang.String get_renderer(processing.core.PGraphics graph)
graph
- pass the graphics context like P3D, P2D...public void pass_graphic(processing.core.PGraphics other)
other
- public void set(vec2 pos, int c, processing.core.PGraphics other)
pos
- c
- other
- public void set(ivec2 pos, int c, processing.core.PGraphics other)
pos
- c
- other
- public void set(vec2 pos, int c)
pos
- c
- public void set(ivec2 pos, int c)
pos
- c
- public void set(int x, int y, int c, processing.core.PGraphics other)
x
- y
- c
- other
- public void beginShape(processing.core.PGraphics other)
other
- public void beginShape(int kind, processing.core.PGraphics other)
kind
- other
- public void endShape(processing.core.PGraphics other)
other
- public void endShape(int mode, processing.core.PGraphics other)
mode
- other
- public void vertex(float x, float y, processing.core.PGraphics other)
x
- y
- other
- public void vertex(float x, float y, float z, processing.core.PGraphics other)
x
- y
- z
- other
- public void vertex(float[] v, processing.core.PGraphics other)
v
- other
- public void vertex(float x, float y, float u, float v, processing.core.PGraphics other)
x
- y
- u
- v
- other
- public void vertex(float x, float y, float z, float u, float v, processing.core.PGraphics other)
x
- y
- z
- u
- v
- other
- public void vertex(vec coord, processing.core.PGraphics other)
coord
- other
- public void vertex(vec2 coord, vec2 uv, processing.core.PGraphics other)
coord
- uv
- other
- public void vertex(vec3 coord, vec2 uv, processing.core.PGraphics other)
coord
- uv
- other
- public void vertex(vec v)
v
- public void bezierVertex(float x2, float y2, float x3, float y3, float x4, float y4, processing.core.PGraphics other)
public void bezierVertex(float x2, float y2, float z2, float x3, float y3, float z3, float x4, float y4, float z4, processing.core.PGraphics other)
public void quadraticVertex(float cx, float cy, float x3, float y3, processing.core.PGraphics other)
public void quadraticVertex(float cx, float cy, float cz, float x3, float y3, float z3, processing.core.PGraphics other)
public void curveVertex(float x, float y, float z, processing.core.PGraphics other)
x
- y
- z
- other
- public void curveVertex(float x, float y, processing.core.PGraphics other)
public void curveVertex(vec pos, processing.core.PGraphics other)
public void curveVertex(vec pos)
public void point(vec pos)
pos
- x,y,z-coordinate of the pointpublic void point(ivec pos)
pos
- x,y,z-coordinate of the pointpublic void push()
public void pushMatrix()
public void pop()
public void popMatrix()
public void translate(float x, float y, float z)
x
- y
- z
- public void translate(float x, float y)
x
- y
- public void translate(vec v)
v
- public void rotate(float angle)
angle
- public void rotateX(float angle)
angle
- public void rotateY(float angle)
angle
- public void rotateZ(float angle)
angle
- public void rotateXY(vec2 rot)
rot
- public void rotateXY(vec2 rot, processing.core.PGraphics other)
rot
- other
- public void rotateXZ(vec2 rot)
rot
- public void rotateXZ(vec2 rot, processing.core.PGraphics other)
rot
- other
- public void rotateYZ(vec2 rot)
rot
- public void rotateYZ(vec2 rot, processing.core.PGraphics other)
rot
- other
- public void rotateXYZ(vec3 rot)
rot
- public void rotateXYZ(vec3 rot, processing.core.PGraphics other)
rot
- other
- public int color(float gray)
public int color(float gray, float alpha)
public int color(float v1, float v2, float v3)
public int color(float v1, float v2, float v3, float alpha)
public void fill(int arg)
arg
- public void noFill()
public void stroke(int arg)
arg
- public void noStroke()
public void strokeWeight(float thickness)
thickness
- public void thickness(float thickness)
thickness
- public void beginShape()
public void endShape()
public void endShape(int mode)
mode
- public void vertex(float x, float y)
x
- x-coordinate of the vertexy
- y-coordinate of the vertexpublic void vertex(float x, float y, float z)
x
- x-coordinate of the vertexy
- y-coordinate of the vertexz
- z-coordinate of the vertexpublic void vertex(float[] v)
v
- public void vertex(float x, float y, float u, float v)
x
- y
- u
- v
- public void vertex(float x, float y, float z, float u, float v)
x
- y
- z
- u
- v
- public void bezierVertex(float x2, float y2, float x3, float y3, float x4, float y4)
x2
- the x-coordinate of the 1st control pointy2
- the y-coordinate of the 1st control pointx3
- the x-coordinate of the 2nd control pointy3
- the y-coordinate of the 2nd control pointx4
- the x-coordinate of the anchor pointy4
- the y-coordinate of the anchor pointpublic void bezierVertex(float x2, float y2, float z2, float x3, float y3, float z3, float x4, float y4, float z4)
x2
- the x-coordinate of the 1st control pointy2
- the y-coordinate of the 1st control pointz2
- the z-coordinate of the 1st control pointx3
- the x-coordinate of the 2nd control pointy3
- the y-coordinate of the 2nd control pointz3
- the z-coordinate of the 2nd control pointx4
- the x-coordinate of the anchor pointy4
- the y-coordinate of the anchor pointz4
- the z-coordinate of the anchor pointpublic void quadraticVertex(float cx, float cy, float x3, float y3)
cx
- the x-coordinate of the control pointcy
- the y-coordinate of the control pointx3
- the x-coordinate of the anchor pointy3
- the y-coordinate of the anchor pointpublic void quadraticVertex(float cx, float cy, float cz, float x3, float y3, float z3)
cx
- the x-coordinate of the control pointcy
- the y-coordinate of the control pointcz
- the z-coordinate of the control pointx3
- the x-coordinate of the anchor pointy3
- the y-coordinate of the anchor pointz3
- the z-coordinate of the anchor pointpublic void curveVertex(float x, float y)
x
- the x-coordinate of the vertexy
- the y-coordinate of the vertexpublic void curveVertex(float x, float y, float z)
x
- the x-coordinate of the vertexy
- the y-coordinate of the vertexz
- the z-coordinate of the vertexpublic void point(float x, float y)
x
- x-coordinate of the pointy
- y-coordinate of the pointpublic void point(float x, float y, float z)
x
- x-coordinate of the pointy
- y-coordinate of the pointz
- z-coordinate of the pointpublic void line(float x1, float y1, float x2, float y2)
x1
- x-coordinate of the first pointy1
- y-coordinate of the first pointx2
- x-coordinate of the second pointy2
- y-coordinate of the second pointpublic void line(float x1, float y1, float z1, float x2, float y2, float z2)
z1
- z-coordinate of the first pointz2
- z-coordinate of the second pointpublic void triangle(float x1, float y1, float x2, float y2, float x3, float y3)
x1
- x-coordinate of the first pointy1
- y-coordinate of the first pointx2
- x-coordinate of the second pointy2
- y-coordinate of the second pointx3
- x-coordinate of the third pointy3
- y-coordinate of the third pointPApplet.beginShape()
public void square(float x, float y, float extent)
x
- x-coordinate of the rectangle by defaulty
- y-coordinate of the rectangle by defaultextent
- width and height of the rectangle by defaultpublic void rectMode(int mode)
mode
- either CORNER, CORNERS, CENTER, or RADIUSpublic void aspect(int fill, int stroke, float thickness)
public void aspect(int fill, int stroke, float thickness, processing.core.PGraphics other)