<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
 <channel>
  <title>好好学习不谈恋爱</title>
  <link>http://globefishgu.blogbus.com</link>
  <description><![CDATA[PROCESSING学习笔记]]></description>
  <generator> by blogbus.com </generator>
  <lastBuildDate>Thu, 01 Jan 1970 07:00:00 +0700</lastBuildDate>
  <image>
									<url>http://public.blogbus.com/profile/4/9/8/1253894/avatar_1253894_96.jpg</url>
									<title>好好学习不谈恋爱</title>
									<link>http://globefishgu.blogbus.com</link>
								</image>  <item>
   <title>1 Pixels</title>
   <description><![CDATA[<p><strong>TIPS:</strong></p>
<p>X - axis<span style="white-space: pre;">	</span>left:0 right:width<br />Y - axis<span style="white-space: pre;">	</span>top:0 bottom:height</p>
<p>point(X,Y);</p>
<p>line(X1,Y1,X2,Y2);</p>
<p>ellipseMode(CENTER);<br />ellipse(CENTERx,CENTERy,WIDTH,HEIGHT);<br />ellipseMode(CORNER);<strong>default!!!</strong><br />ellipse(TOP,LEFT,WIDTH,HEIGHT);<strong>default!!!</strong><br />ellipseMode(CORNERS);<br />ellipse(TOP,LEFT,RIGHT,BOTTOM)</p>
<p>rectMode(CENTER);<br />rect(CENTERx,CENTERy,WIDTH,HEIGHT);<br />rectMode(CORNER);<strong>default!!!</strong><br />rect(TOP,LEFT,WIDTH,HEIGHT);<strong>default!!!</strong><br />rectMode(CORNERS);<br />rect(TOP,LEFT,RIGHT,BOTTOM)</p>
<p>0－255代表256种switch<br />8bit - gray mode<br />24bit - color mode<br />红绿蓝alpha各8bit</p>
<p>default:<br />stroke(0);<br />fill(255);</p>
<p>hide:<br />nostroke();<br />nofill();</p>
<p>前包含后，后包含于前</p>
<p>&nbsp;</p>
<p><strong>Exercise 1-4: Try to guess what the instructions would be for the following screenshot.</strong></p>
<p><a href="http://www.bababian.com/phoinfo/59F1B360B8E5ECBE4E9FA54BE947C9FFDT" target="_blank"><img style="border:none;" src="http://photo2.bababian.com/upload1/20090825/59F1B360B8E5ECBE4E9FA54BE947C9FF.jpg" alt="" /></a></p>
<p>&nbsp;</p>
<p>stroke(0);<br />&nbsp;&nbsp;fill(255);<br />&nbsp;&nbsp; &nbsp;rect(width/2-1,0,(width-1)/2,(height-1)/2);<br />&nbsp;&nbsp;fill(10);<br />&nbsp;&nbsp; &nbsp;rect(0,0,(width-1)/2,(height-1)/2);<br />&nbsp;&nbsp;fill(100);<br />&nbsp;&nbsp; &nbsp;rect(width/2-1,height/2-1,(width-1)/2,(height-1)/2);<br />&nbsp;&nbsp;fill(255);<br />&nbsp;&nbsp; &nbsp;rect(0,height/2-1,(width-1)/2,(height-1)/2);</p>
<div><strong><span style="font-family: mceinline;">（有错请帮忙指正下谢谢。）</span></strong></div>
<p>&nbsp;</p>
<p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Adobe Caslon Pro;"><em></em></p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Adobe Caslon Pro;">Exercise 1-5: Complete the following program. Guess what RGB values to use (you will be</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Adobe Caslon Pro;">able to check your results in Processing after reading the next chapter). You could also use the</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Adobe Caslon Pro;">color selector</p>
<br />
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Adobe Caslon Pro;"><em></em></p>
</p>
<p>&nbsp;</p><!--sp--><br /><br /><div class="sysmsg"><b><a href="http://www.blogbus.com" target="_blank">博客大巴，你的个人传媒早班车</a></b></div><br /><br />]]></description>
   <link>http://globefishgu.blogbus.com/logs/45008471.html</link>
   <author>便。</author>
   <pubDate>Tue, 25 Aug 2009 00:55:14 +0800</pubDate>
  </item>
 </channel>
</rss>
