weltecinteractive

Troy’s Button

Please upgrade your browser to something new like Google Chrome. //Made with ProcessingLyon Tumblrify: //http://p5lyon.tumblr.com/ProcessingJSTumblr //English Version: //http://p5lyon.tumblr.com/ProcessingJSTumblrEn int buttonWidth = 120; int buttonHeight = 50; int buttonX = 130; int buttonY = 170; int buttonWasPressed = 0; void setup()…
Read More

Victoria’s Button

Please upgrade your browser to something new like Google Chrome. //Made with ProcessingLyon Tumblrify: //http://p5lyon.tumblr.com/ProcessingJSTumblr //English Version: //http://p5lyon.tumblr.com/ProcessingJSTumblrEn float x = 200; float y = 100; float w = 100; float h = 100; void setup(){ size(400,400); background(100, 250, 50);…
Read More

Alan’s button example

Please upgrade your browser to something new like Google Chrome. //Made with ProcessingLyon Tumblrify: //http://p5lyon.tumblr.com/ProcessingJSTumblr //English Version: //http://p5lyon.tumblr.com/ProcessingJSTumblrEn void setup() { size(400, 400); noStroke(); background(250,250,250); } void draw() { //hover rect(20, 300, 120, 50, 10); if(mouseX > 20 & mouseX…
Read More

Processing.js sketch by Victoria

Please upgrade your browser to something new like Google Chrome. //Made with ProcessingLyon Tumblrify: //http://p5lyon.tumblr.com/ProcessingJSTumblr //English Version: //http://p5lyon.tumblr.com/ProcessingJSTumblrEn int i = 0; void setup() { size(400, 400); background(11,103,141); rectMode(CENTER); } void draw() { if (keyPressed) { background(11, 103, 141); }…
Read More

Processing.js sketch by Ian

Please upgrade your browser to something new like Google Chrome. //Made with ProcessingLyon Tumblrify: //http://p5lyon.tumblr.com/ProcessingJSTumblr //English Version: //http://p5lyon.tumblr.com/ProcessingJSTumblrEn int i = 0; void setup() { size(400, 400); background(10, 80, 100); rectMode(CENTER); } void draw() { if (keyPressed) { background(10, 80,…
Read More

Processing.js sketch by Troy

Please upgrade your browser to something new like Google Chrome. //Made with ProcessingLyon Tumblrify: //http://p5lyon.tumblr.com/ProcessingJSTumblr //English Version: //http://p5lyon.tumblr.com/ProcessingJSTumblrEn // Pressing Control-R will render this sketch. int i = 0; void setup () { size (400,400); background(29,29,29); } void draw ()…
Read More

Processing.js sketch by Alan

Please upgrade your browser to something new like Google Chrome. //Made with ProcessingLyon Tumblrify: //http://p5lyon.tumblr.com/ProcessingJSTumblr //English Version: //http://p5lyon.tumblr.com/ProcessingJSTumblrEn int number = 1; void setup() { size(400,400); background(255,252,0) noCursor() rectMode(CENTER); } void mouseDragged() { noStroke(); fill(250,number,number,20) rect(mouseX,mouseY,number,number); number = number +…
Read More