Test Posting

h1

h2

h3

em
link: Basic Werk

QT

del
insert

image

Lists

  1. list1
    additional text
  2. list2
  3. list3
  • Processing
  • openFrameworks
  • Max/MSP/Jitter

code

/*
 *  Title: bw logo
 *  Built With Processing
 *
 *  Created by Shin Nakamura  (Basic Werk)
 *  Copyright 2011 Tokyo JAPAN. All rights reserved.
 *
 */

PFont font;

void setup() {
  size(400,300);
  background(#110000);
  font = loadFont("Futura-Medium-116.vlw");
  smooth();
  noLoop();
}

void draw() {
  textFont(font);
  textAlign(CENTER);

  translate(width/2, height/2 + 10);
  fill(#ffffff);
  text("b", 96 * cos(radians(-60)), 36 * sin(radians(-60)));

  fill(#007799);
  text("w", 36 * cos(radians(120)), 76 * sin(radians(120)));
}

void keyPressed() {
  if (key == 's') {
    save("bw_M.png"); //save image
  }
}

 

 

§18 · Posted By · 6月 16, 2011 · Uncategorized · · [Print]