mirror of
https://github.com/processing/processing4.git
synced 2026-06-16 04:26:26 +02:00
Adding Request Image example
This commit is contained in:
@@ -5,8 +5,7 @@
|
||||
* or any other size.
|
||||
*/
|
||||
|
||||
// @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="moonwalk.jpg"; */
|
||||
|
||||
PImage img; // Declare variable "a" of type PImage
|
||||
|
||||
Reference in New Issue
Block a user