Merge pull request #9 from msurguy/patch-1

Removed code that did nothing! Yay!
pull/10/head
g.wygonik 2017-12-14 19:19:36 -08:00 zatwierdzone przez GitHub
commit 0a9b2d975b
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
1 zmienionych plików z 1 dodań i 8 usunięć

Wyświetl plik

@ -177,14 +177,7 @@ void createPic() {
liner = createShape(PShape.PATH);
liner.beginShape();
a = 0.0;
startx = 0;
b = (int)alpha(p2.get(1,y));
float z = 255.0-b;
r = 5;
starty = y + sin(a)*r;
liner.vertex(startx,starty);
liner.vertex(0,y);
for (int x = 1;x<p2.width;x+=xstep) {
b = (int)alpha(p2.get(x,y));