Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Line dot diameter, formally - thickness
- @SettingsField(min = 4, max = 32)
- public int diameter = 16;
- // Line length, in dots
- @SettingsField(min = 0, max = 800)
- public int line_length = 150;
- // Number of lines
- @SettingsField(min = 1, max = 60)
- public int lines = 1;
- // Distance between dots in diameters.
- @SettingsField(min = .25f, max = 1f, one_div_step = 100)
- public float dist_scale = .25f;
- // Speed applied to dot while dragging to touch position.
- @SettingsField(min = 0, max = 5000)
- public float drag_speed = 2426f;
- // Maximum dot speed.
- @SettingsField(min = 1, max = 3000)
- public float max_speed = 912;
- // Is the surface is toroidal?
- @SettingsField
- public boolean toroidal = true;
- // Start color of line gradient
- @SettingsField
- public Color line_gradient_a = Color.valueOf("20004d");
- // End color of line gradient
- @SettingsField
- public Color line_gradient_b = Color.valueOf("8c0057");
- // Background color
- @SettingsField
- public Color bg_color = Color.valueOf("000020");
- // Algorithm of color changing
- @SettingsField
- public ColorCalculation coloring_algorithm = ColorCalculation.SPEED;
- public static enum ColorCalculation {
- // Color changes with velocity vector angle.
- VECTOR,
- // Color changes with speed.
- SPEED,
- // Color changes automatically, you can control speed in rainbow_recurrence_speed
- RAINBOWS
- }
- // If touch points leaves in place even after you do not touch screen.
- @SettingsField
- public boolean leave_touches = true;
- // If rainbow coloring mode is on, this parameter controls color change speed.
- @SettingsField(max = 15, min = 0.1f, one_div_step = 10)
- public float rainbow_recurrence_speed = 1;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement