TUTORIAL

How to Move and Rotate

	

	-translate()
	Specifies an amount to displace objects within the display window.
	Reference: http://www.processing.org/reference/translate_.html


   

	translate(10, 10); 	translate(70,70); 	translate(120, 120);

	size(250,250);
	PFont font;
	background(255,255,255);
	translate(10, 10);
	font = loadFont("HelveticaNeue-48.vlw");
	textFont(font, 48);
	fill(0,0,0);
	text("typo", 15, 50);






	-rotate()
	Rotates an object the amount specified by the angle parameter.
	Reference
	




	rotate(PI/12.0); 	rotate(PI/6.0); 	rotate(PI/3.0);

	size(250,250);
	PFont font;
	background(255,255,255);
	translate(125,85);
	textAlign(CENTER);
	rotate(PI/3.0);

	font = loadFont("HelveticaNeue-48.vlw");
	textFont(font, 48);
	fill(0,0,0);

	text("typo", 15, 50);






	Exercise1: Move and rotate your text by using the above code.