mirror of
https://github.com/processing/processing4.git
synced 2026-02-02 13:21:07 +01:00
Examples mods for 2.0
This commit is contained in:
@@ -6,7 +6,11 @@
|
||||
* This program sequentially reads the color of every pixel of an image
|
||||
* and displays this color to fill the window.
|
||||
*/
|
||||
|
||||
|
||||
// @pjs preload must be used to preload media if the program is
|
||||
// running with Processing.js
|
||||
/* @pjs preload="moon.jpg"; */
|
||||
|
||||
PImage img;
|
||||
int direction = 1;
|
||||
float signal;
|
||||
|
||||
Reference in New Issue
Block a user