[[2011a]]

[[2011a/A5/課題1右/餅最高]]

目次
#contents

*わー [#pa8e726b]

ぎゃaa

*箇条書き [#j657ff38]
-大根
-ジャガイモ
- ちくわ
**はんぺん [#u25e8b1d]
昆布食ってる奴何なの?

*プログラム [#ra7463e8]

 task main ()
 ちくわぶ
 牛スジ

輪郭
 #define a OUT_A
 #define b OUT_B
 #define c OUT_C
 #define d OUT_A+OUT_C

 sub turn_left()
 {
 OnRev(b);Wait(100);Off(b); //bあげる
 OnFwd(d);Wait(50);Off(d); //書かずに進む
 OnFwd(c);OnRev(a);Wait(50);Off(d); //回転
 OnRev(d);Wait(66);Off(d); //バック
 OnFwd(b);Wait(100);Off(b); //bさげる
 }


 task main()
 {

 OnFwd(d);Wait(100);Off(d); //前進
 turn_left();
 OnFwd(d);Wait(46);Off(d); //前進
 turn_left();
 OnFwd(d);Wait(65);Off(d); //前進
 turn_left();
 OnFwd(d);Wait(46);Off(d); //前進
 OnRev(b);Wait(100);Off(b); //bあげる
 OnFwd(d);Wait(50);Off(d); //書かずに進む
 OnFwd(c);OnRev(a);Wait(40);Off(d); //回転
 OnRev(d);Wait(66);Off(d); //バック
 OnFwd(b);Wait(100);Off(b); //bさげる
 OnFwd(d);Wait(100);Off(d); //前進

 }
- なくていい -- [[卵]] &new{2011-05-13 (金) 16:52:25};

#comment


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