Browse Source

should build

master
Victor Giers 1 year ago
parent
commit
e814e15261
4 changed files with 11 additions and 7 deletions
  1. 1
    1
      data/saves.sav
  2. 4
    4
      effects.pde
  3. 4
    1
      secondapplet.pde
  4. 2
    1
      statics_and_lists.pde

+ 1
- 1
data/saves.sav View File

@@ -1,2 +1,2 @@
//globals
uptime = 116792766
uptime = 116805897

+ 4
- 4
effects.pde View File

@@ -3281,11 +3281,11 @@ class LZ77 {

/*

IMAGELENS
LENS
*/

class IMAGELENS extends Shader {
class LENS extends Shader {

// parameters
float bendx = 0.1; // from 0 to 1
@@ -3302,8 +3302,8 @@ class IMAGELENS extends Shader {
// working buffer
PGraphics buffer;

IMAGELENS() {
name = "fxImageLens";
LENS() {
name = "fxLens";
shaderListLength = gui.shaderList.size();
params.add(new Param("lens image layer", INTVAL, 0, shaderListLength-1, new int[]{RANDOM}));
params.add(new Param("power x", FLOATVAL, 0.1, 10, new int[]{SAWTOOTH, TRIANG, SINE, TAN, TANINVERSE, RAMPUPDOWN, RAMP, RAMPINVERSE}));

+ 4
- 1
secondapplet.pde View File

@@ -614,7 +614,10 @@ public class SecondApplet extends PApplet {
shaderManager.addShader(new LZ7());
break;
case(27):
shaderManager.addShader(new IMAGELENS());
shaderManager.addShader(new LENS());
break;
case(28):
shaderManager.addShader(new SLICER());
break;
/*
case(4):

+ 2
- 1
statics_and_lists.pde View File

@@ -98,5 +98,6 @@ String availableFx[] = {
"fxWrongQSort",
"fxVHS",
"fxLZ77",
"fxImagelens"
"fxLens",
"fxSlicer"
};

Loading…
Cancel
Save