Changes

Jump to: navigation, search

Processing.js/HowTo

83 bytes added, 15:56, 16 August 2010
PJS Preloading directive
Sample code
loading one image
/* @PJS preload=”image.jpg”; */
/* @PJS preload=”image.jpg”; */loading multiple images
/* @PJS preload=”sun.jpg,moon.jpg,stars.jpg”; */
 
loading an image from a remote location
/* @PJS preload=”http://www.urltoimage.com/image.jpg”; */
1
edit

Navigation menu