Add tags

Add tags to the following comment

Processing で。 可視化が本分の Processing で、 python より長いのがちょっと残念ですが。

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
float theta = 0.0;

void setup() {
  size(200, 200, P3D);
}

void draw() {
  background(0);
  lights();
  translate(width/2, height/2, 0);
  rotateX(PI/3+theta);
  rotateY(theta);
  box(100);
  theta += PI/256;
}

Add tags

The input will be splited to tags with space.

Index

Feed

Other

Link

Pathtraq

loading...