String strl="cccp";
void setup(){
size(300,300);
rect(30, 20, 55, 55, 3, 6, 12, 18);}
void draw(){
background(255);
fill(180);
PFont font;
font=loadFont("BrowalliaUPC-48.vlw");
textSize(100);
textFont(font,50);
text("Spatial",50,80);
text("Interaction",50,110);
text("Design",50,140);
smooth();
color c=color(255,204,0);
fill(c);
noStroke();
// ellipse(80,100,55,55);
PImage img = createImage(180, 180, ARGB);
img.loadPixels();
for (int i = 10; i < img.pixels.length; i++) {
img.pixels[i] = color(0,20, 77, i % img.width * 1);
}
img.updatePixels();
image(img, 40, 40);
image(img,65, 65);
println(strl);
}
沒有留言:
張貼留言