public class R_Nubo extends Rope
ARC, BEZIER_VERTEX, BLANK, BOTTOM, BOX, BREAK, CARTESIAN, CENTER, CHAOS, CHORD, CIRCULAR, CLOSE, CLOUD, CORNER, CORNERS, CROSS, 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, HALF_PI, HENDECAGON, HEPTAGON, HEXAGON, HORIZONTAL, HOUSE, HPI, ICOSI_DODECAHEDRON_LINE, IMAGE, JAVA2D, LANDSCAPE, LEAF, LEFT, LINE, MAD, MAGNETIC, MAX_FLOAT, MAX_INT, MIN_FLOAT, MIN_INT, MIX, NONAGON, NONE, NORMAL, NORTH, NORTH_EAST, NORTH_WEST, NOTHING, NULL, OCTOGON, OCTOHEDRON_LINE, OPEN, ORDER, P2D, P3D, PDF, PENTAGON, PERLIN, PHI, PI, PIE, PIXEL, POINT, POLAR, POLYGON, PORTRAIT, QPI, QUADRATIC_VERTEX, QUARTER_PI, RADIUS, RAND, RECT, REPEAT, RHOMBIC_COSI_DODECAHEDRON_SMALL_LINE, RIGHT, ROOT, ROOT2, RUN, SCALE, SEED, SHAPE, SKY, SOUTH, SOUTH_EAST, SOUTH_WEST, SPAN, SPHERE, SPHERE_HIGH, SPHERE_LOW, SPHERE_MEDIUM, SPIRAL, SQUARE, STAR, STAR_3D, STATIC, SVG, TAU, TETRAHEDRON, TETRAHEDRON_LINE, TEXT, TOP, TREE, TRIANGLE, TWO_PI, UP, VERSION, VERTEX, VERTICAL, VIRUS, WALK, WEST
ABRICOT, ACAJOU, ALPHA, 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, ARGB, ARGENT, AUBERGINE, AZUR, BIS, BISTRE, BLACK, BLANC, BLEU, BLOND, BLOOD, BLUE, BOUTEILLE, BRIGHTNESS, 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, GRADIENT, GRADIENT_BRIGHTNESS, GRADIENT_HUE, GRADIENT_SATURATION, GRAY, GRAY_MEDIUM, GREEN, GRENAT, GRIS, GRIS_MOYEN, GUEULES, HSB, HUE, 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, PALETTE, PAYNE, PERLE, PERROQUET, PINK, PISTACHE, POURPRE, PRUNE, PURPLE, RAINBOW, RED, RGB, RGBA, ROSE, ROUGE, SANG, SAPIN, SATURATION, SAUGE, SEPIA, SHAKUDOU, SILVER, SINOPLE, SMALT, SOURIS, SPECTRUM, TAUPE, TILLEUL, TURQUOISE, VERMILLON, VERT, VERT_D_EAU, VERT_DE_GRIS, VESSIE, VIOLET, WHITE, YELLOW, ZINZOLIN
Constructor and Description |
---|
R_Nubo(processing.core.PApplet pa) |
Modifier and Type | Method and Description |
---|---|
int |
get_algo() |
float |
get_angle() |
float |
get_bissector() |
float |
get_dist_max() |
float |
get_dist_min() |
float |
get_dist() |
R_Focus |
get_focus() |
float |
get_fov() |
int |
get_mode() |
int |
get_pixel_index(int width_graphic) |
vec2 |
get_range_dist() |
float |
get_start_fov() |
float |
get_step() |
float |
get_stop_fov() |
void |
info() |
R_Nubo |
offset_angle(float angle) |
R_Nubo |
offset_pos(float x,
float y) |
R_Nubo |
offset_pos(vec offset_pos) |
boolean |
pixel_is() |
vec2 |
pos() |
R_Nubo |
pos(float x,
float y) |
R_Nubo |
pos(vec pos) |
R_Nubo |
set_algo(int algo) |
R_Nubo |
set_field(float min,
float max) |
R_Nubo |
set_field(vec2 range) |
R_Nubo |
set_focus_angle(float angle) |
R_Nubo |
set_focus_dist(float dist) |
R_Nubo |
set_focus(float angle,
float dist)
It's a focus point in the cloud area
|
R_Nubo |
set_fov(float ang_min,
float ang_max) |
R_Nubo |
set_fov(vec2 fov) |
R_Nubo |
set_grid(int x,
int y) |
R_Nubo |
set_grid(ivec2 grid) |
R_Nubo |
set_iter(int iter) |
R_Nubo |
set_mode(int mode) |
R_Nubo |
set_step(float step) |
void |
update_grid() |
void |
update(int index) |
R_Nubo |
use_grid(boolean is) |
float |
x() |
float |
y() |
all, all, any, any, binary, binary, binary, binary, clamp, clamp, clamp, clamp, equal, equal, equal, equal, equal, equal, equal, equal, file_name, fract, fract, fract, fract, get_os_family, get_os, greaterThan, greaterThan, greaterThan, greaterThan, greaterThan, greaterThan, greaterThan, greaterThan, greaterThanEqual, greaterThanEqual, greaterThanEqual, greaterThanEqual, greaterThanEqual, greaterThanEqual, greaterThanEqual, greaterThanEqual, hex, hex, hex, hex, index_pixel_array, lessThan, lessThan, lessThan, lessThan, lessThan, lessThan, lessThan, lessThan, lessThanEqual, lessThanEqual, lessThanEqual, lessThanEqual, lessThanEqual, lessThanEqual, lessThanEqual, lessThanEqual, map, max, min, mix, mix, mix, mix, mod, mod, mod, mod, mod, mod, mod, only, only, print_err_tempo, print_err, print_out, print_tempo, random_next_gaussian, random_next_gaussian, random_next_gaussian, random, sign, sign, sign, sign, sign, sign, sign, sign, smoothstep, smoothstep, smoothstep, smoothstep, split, split, step, step, step, step, truncate, truncate, unbinary, unhex
public R_Nubo set_iter(int iter)
iter
- define the num of iteration of ths cloud, so it's like the size of it.public R_Nubo set_algo(int algo)
algo
- define the algotithm do diffuse pixelpublic int get_algo()
public R_Nubo set_mode(int mode)
mode
- define the variation of the type (algorithm)public int get_mode()
public R_Nubo set_step(float step)
step
- if value to divid the cloud, that's can take a different way depending on the type chosen.public float get_step()
public R_Focus get_focus()
public R_Nubo set_focus(float angle, float dist)
angle
- is the target angle, the angle must be between the start and end angledist
- is the target distance, the angle must be the begin and the end field.public R_Nubo set_focus_angle(float angle)
public R_Nubo set_focus_dist(float dist)
public R_Nubo set_fov(vec2 fov)
fov
- set the angle where the pixels is display. The first argument is the start angle and the last close the viewd, like in photographypublic R_Nubo set_fov(float ang_min, float ang_max)
public R_Nubo offset_angle(float angle)
public R_Nubo offset_pos(float x, float y)
public float get_start_fov()
public float get_stop_fov()
public float get_fov()
public float get_angle()
public float get_bissector()
public R_Nubo set_field(vec2 range)
range
- set the distance where the picture is net. The first argument is the start position and the last is the end, like in photographypublic R_Nubo set_field(float min, float max)
public float get_dist()
public vec2 get_range_dist()
public float get_dist_min()
public float get_dist_max()
public float x()
public float y()
public vec2 pos()
public R_Nubo pos(vec pos)
pos
- is vec position of the center of your pixel cloudpublic R_Nubo pos(float x, float y)
public R_Nubo set_grid(ivec2 grid)
grid
- if the step in x anf y to display or not the pixelspublic R_Nubo set_grid(int x, int y)
public R_Nubo use_grid(boolean is)
public int get_pixel_index(int width_graphic)
width_graphic
- is the with of your 2D imagepublic boolean pixel_is()
public void update_grid()
public void update(int index)
public void info()