This commit is contained in:
Casey Reas
2011-09-18 06:31:29 +00:00
parent 76e9248e00
commit 5b0214704c
86 changed files with 95 additions and 178 deletions
@@ -6,8 +6,7 @@
* to blur the image.
*/
// @pjs preload must be used to preload media if the program is
// running with Processing.js
// The next line is needed if running in JavaScript Mode with Processing.js
/* @pjs preload="moon.jpg"; */
float v = 1.0 / 9.0;
@@ -6,8 +6,7 @@
* calculating the distance of each pixel to the mouse.
*/
// @pjs preload must be used to preload media if the program is
// running with Processing.js
// The next line is needed if running in JavaScript Mode with Processing.js
/* @pjs preload="moon-wide.jpg"; */
PImage img;
@@ -7,8 +7,7 @@
*/
// @pjs preload must be used to preload media if the program is
// running with Processing.js
// The next line is needed if running in JavaScript Mode with Processing.js
/* @pjs preload="moon-wide.jpg"; */
PImage img;
@@ -6,8 +6,7 @@
* the image.
*/
// @pjs preload must be used to preload media if the program is
// running with Processing.js
// The next line is needed if running in JavaScript Mode with Processing.js
/* @pjs preload="moon.jpg"; */
float[][] kernel = {{ -1, -1, -1},
@@ -7,8 +7,7 @@
* translation along z axis.
*/
// @pjs preload must be used to preload media if the program is
// running with Processing.js
// The next line is needed if running in JavaScript Mode with Processing.js
/* @pjs preload="eames.jpg"; */
PImage img; // The source image
@@ -10,8 +10,7 @@
* since most images will no longer be full 24-bit color.
*/
// @pjs preload must be used to preload media if the program is
// running with Processing.js
// The next line is needed if running in JavaScript Mode with Processing.js
/* @pjs preload="frontier.jpg"; */
size(640, 360);
@@ -5,8 +5,7 @@
* Press and hold any key to watch the scanning.
*/
// @pjs preload must be used to preload media if the program is
// running with Processing.js
// The next line is needed if running in JavaScript Mode with Processing.js
/* @pjs preload="sea.jpg"; */
PImage img;
@@ -7,8 +7,7 @@
* and displays this color to fill the window.
*/
// @pjs preload must be used to preload media if the program is
// running with Processing.js
// The next line is needed if running in JavaScript Mode with Processing.js
/* @pjs preload="sea.jpg"; */
PImage img;
@@ -6,8 +6,7 @@
* heights corresponding to a color value read from an image.
*/
// @pjs preload must be used to preload media if the program is
// running with Processing.js
// The next line is needed if running in JavaScript Mode with Processing.js
/* @pjs preload="ystone08.jpg"; */
PImage img;