Package rope.pixo
Class R_Nubo
java.lang.Object
rope.core.Rope
rope.pixo.R_Nubo
- All Implemented Interfaces:
R_Constants
,R_Constants_Colour
-
Field Summary
Fields inherited from interface rope.core.R_Constants
ARC, BEZIER_VERTEX, BLANK, BOTTOM, BOX, BREAK, CARTESIAN, CENTER, CHAOS, CHORD, CIRCULAR, CLOSE, CLOUD, CORNER, CORNERS, COS, 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, LINEAR, 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, POW, QPI, QUADRATIC_VERTEX, QUARTER_PI, RADIUS, RAND, RECT, REPEAT, RHOMBIC_COSI_DODECAHEDRON_SMALL_LINE, RIGHT, ROOT, ROOT2, RUN, SCALE, SEED, SHAPE, SIN, SKY, SOUTH, SOUTH_EAST, SOUTH_WEST, SPAN, SPHERE, SPHERE_HIGH, SPHERE_LOW, SPHERE_MEDIUM, SPIRAL, SQUARE, STAR, STAR_3D, STATIC, SVG, TAN, TAU, TETRAHEDRON, TETRAHEDRON_LINE, TEXT, TOP, TREE, TRIANGLE, TWO_PI, UP, VERSION, VERTEX, VERTICAL, VIRUS, WALK, WEST
Fields inherited from interface rope.core.R_Constants_Colour
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
get_algo()
float
float
float
get_dist()
float
float
float
get_fov()
int
get_mode()
int
get_pixel_index
(int width_graphic) float
float
get_step()
float
void
info()
offset_angle
(float angle) offset_pos
(float x, float y) offset_pos
(vec offset_pos) boolean
pixel_is()
pos()
pos
(float x, float y) set_algo
(int algo) set_field
(float min, float max) set_focus
(float angle, float dist) It's a focus point in the cloud areaset_focus_angle
(float angle) set_focus_dist
(float dist) set_fov
(float ang_min, float ang_max) set_grid
(int x, int y) set_iter
(int iter) set_mode
(int mode) set_step
(float step) void
update
(int index) void
use_grid
(boolean is) float
x()
float
y()
Methods inherited from class rope.core.Rope
all, all, any, any, binary, binary, binary, binary, clamp, clamp, clamp, clamp, equal, equal, equal, equal, equal, equal, equal, equal, extension, extension_is, file_name, fract, fract, fract, fract, get_os, get_os_family, 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, print_err_tempo, print_out, print_tempo, random, random_next_gaussian, random_next_gaussian, random_next_gaussian, sign, sign, sign, sign, sign, sign, sign, sign, smoothstep, smoothstep, smoothstep, smoothstep, split, split, step, step, step, step, truncate, truncate, unbinary, unhex
-
Constructor Details
-
R_Nubo
public R_Nubo(processing.core.PApplet pa)
-
-
Method Details
-
set_iter
- Parameters:
iter
- define the num of iteration of ths cloud, so it's like the size of it.- Returns:
- this to give the opportunity to make train of function on the same line
-
set_algo
- Parameters:
algo
- define the algotithm do diffuse pixel- Returns:
- this to give the opportunity to make train of function on the same line
-
get_algo
public int get_algo() -
set_mode
- Parameters:
mode
- define the variation of the type (algorithm)- Returns:
- this to give the opportunity to make train of function on the same line
-
get_mode
public int get_mode() -
set_step
- Parameters:
step
- if value to divid the cloud, that's can take a different way depending on the type chosen.- Returns:
- this to give the opportunity to make train of function on the same line
-
get_step
public float get_step() -
get_focus
-
set_focus
It's a focus point in the cloud area- Parameters:
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.- Returns:
- this to give the opportunity to make train of function on the same line
-
set_focus_angle
-
set_focus_dist
-
set_fov
- Parameters:
fov
- set the angle where the pixels is display. The first argument is the start angle and the last close the viewd, like in photography- Returns:
- this to give the opportunity to make train of function on the same line
-
set_fov
-
offset_angle
-
offset_pos
-
offset_pos
-
get_start_fov
public float get_start_fov() -
get_stop_fov
public float get_stop_fov() -
get_fov
public float get_fov() -
get_angle
public float get_angle() -
get_bissector
public float get_bissector() -
set_field
- Parameters:
range
- set the distance where the picture is net. The first argument is the start position and the last is the end, like in photography- Returns:
- this to give the opportunity to make train of function on the same line
-
set_field
-
get_dist
public float get_dist() -
get_range_dist
-
get_dist_min
public float get_dist_min() -
get_dist_max
public float get_dist_max() -
x
public float x() -
y
public float y() -
pos
-
pos
- Parameters:
pos
- is vec position of the center of your pixel cloud- Returns:
- this to give the opportunity to make train of function on the same line
-
pos
-
set_grid
- Parameters:
grid
- if the step in x anf y to display or not the pixels- Returns:
- this to give the opportunity to make train of function on the same line
-
set_grid
-
use_grid
-
get_pixel_index
public int get_pixel_index(int width_graphic) - Parameters:
width_graphic
- is the with of your 2D image- Returns:
- the position of the pixel in the pixel array of your image.
-
pixel_is
public boolean pixel_is() -
update_grid
public void update_grid() -
update
public void update(int index) -
info
public void info()
-