From a84bdd53a08ac5f8939d3708822b9e254705c412 Mon Sep 17 00:00:00 2001 From: Matt Strapp Date: Mon, 20 Sep 2021 18:21:17 -0500 Subject: Save before committing kids --- .gitignore | 40 ++++++++++++++++++++-------------------- dev/a1_textrain/a1_textrain.pde | 15 ++------------- 2 files changed, 22 insertions(+), 33 deletions(-) diff --git a/.gitignore b/.gitignore index 6df5d1f..684581a 100644 --- a/.gitignore +++ b/.gitignore @@ -1,20 +1,20 @@ -.DS_Store* - -# These directories are meant for installing files generated inside the dev/ directory -# They are in the git repo only so that students will checkout the intended directory -# structure from the start, but we do not want to add anything inside them to git. -# So, we ignore all files inside the directories except for a README. - -bin/* -!bin/README.md - -include/* -!include/README.md - -lib/* -!lib/README.md - -share/* -!share/README.md - -.vscode +.DS_Store* + +# These directories are meant for installing files generated inside the dev/ directory +# They are in the git repo only so that students will checkout the intended directory +# structure from the start, but we do not want to add anything inside them to git. +# So, we ignore all files inside the directories except for a README. + +bin/* +!bin/README.md + +include/* +!include/README.md + +lib/* +!lib/README.md + +share/* +!share/README.md + +.vscode diff --git a/dev/a1_textrain/a1_textrain.pde b/dev/a1_textrain/a1_textrain.pde index f1b7456..2db8c36 100644 --- a/dev/a1_textrain/a1_textrain.pde +++ b/dev/a1_textrain/a1_textrain.pde @@ -86,7 +86,7 @@ void draw() { // DRAW THE INPUTIMAGE ACROSS THE ENTIRE SCREEN // Note, this is like clearing the screen with an image. It will cover up anything drawn before this point. // So, draw your text rain after this! - inputImage.filter(GRAY); + inputImage.filter(GRAY); set(0, 0, inputImage); loadPixels(); //Debug toggle @@ -98,18 +98,7 @@ void draw() { pixels[k]=color(255); } } - } - - for (int i=0;i// - pixels[(inputImage.width-i)+j*inputImage.width]=swap; - } - } + } //<>// updatePixels(); int x=0; -- cgit v1.2.3