Package rope.costume
Class R_Impact
java.lang.Object
rope.core.Rope
rope.core.BigBang
rope.core.R_Graphic
rope.costume.R_Impact
- 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, CHOICE, 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, FIRST, FIT, FLOWER, FLUID, FX2D, G, GOLD_ANGLE, GOLD_NUMBER, GRAVITY, HALF, HALF_PI, HENDECAGON, HEPTAGON, HEXAGON, HORIZONTAL, HOUSE, HPI, ICOSI_DODECAHEDRON_LINE, IMAGE, JAVA2D, LANDSCAPE, LAST, LEAF, LEFT, LINE, LINEAR, MAD, MAGNETIC, MAX_FLOAT, MAX_INT, MIN_FLOAT, MIN_INT, MIX, NEXT, NONAGON, NONE, NORMAL, NORTH, NORTH_EAST, NORTH_WEST, NOTCH, NOTHING, NULL, OCTOGON, OCTOHEDRON_LINE, OPEN, ORDER, P2D, P3D, PDF, PENTAGON, PERLIN, PHI, PI, PIE, PIXEL, POINT, POLAR, POLYGON, PORTRAIT, POW, PREVIOUS, 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 TypeMethodDescriptionvoid
build()
Build the structure network with the default paramater is there is no specific settingvoid
float
float
float
float
int
int
int
get_lines_branch
(int index) get_lines_branch
(int index, boolean only_visible_is) get_lines_circle
(int index) return circleget_lines_main
(int index) int
get_mode()
int
int
vec2[]
int[]
int[]
growth_factor_spiral
(float growth) normal()
void
pixel_mode
(int mode) pos()
pos
(float x, float y) set_angle_main
(float angle) set_growth_circle
(float growth) set_growth_main
(float growth) set_heart
(int level) set_iter_circle
(int iter) set_iter_main
(int iter) void
set_mute_circle
(int circle_index, int line_index, boolean state) void
set_mute_main
(int main_index, int line_index, boolean state) set_num_circle
(int num) set_num_main
(int num) void
set_pixels
(float normal_value, int... colour) void
set_pixels_circle
(float normal_value, int... colour) void
set_pixels_heart
(float normal_value, int... colour) void
set_pixels_main
(float normal_value, int... colour) void
void
show_lines_branch
(int index) an other way to show circle, not like circle but by branch from main pie slidevoid
void
show_lines_circle
(int index) void
show_lines_circle
(int index, int start, int end) void
void
void
show_lines_main
(int index) void
show_lines_main
(int start, int end) void
show_lines_main
(int index, int start, int end) void
void
void
show_pixels
(float normal_value, int... colour) void
void
show_pixels_circle
(float normal_value, int... colour) void
void
show_pixels_heart
(float normal_value, int... colour) void
void
show_pixels_main
(float normal_value, int... colour) void
void
show_polygon_heart
(int mode) void
void
show_polygons
(int mode) void
show_polygons_from
(ArrayList<R_Shape> list, int mode) spiral()
void
update()
Can be use only where there is change on the puppet master from main or heartvoid
Must be use all the time not only whre there a changementvoid
use_mute
(boolean is) boolean
Methods inherited from class rope.core.R_Graphic
arc, arc, arc, arc, aspect, aspect, background, background, background, background, background, background, beginContour, beginDraw, beginShape, beginShape, bezierVertex, bezierVertex, bezierVertex, bezierVertex, bezierVertex, bezierVertex, box, box, box, circle, circle, colorMode, colorMode, colorMode, colorMode, colorMode, colorMode, colorMode, createGraphics, curveVertex, curveVertex, curveVertex, curveVertex, curveVertex, curveVertex, ellipse, ellipse, ellipse, ellipse, ellipseMode, ellipseMode, endContour, endDraw, endShape, endShape, fill, fill, fill, fill, fill, fill, get, get_renderer, get_renderer, image, image, image, image, image, index_pixel_array, line, line, line, line, loadPixels, loadShader, noFill, noStroke, pass_graphic, plot, plot, plot, plot, plot_impl, plot_x2, plot_x2, point, point, point, point, pop, popMatrix, push, pushMatrix, quadraticVertex, quadraticVertex, quadraticVertex, quadraticVertex, quadraticVertex, quadraticVertex, rect, rect, rect, rect, rect, rect, rectMode, rectMode, renderer_P2D, renderer_P3D, rotate, rotateX, rotateXY, rotateXYZ, rotateXZ, rotateY, rotateYZ, rotateZ, scale, scale, scale, set, set, set, shader, shearX, shearY, sphere, sphereDetail, sphereDetail, square, square, stroke, stroke, stroke, stroke, stroke, stroke, strokeWeight, text, text, text, text, text, text, text, text, text, text, text, text, text, text, text, text, textAlign, textAlign, textFont, textFont, textSize, thickness, translate, translate, translate, triangle, triangle, triangle, updatePixels, vertex, vertex, vertex, vertex, vertex, vertex, vertex, vertex, vertex, vertex, vertex, vertex, vertex, vertex, vertex, vertex
Methods inherited from class rope.core.BigBang
alpha, blue, brightness, color, color, color, color, createFont, createFont, createFont, getColorMode, getColorMode, green, hue, loadImage, longest_String, longest_String, longest_String_pixel, longest_String_pixel, longest_String_pixel, longest_String_pixel, longest_String_pixel, longest_String_pixel, noise, noiseSeed, pass_processing, red, saturation, width_char, width_char, width_char, width_String, width_String, width_String
Methods inherited from class rope.core.Rope
abs, abs, abs, abs, abs, abs, abs, abs, add, add, add, add, add, add, all, all, any, any, atan, barycenter, barycenter, barycenter, binary, binary, binary, binary, ceil, ceil, ceil, ceil, clamp, clamp, clamp, clamp, compare, compare, compare, compare, compare, compare, compare, compare, constrain, constrain, cos, cross, dist, dist, dist, dist, dist, div, div, div, div, div, div, equal, equal, equal, equal, equal, equal, equal, equal, extension, extension_is, file_name, floor, floor, floor, floor, fract, fract, fract, fract, get_os, get_os_family, getColorMode, getColorMode, greaterThan, greaterThan, greaterThan, greaterThan, greaterThan, greaterThan, greaterThan, greaterThan, greaterThanEqual, greaterThanEqual, greaterThanEqual, greaterThanEqual, greaterThanEqual, greaterThanEqual, greaterThanEqual, greaterThanEqual, hex, hex, hex, hex, in_line, in_line, in_polygon, in_polygon, in_polygon, in_polygon, in_segment, in_segment, lessThan, lessThan, lessThan, lessThan, lessThan, lessThan, lessThan, lessThan, lessThanEqual, lessThanEqual, lessThanEqual, lessThanEqual, lessThanEqual, lessThanEqual, lessThanEqual, lessThanEqual, map, map, map, map, max, max, max, max, max, max, max, max, min, min, min, min, min, min, min, min, mix, mix, mix, mix, mod, mod, mod, mod, mod, mod, mod, mult, mult, mult, mult, mult, mult, only, only, pow, print_err, print_err_tempo, print_out, print_tempo, projection, projection, projection, projection, projection, projection, projection, projection, random, random, random_next_gaussian, random_next_gaussian, random_next_gaussian, round, round, round, round, sign, sign, sign, sign, sign, sign, sign, sign, sin, smoothstep, smoothstep, smoothstep, smoothstep, split, split, sq, sqrt, step, step, step, step, sub, sub, sub, sub, sub, sub, to_cartesian_2D, to_cartesian_2D, to_cartesian_2D, to_cartesian_3D, to_cartesian_3D, to_cartesian_3D, truncate, truncate, unbinary, unhex
-
Constructor Details
-
R_Impact
public R_Impact(processing.core.PApplet pa) -
R_Impact
public R_Impact(processing.core.PApplet pa, int x, int y)
-
-
Method Details
-
pos
-
pos
-
set_num_main
-
set_iter_main
-
set_growth_main
-
set_angle_main
-
set_heart
- Parameters:
level
- from 0 to max main iteration- Returns:
-
set_num_circle
-
set_iter_circle
-
set_growth_circle
-
growth_factor_spiral
-
spiral
-
normal
-
update
public void update()Can be use only where there is change on the puppet master from main or heart -
update_preset
public void update_preset()Must be use all the time not only whre there a changement -
pos
-
get_mode
public int get_mode() -
get_growth_spiral
public float get_growth_spiral() -
get_data_main
-
get_num_main
public int get_num_main() -
get_iter_main
public int get_iter_main() -
get_growth_main
public float get_growth_main() -
get_angle_main
public float get_angle_main() -
get_heart_level
public int get_heart_level() -
get_data_circle
-
get_num_circle
public int get_num_circle() -
get_iter_circle
public int get_iter_circle() -
get_growth_circle
public float get_growth_circle() -
get_size_main
public int[] get_size_main() -
get_size_circle
public int[] get_size_circle() -
get_lines
-
get_lines_main
-
get_lines_circle
return circle -
get_lines_branch
-
get_lines_branch
- Parameters:
index
- select wich main branch you want addonly_visible_is
- if it's true add only the visible line- Returns:
-
get_lines_heart
-
get_nodes
-
get_nodes_main
-
get_all_polygons
-
get_polygon_heart
-
get_polygons
-
get_polygon_array_heart
-
build
public void build()Build the structure network with the default paramater is there is no specific setting -
build_polygon
public void build_polygon() -
pixel_mode
public void pixel_mode(int mode) -
set_pixels
public void set_pixels(float normal_value, int... colour) -
set_pixels_main
public void set_pixels_main(float normal_value, int... colour) -
set_pixels_circle
public void set_pixels_circle(float normal_value, int... colour) -
set_pixels_heart
public void set_pixels_heart(float normal_value, int... colour) -
set_mute_main
public void set_mute_main(int main_index, int line_index, boolean state) -
set_mute_circle
public void set_mute_circle(int circle_index, int line_index, boolean state) -
use_mute
public void use_mute(boolean is) -
use_mute_is
public boolean use_mute_is() -
show_pixels
public void show_pixels() -
show_pixels_main
public void show_pixels_main() -
show_pixels_circle
public void show_pixels_circle() -
show_pixels_heart
public void show_pixels_heart() -
show_pixels
public void show_pixels(float normal_value, int... colour) -
show_pixels_main
public void show_pixels_main(float normal_value, int... colour) -
show_pixels_circle
public void show_pixels_circle(float normal_value, int... colour) -
show_pixels_heart
public void show_pixels_heart(float normal_value, int... colour) -
show_lines
public void show_lines() -
show_lines_main
public void show_lines_main() -
show_lines_main
public void show_lines_main(int start, int end) - Parameters:
start
-end
-
-
show_lines_main
public void show_lines_main(int index) - Parameters:
index
-
-
show_lines_main
public void show_lines_main(int index, int start, int end) - Parameters:
index
-start
-end
-
-
show_lines_circle
public void show_lines_circle() -
show_lines_circle
public void show_lines_circle(int index, int start, int end) -
show_lines_circle
public void show_lines_circle(int index) -
show_lines_branch
public void show_lines_branch(int index) an other way to show circle, not like circle but by branch from main pie slide -
show_lines_heart
public void show_lines_heart() -
show_polygons
public void show_polygons() -
show_polygons
public void show_polygons(int mode) -
show_polygon_heart
public void show_polygon_heart(int mode) -
show_polygon_heart
public void show_polygon_heart() -
show_polygons_from
-
show_nodes
public void show_nodes()
-