Package rope.core

Class BigBang

java.lang.Object
rope.core.Rope
rope.core.BigBang
All Implemented Interfaces:
R_Constants, R_Constants_Colour
Direct Known Subclasses:
R_Apple_Bar, R_Folder, R_Graphic, R_Image, R_Image_Manager, R_Input, R_Voronoi

public abstract class BigBang extends Rope
  • Field Details

    • pa

      public processing.core.PApplet pa
  • Constructor Details

    • BigBang

      public BigBang(processing.core.PApplet pa)
  • Method Details

    • pass_processing

      public void pass_processing(processing.core.PApplet pa)
      must be used for the class child who don't pass the PApplet via the constructor and for any reason must be use few function from BigBang who need the Processing method or function.
      Parameters:
      pa - pass PApplet Processing
    • get_renderer

      public String get_renderer()
    • getColorMode

      public float[] getColorMode(boolean print_info_is)
      Parameters:
      print_info_is - if it's false there is no information print in the console
      Returns:
      array float data color set
    • getColorMode

      public float[] getColorMode()
    • loadImage

      public processing.core.PImage loadImage(String filename)
      Parameters:
      filename - , it's String path of your image, by default the app search in in data folder at the root of your code.
      Returns:
      PImage result
    • createFont

      public processing.core.PFont createFont(String name, float size)
    • createFont

      public processing.core.PFont createFont(String name, float size, boolean smooth)
    • createFont

      public processing.core.PFont createFont(String name, float size, boolean smooth, char[] charset)
    • noiseSeed

      public void noiseSeed(int value)
      Parameters:
      value - int to set seed noise
    • noise

      public float noise(float x, float y)
      Parameters:
      x - float argument
      y - float argument
      Returns:
      float noise value
    • color

      public int color(float gray)
      This Processing clone method, add check if any PGraphics is active, and if it's a case work ont it
      Parameters:
      gray - argument for X, Y, Z component
      Returns:
      int color argument
    • color

      public int color(float gray, float alpha)
      This Processing clone method, add check if any PGraphics is active, and if it's a case work ont it
      Parameters:
      gray - argument for X, Y, Z component
      alpha - argument for A component
      Returns:
      int color argument
    • color

      public int color(float v1, float v2, float v3)
      This Processing clone method, add check if any PGraphics is active, and if it's a case work ont it
      Parameters:
      v1 - float argument for X component
      v2 - float argument for Y component
      v3 - float argument for Z component
      Returns:
      int color argument
    • color

      public int color(float v1, float v2, float v3, float alpha)
      This Processing clone method, add check if any PGraphics is active, and if it's a case work ont it
      Parameters:
      v1 - float argument for X component
      v2 - float argument for Y component
      v3 - float argument for Z component
      alpha - float argument for Alpha component
      Returns:
      int color argument
    • alpha

      public float alpha(int value)
      This Processing clone method, add check if any PGraphics is active, and if it's a case work ont it
      Parameters:
      value - to set component
      Returns:
      int value of alpha
    • hue

      public float hue(int value)
      This Processing clone method, add check if any PGraphics is active, and if it's a case work ont it
      Parameters:
      value - to set component
      Returns:
      float value of component color
    • saturation

      public float saturation(int value)
      This Processing clone method, add check if any PGraphics is active, and if it's a case work ont it
      Parameters:
      value - to set component
      Returns:
      float value of component color
    • brightness

      public float brightness(int value)
      This Processing clone method, add check if any PGraphics is active, and if it's a case work ont it
      Parameters:
      value - to set component
      Returns:
      float value of component color
    • red

      public float red(int value)
      This Processing clone method, add check if any PGraphics is active, and if it's a case work on it
      Parameters:
      value - to set component
      Returns:
      float value of component color
    • green

      public float green(int value)
      This Processing clone method, add check if any PGraphics is active, and if it's a case work on it
      Parameters:
      value - to set component
      Returns:
      float value of component color
    • blue

      public float blue(int value)
      This Processing clone method, add check if any PGraphics is active, and if it's a case work on it
      Parameters:
      value - to set component
      Returns:
      float value of component color
    • longest_String

      public int longest_String(String[] string_list)
    • longest_String

      public int longest_String(String[] string_list, int start, int finish)
    • longest_String_pixel

      public int longest_String_pixel(processing.core.PFont font, String[] string_list)
      Longest String with PFont
    • longest_String_pixel

      public int longest_String_pixel(processing.core.PFont font, String[] string_list, int... size_font)
    • longest_String_pixel

      public int longest_String_pixel(processing.core.PFont font, String[] string_list, int[] size_font, int start, int finish)
    • longest_String_pixel

      public int longest_String_pixel(String font_name, String[] string_list, int... size_font)
      Longest String with String name Font
    • longest_String_pixel

      public int longest_String_pixel(String font_name, String[] string_list, int size_font, int start, int finish)
    • longest_String_pixel

      public int longest_String_pixel(String font_name, String[] string_list, int[] size_font, int start, int finish)
    • width_String

      public int width_String(String target, int size)
      Parameters:
      target - String must be compute
      size - of font to make the approximation;
      Returns:
    • width_String

      public int width_String(processing.core.PFont pfont, String target, int size)
      Parameters:
      pfont - font to make the approximation computing
      target - String must be compute
      size - of font to make the approximation;
      Returns:
    • width_String

      public int width_String(String font_name, String target, int size)
      Parameters:
      font_name - font to make the approximation computing
      target - String must be compute
      size - of font to make the approximation;
      Returns:
    • width_char

      public int width_char(char target, int size)
    • width_char

      public int width_char(processing.core.PFont pfont, char target, int size)
    • width_char

      public int width_char(String font_name, char target, int size)