kopia lustrzana https://github.com/gwygonik/SquiggleDraw
Some variables seem to be unused
Not 100% sure, but looks like these variables are not really used?pull/9/head
rodzic
64f4ffd6ec
commit
423ffd00b4
|
@ -177,14 +177,7 @@ void createPic() {
|
||||||
liner = createShape(PShape.PATH);
|
liner = createShape(PShape.PATH);
|
||||||
liner.beginShape();
|
liner.beginShape();
|
||||||
a = 0.0;
|
a = 0.0;
|
||||||
startx = 0;
|
liner.vertex(0,y);
|
||||||
|
|
||||||
b = (int)alpha(p2.get(1,y));
|
|
||||||
float z = 255.0-b;
|
|
||||||
r = 5;
|
|
||||||
starty = y + sin(a)*r;
|
|
||||||
|
|
||||||
liner.vertex(startx,starty);
|
|
||||||
|
|
||||||
for (int x = 1;x<p2.width;x+=xstep) {
|
for (int x = 1;x<p2.width;x+=xstep) {
|
||||||
b = (int)alpha(p2.get(x,y));
|
b = (int)alpha(p2.get(x,y));
|
||||||
|
|
Ładowanie…
Reference in New Issue