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
@@ -8,15 +8,13 @@
* it'll work for SVGs created with anything else.
*/
// @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="bot1.svg"; */
PShape bot;
void setup() {
size(640, 360);
smooth();
// The file "bot1.svg" must be in the data folder
// of the current sketch to load successfully
bot = loadShape("bot1.svg");