public class Rope extends java.lang.Object implements R_Constants, R_Constants_Colour
ALPHA, ARC, ARGB, BEZIER_VERTEX, BLANK, BOTTOM, BOX, BREAK, BRIGHTNESS, CARTESIAN, CENTER, CHAOS, CIRCULAR, CLOSE, CORNER, CORNERS, COS, CROSS_BOX_2, CROSS_BOX_3, CROSS_RECT, CUBE_LINE, CURVE_VERTEX, DECAGON, DIAGONAL, DIAMETER, DODECAGON, DOWN, DRAW, DXF, DYNAMIC, EAST, ELLIPSE, EQUATION, EULER, FIT, FLOWER, FLUID, FX2D, G, GOLD_ANGLE, GOLD_NUMBER, GRAVITY, HENDECAGON, HEPTAGON, HEXAGON, HORIZONTAL, HOUSE, HSB, HUE, ICOSI_DODECAHEDRON_LINE, JAVA2D, LEFT, LINE, MAGNETIC, MAX_FLOAT, MAX_INT, MIN_FLOAT, MIN_INT, MIX, NONAGON, NONE, NORTH, NORTH_EAST, NORTH_WEST, NOTHING, NULL, OCTOGON, OCTOHEDRON_LINE, OPEN, ORDER, P2D, P3D, PDF, PENTAGON, PERLIN, PHI, PI, PIXEL, POINT, POLAR, QUADRATIC_VERTEX, RADIUS, RAND, RECT, RGB, RGBA, RHOMBIC_COSI_DODECAHEDRON_SMALL_LINE, RIGHT, ROOT2, SATURATION, SCALE, SIN, SOUTH, SOUTH_EAST, SOUTH_WEST, SPHERE, SPHERE_HIGH, SPHERE_LOW, SPHERE_MEDIUM, SQUARE, STAR, STAR_3D, STATIC, SVG, TAN, TAU, TETRAHEDRON, TETRAHEDRON_LINE, TEXT, TOP, TRIANGLE, TRIG_0, TRIG_1, TRIG_2, TRIG_3, TRIG_4, TWO_PI, UP, VERSION, VERTEX, VERTICAL, VIRUS, WEST
ABRICOT, ACAJOU, AMARANTE, AMBRE, ANSI_BLACK, ANSI_BLACK_BACKGROUND, ANSI_BLUE, ANSI_BLUE_BACKGROUND, ANSI_CYAN, ANSI_CYAN_BACKGROUND, ANSI_GREEN, ANSI_GREEN_BACKGROUND, ANSI_PURPLE, ANSI_PURPLE_BACKGROUND, ANSI_RED, ANSI_RED_BACKGROUND, ANSI_RESET, ANSI_WHITE, ANSI_WHITE_BACKGROUND, ANSI_YELLOW, ANSI_YELLOW_BACKGROUND, 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 |
---|
Rope() |
Modifier and Type | Method and Description |
---|---|
boolean |
all(boolean... list) |
boolean |
all(bvec2 b)
all
v 0.0.2
|
boolean |
all(bvec3 b) |
boolean |
all(bvec4 b) |
boolean |
all(bvec5 b) |
boolean |
all(bvec6 b) |
boolean |
any(boolean... list) |
boolean |
any(bvec2 b)
any
|
boolean |
any(bvec3 b) |
boolean |
any(bvec4 b) |
boolean |
any(bvec5 b) |
boolean |
any(bvec6 b) |
float |
clamp(float x,
float min,
float max)
clamp
|
vec2 |
clamp(vec2 x,
vec2 min,
vec2 max) |
vec3 |
clamp(vec3 x,
vec3 min,
vec3 max) |
vec4 |
clamp(vec4 x,
vec4 min,
vec4 max) |
boolean |
equal(float x,
float y)
equal
|
boolean |
equal(int x,
int y) |
bvec2 |
equal(ivec2 x,
ivec2 y) |
bvec3 |
equal(ivec3 x,
ivec3 y) |
bvec4 |
equal(ivec4 x,
ivec4 y) |
bvec2 |
equal(vec2 x,
vec2 y) |
bvec3 |
equal(vec3 x,
vec3 y) |
bvec4 |
equal(vec4 x,
vec4 y) |
java.lang.String |
file_name(java.lang.String file_path)
remove the path of your String to return the file name of it.
|
float |
fract(float x)
fract
|
vec2 |
fract(vec2 v) |
vec3 |
fract(vec3 v) |
vec4 |
fract(vec4 v) |
java.lang.String |
get_os_family() |
java.lang.String |
get_os()
Check OS
v 0.0.2
|
boolean |
greaterThan(float x,
float y)
greaterThan
|
boolean |
greaterThan(int x,
int y) |
bvec2 |
greaterThan(ivec2 x,
ivec2 y) |
bvec3 |
greaterThan(ivec3 x,
ivec3 y) |
bvec4 |
greaterThan(ivec4 x,
ivec4 y) |
bvec2 |
greaterThan(vec2 x,
vec2 y) |
bvec3 |
greaterThan(vec3 x,
vec3 y) |
bvec4 |
greaterThan(vec4 x,
vec4 y) |
boolean |
greaterThanEqual(float x,
float y)
greaterThanEqual
|
boolean |
greaterThanEqual(int x,
int y) |
bvec2 |
greaterThanEqual(ivec2 x,
ivec2 y) |
bvec3 |
greaterThanEqual(ivec3 x,
ivec3 y) |
bvec4 |
greaterThanEqual(ivec4 x,
ivec4 y) |
bvec2 |
greaterThanEqual(vec2 x,
vec2 y) |
bvec3 |
greaterThanEqual(vec3 x,
vec3 y) |
bvec4 |
greaterThanEqual(vec4 x,
vec4 y) |
int |
index_pixel_array(int x,
int y,
int width) |
boolean |
lessThan(float x,
float y)
lessThan
|
boolean |
lessThan(int x,
int y) |
bvec2 |
lessThan(ivec2 x,
ivec2 y) |
bvec3 |
lessThan(ivec3 x,
ivec3 y) |
bvec4 |
lessThan(ivec4 x,
ivec4 y) |
bvec2 |
lessThan(vec2 x,
vec2 y) |
bvec3 |
lessThan(vec3 x,
vec3 y) |
bvec4 |
lessThan(vec4 x,
vec4 y) |
boolean |
lessThanEqual(float x,
float y)
lessThanEqual
|
boolean |
lessThanEqual(int x,
int y) |
bvec2 |
lessThanEqual(ivec2 x,
ivec2 y) |
bvec3 |
lessThanEqual(ivec3 x,
ivec3 y) |
bvec4 |
lessThanEqual(ivec4 x,
ivec4 y) |
bvec2 |
lessThanEqual(vec2 x,
vec2 y) |
bvec3 |
lessThanEqual(vec3 x,
vec3 y) |
bvec4 |
lessThanEqual(vec4 x,
vec4 y) |
float |
mix(float x,
float y,
float a)
mix
|
vec2 |
mix(vec2 x,
vec2 y,
vec2 a) |
vec3 |
mix(vec3 x,
vec3 y,
vec3 a) |
vec4 |
mix(vec4 x,
vec4 y,
vec4 a) |
float |
mod(float x,
float y) |
ivec2 |
mod(ivec2 x,
ivec2 y) |
ivec3 |
mod(ivec3 x,
ivec3 y) |
ivec4 |
mod(ivec4 x,
ivec4 y) |
vec2 |
mod(vec2 x,
vec2 y) |
vec3 |
mod(vec3 x,
vec3 y) |
vec4 |
mod(vec4 x,
vec4 y) |
void |
print_err_tempo(int tempo,
java.lang.Object... obj) |
void |
print_err(java.lang.Object... obj) |
void |
print_tempo(int tempo,
java.lang.Object... obj) |
float |
random_next_gaussian() |
float |
random_next_gaussian(float range) |
float |
random_next_gaussian(float range,
int n) |
float |
random_next_gaussian(int n) |
float |
sign(float x)
sign
|
int |
sign(int x) |
ivec2 |
sign(ivec2 x) |
ivec3 |
sign(ivec3 x) |
ivec4 |
sign(ivec4 x) |
vec2 |
sign(vec2 x) |
vec3 |
sign(vec3 x) |
vec4 |
sign(vec4 x) |
float |
smoothstep(float edge0,
float edge1,
float x)
smoothstep
|
vec2 |
smoothstep(vec2 edge0,
vec2 edge1,
vec2 x) |
vec3 |
smoothstep(vec3 edge0,
vec3 edge1,
vec3 x) |
vec4 |
smoothstep(vec4 edge0,
vec4 edge1,
vec4 x) |
java.lang.String[] |
split(java.lang.String value,
char delim) |
java.lang.String[] |
split(java.lang.String value,
java.lang.String delim) |
float |
step(float edge,
float x)
step
|
vec2 |
step(vec2 edge,
vec2 x) |
vec3 |
step(vec3 edge,
vec3 x) |
vec4 |
step(vec4 edge,
vec4 x) |
float |
truncate(float x) |
float |
truncate(float x,
int num) |
int |
unhex(java.lang.String value)
Converts a String representation of a hexadecimal number to its
equivalent integer value.
|
public float random_next_gaussian()
public float random_next_gaussian(int n)
n
- public float random_next_gaussian(float range)
range
- public float random_next_gaussian(float range, int n)
range
- n
- public float mix(float x, float y, float a)
public float fract(float x)
public float sign(float x)
public int sign(int x)
public float step(float edge, float x)
public float smoothstep(float edge0, float edge1, float x)
public float mod(float x, float y)
public float clamp(float x, float min, float max)
public boolean equal(float x, float y)
public boolean equal(int x, int y)
public boolean lessThan(float x, float y)
public boolean lessThan(int x, int y)
public boolean greaterThan(float x, float y)
public boolean greaterThan(int x, int y)
public boolean greaterThanEqual(float x, float y)
public boolean greaterThanEqual(int x, int y)
public boolean lessThanEqual(float x, float y)
public boolean lessThanEqual(int x, int y)
public boolean all(bvec2 b)
public boolean all(bvec3 b)
public boolean all(bvec4 b)
public boolean all(bvec5 b)
public boolean all(bvec6 b)
public boolean all(boolean... list)
list
- public boolean any(bvec2 b)
public boolean any(bvec3 b)
public boolean any(bvec4 b)
public boolean any(bvec5 b)
public boolean any(bvec6 b)
public boolean any(boolean... list)
list
- public int index_pixel_array(int x, int y, int width)
x
- y
- width
- the width of you 2D array pixelpublic float truncate(float x)
public float truncate(float x, int num)
x
- num
- public int unhex(java.lang.String value)
public java.lang.String[] split(java.lang.String value, char delim)
value
- delim
- public java.lang.String[] split(java.lang.String value, java.lang.String delim)
value
- delim
- public java.lang.String file_name(java.lang.String file_path)
file_path
- public void print_err(java.lang.Object... obj)
obj
- public void print_err_tempo(int tempo, java.lang.Object... obj)
public void print_tempo(int tempo, java.lang.Object... obj)
public java.lang.String get_os()
public java.lang.String get_os_family()