加藤 貴志 について

自己紹介

映像や写真が好きで、一眼レフ片手に散策して思い思いに楽しんでいます。

基本的にはリーダー体質だと自負しています。

石切神社の占い師いわく、私はそういうリーダー体質の星に産まれたそうです。

だから、出来る限りみんなをガンガン引っ張っていきます。

個人的に現在、基本情報技術者試験を目指しています。

同志が入れば一緒に勉強しましょう!

よろしくお願いします!

キーワード (興味のあることや、得意なこと)

ゼミでやろうと考えていること(志望理由などでもOK)

特にゼミ開始まで(春休み中)に準備・頑張る予定のこと

ゼミの他のみんなへのメッセージ/挨拶

最低でも二年間共に勉強することになったんだから、 本気で一緒に勉強していこう! よろしくお願いします!

ゼミでの係

書記

春課題のソース

void setup(){

smooth();
size(screenWidth-200,screenHeight-200);
println("Title:Drawing Practice");
println("Did you write any lines by your mouse and failed?");
println("This application is perfect for you.");
println("****************************************");
println("'How to the Drawing Practice'");
println("press your mouse of left and drawn the lines");
println("press a = height line practice");
println("press s = width line practice ");
println("press d = oblique line practice");
println("press f = delete all lines");
println("press a+s =you can practice to draw characters");
background(255);

}

int x; int y; int i; int z; int a=0; int c=(mouseX*2+mouseY*1)/4; int sum; int mousesum; float score;

void draw(){

stroke(0,0,0);
if(mousePressed==true){
  noStroke();
ellipse(mouseX,mouseY,10,10);
mousesum+=mouseX+mouseY;
noStroke();
  fill(mouseX/3,mouseY/3,c,67);
strokeWeight(5);
}}

void keyPressed(){

if(key=='a'){

for(x=0;x<screenWidth*2;x+=100){
  strokeWeight(20);
  line(x,0,x,1000);
  strokeWeight(5);
  for(i=0;i<screenHeight*2;i+=20){
   point(x+50,i);}}
  

}else if(key=='s'){

for(x=0;x<screenWidth*2;x+=100){
  strokeWeight(20);
  line(0,x,screenWidth,x);
  strokeWeight(5);
   for(i=0;i<screenHeight*2;i+=20){
   point(i,x+50);}}

}else if(key=='d'){

for(x=0;x<screenWidth*2;x+=100){
  strokeWeight(20);
  line(x,0,0,x);

for(i=50;i<screenHeight;i+=50){ strokeWeight(5); point(x,i); point(x+25,i+25); point(x-25,i-25); point(x-50,i-50); point(x-75,i-75);}}

  

}else if(key=='f'){

background(255);

}else if(key=='g'){

 for(y=0;y<screenWidth-200;y+=1){
   sum=sum+y+(screenWidth-200)/2;}
   for(x=0;x<screenWidth;x+=100){
     strokeWeight(5);
     point(x,(screenHeight-200)/2);}
   score=mousesum/(sum+(screenHeight-200))/2*100;
  print(score);
     }

}

もっと効率良い組み方教えてください


back to Members


トップ   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS