You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// IMPORT THE SPOUT LIBRARYimportspout.*;
// DECLARE A SPOUT OBJECTSpoutspout;
…yourcode
In setup() function
voidsetup() {
// PROJECTION SIZEsize (7000, 1200, {});
// WINDOW POSITIONsurface.setResizable(true);
surface.setLocation(0, 0);
// CREATE A NEW SPOUT OBJECTspout = newSpout(this);
// GIVE THE SENDER A NAME// A sender can be given any name.// Otherwise the sketch folder name is used// the first time "sendTexture" is called. spout.setSenderName("MappingFestival");
…yourcode
}
voiddraw() {
…yourcode// Send the texture of the drawing sufrfacespout.sendTexture();
}
About
Creative Coding Processing Repo for Mapping Festival **Play with code** students projects