<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-939797291883972929</id><updated>2012-02-16T11:58:28.132Z</updated><title type='text'>Book Fragments</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://bookfragments.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/939797291883972929/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://bookfragments.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>d.c.ince</name><uri>http://www.blogger.com/profile/17138852430931498108</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>35</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-939797291883972929.post-2443968182387790663</id><published>2009-12-02T12:32:00.002Z</published><updated>2009-12-02T12:34:51.664Z</updated><title type='text'>Im back at work</title><content type='html'>I've just been cleared to return to work. I Have almost finished the first edit, currently at 700 pages. Before my next operation in two months time I will do some more work to get the book into a shape that it can be sent to some publishers. This will involve a little restructuring and writing some of the missing chunks. I have another operation in Jan so I will be working flat out. I will answer all remaining emails tomorrow.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/939797291883972929-2443968182387790663?l=bookfragments.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bookfragments.blogspot.com/feeds/2443968182387790663/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=939797291883972929&amp;postID=2443968182387790663' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/939797291883972929/posts/default/2443968182387790663'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/939797291883972929/posts/default/2443968182387790663'/><link rel='alternate' type='text/html' href='http://bookfragments.blogspot.com/2009/12/im-back-at-work.html' title='Im back at work'/><author><name>d.c.ince</name><uri>http://www.blogger.com/profile/17138852430931498108</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-939797291883972929.post-125170526498335209</id><published>2009-10-12T10:27:00.001+01:00</published><updated>2009-10-12T10:27:43.761+01:00</updated><title type='text'>Progress Oct 10</title><content type='html'>I have now reached Chunk 44, hope to get up to 50 by the weekend.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/939797291883972929-125170526498335209?l=bookfragments.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bookfragments.blogspot.com/feeds/125170526498335209/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=939797291883972929&amp;postID=125170526498335209' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/939797291883972929/posts/default/125170526498335209'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/939797291883972929/posts/default/125170526498335209'/><link rel='alternate' type='text/html' href='http://bookfragments.blogspot.com/2009/10/progress-oct-10.html' title='Progress Oct 10'/><author><name>d.c.ince</name><uri>http://www.blogger.com/profile/17138852430931498108</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-939797291883972929.post-7104564958753735447</id><published>2009-10-01T09:46:00.002+01:00</published><updated>2009-10-01T09:47:01.375+01:00</updated><title type='text'>I have started again</title><content type='html'>I am now able to start some work on the project: edited chunk 38 yesterday (excellent)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/939797291883972929-7104564958753735447?l=bookfragments.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bookfragments.blogspot.com/feeds/7104564958753735447/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=939797291883972929&amp;postID=7104564958753735447' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/939797291883972929/posts/default/7104564958753735447'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/939797291883972929/posts/default/7104564958753735447'/><link rel='alternate' type='text/html' href='http://bookfragments.blogspot.com/2009/10/i-have-started-again.html' title='I have started again'/><author><name>d.c.ince</name><uri>http://www.blogger.com/profile/17138852430931498108</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-939797291883972929.post-2028303460279317242</id><published>2009-09-20T12:37:00.001+01:00</published><updated>2009-09-20T12:39:08.884+01:00</updated><title type='text'>More on my eye</title><content type='html'>Things seem to be going well. I have another week off and then will return to the project. I have to have another operation sometime after three months; this will depend on how well the retina has adhered. Im feeling a lot better.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/939797291883972929-2028303460279317242?l=bookfragments.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bookfragments.blogspot.com/feeds/2028303460279317242/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=939797291883972929&amp;postID=2028303460279317242' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/939797291883972929/posts/default/2028303460279317242'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/939797291883972929/posts/default/2028303460279317242'/><link rel='alternate' type='text/html' href='http://bookfragments.blogspot.com/2009/09/more-on-my-eye.html' title='More on my eye'/><author><name>d.c.ince</name><uri>http://www.blogger.com/profile/17138852430931498108</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-939797291883972929.post-8849897896421306918</id><published>2009-09-01T08:56:00.001+01:00</published><updated>2009-09-01T08:58:26.522+01:00</updated><title type='text'>My eye</title><content type='html'>I have had to go into hospital (the fantastic Radcliffe in Oxford) for an operation to put back my retina, part of which had been detached. This means no work for a fortnight. I will need a second op in December. I am hoping to catch up lost time in October when I shall be home on a sabbatical. Feeling very frustrated with an eye that feels it has been punched.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/939797291883972929-8849897896421306918?l=bookfragments.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bookfragments.blogspot.com/feeds/8849897896421306918/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=939797291883972929&amp;postID=8849897896421306918' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/939797291883972929/posts/default/8849897896421306918'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/939797291883972929/posts/default/8849897896421306918'/><link rel='alternate' type='text/html' href='http://bookfragments.blogspot.com/2009/09/my-eye.html' title='My eye'/><author><name>d.c.ince</name><uri>http://www.blogger.com/profile/17138852430931498108</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-939797291883972929.post-2310423185341176562</id><published>2009-08-25T09:12:00.001+01:00</published><updated>2009-08-25T09:14:27.371+01:00</updated><title type='text'>Progress Aug25</title><content type='html'>As many of you will know I have an eye problem and have had to stop for at least a fortnight. I have reached chunk 37 and, so far, the quality has been excellent. I have had very little editing to do. There will now be a hiatus but I will let you know when I return.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/939797291883972929-2310423185341176562?l=bookfragments.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bookfragments.blogspot.com/feeds/2310423185341176562/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=939797291883972929&amp;postID=2310423185341176562' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/939797291883972929/posts/default/2310423185341176562'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/939797291883972929/posts/default/2310423185341176562'/><link rel='alternate' type='text/html' href='http://bookfragments.blogspot.com/2009/08/progress-aug25.html' title='Progress Aug25'/><author><name>d.c.ince</name><uri>http://www.blogger.com/profile/17138852430931498108</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-939797291883972929.post-686984639205042731</id><published>2009-07-10T09:42:00.002+01:00</published><updated>2009-07-10T09:54:33.564+01:00</updated><title type='text'>I'm back</title><content type='html'>I have just returned from Malta and started editing again. Have reached chunk 25. Hope to get to 40ish by the end of the month. Do have a good holiday.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/939797291883972929-686984639205042731?l=bookfragments.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bookfragments.blogspot.com/feeds/686984639205042731/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=939797291883972929&amp;postID=686984639205042731' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/939797291883972929/posts/default/686984639205042731'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/939797291883972929/posts/default/686984639205042731'/><link rel='alternate' type='text/html' href='http://bookfragments.blogspot.com/2009/07/im-back.html' title='I&apos;m back'/><author><name>d.c.ince</name><uri>http://www.blogger.com/profile/17138852430931498108</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-939797291883972929.post-2502676971072003869</id><published>2009-06-19T09:41:00.002+01:00</published><updated>2009-06-19T09:44:00.812+01:00</updated><title type='text'>Progress 17th June</title><content type='html'>I have reached Chunk 20 in the editing. I hope to complete the first full edit by the end of August and then carry out a structuring exercise which would involve adding some glue text to cover the interfaces between the chunks.&lt;br /&gt;&lt;br /&gt;It was an excellent event on Monday. Ira has offered to write a preface; something I have taken up with alacrity.&lt;br /&gt;&lt;br /&gt;If any of you want to be put on the reserve list for chunks that were not delivered please email me.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/939797291883972929-2502676971072003869?l=bookfragments.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bookfragments.blogspot.com/feeds/2502676971072003869/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=939797291883972929&amp;postID=2502676971072003869' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/939797291883972929/posts/default/2502676971072003869'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/939797291883972929/posts/default/2502676971072003869'/><link rel='alternate' type='text/html' href='http://bookfragments.blogspot.com/2009/06/progress-17th-june.html' title='Progress 17th June'/><author><name>d.c.ince</name><uri>http://www.blogger.com/profile/17138852430931498108</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-939797291883972929.post-605927301884522809</id><published>2009-06-06T07:45:00.001+01:00</published><updated>2009-06-06T07:47:43.089+01:00</updated><title type='text'>Webcast Details</title><content type='html'>The webcast page for the 15th June event is &lt;a href="http://stadium.open.ac.uk/1355/"&gt;here&lt;/a&gt;.  It automatically refreshes itself, adding the Live links when the event goes live.  You will need  QuickTime 7 or later to view the webcast.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/939797291883972929-605927301884522809?l=bookfragments.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bookfragments.blogspot.com/feeds/605927301884522809/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=939797291883972929&amp;postID=605927301884522809' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/939797291883972929/posts/default/605927301884522809'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/939797291883972929/posts/default/605927301884522809'/><link rel='alternate' type='text/html' href='http://bookfragments.blogspot.com/2009/06/webcast-details.html' title='Webcast Details'/><author><name>d.c.ince</name><uri>http://www.blogger.com/profile/17138852430931498108</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-939797291883972929.post-3266534901566633666</id><published>2009-06-06T07:28:00.002+01:00</published><updated>2009-06-06T07:34:35.196+01:00</updated><title type='text'>Progress 6th June</title><content type='html'>So far I have edited 13 texts. All are excellent. The main problems (all small) are:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Punctuation&lt;/li&gt;&lt;li&gt;Sometimes an over laid-back style&lt;/li&gt;&lt;li&gt;Two small assumptions about what students have learned in previous chunks were not correct.&lt;/li&gt;&lt;li&gt;Figure referencing needed fixing up.&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;I estimate that I have changed 3% of a chunk on average. I had hoped to get to 15 by tomorrow but family illness intervened. Hope to get to 18 by 13th June. The bulk of the editing will occur in July/August&lt;br /&gt;&lt;br /&gt;I may need to look at structure once I have done the first twenty. However, I will not be touching the texts that were delivered and edited, they are uniformly good.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/939797291883972929-3266534901566633666?l=bookfragments.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bookfragments.blogspot.com/feeds/3266534901566633666/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=939797291883972929&amp;postID=3266534901566633666' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/939797291883972929/posts/default/3266534901566633666'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/939797291883972929/posts/default/3266534901566633666'/><link rel='alternate' type='text/html' href='http://bookfragments.blogspot.com/2009/06/progress-6th-june.html' title='Progress 6th June'/><author><name>d.c.ince</name><uri>http://www.blogger.com/profile/17138852430931498108</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-939797291883972929.post-8281165189334866814</id><published>2009-06-01T19:08:00.002+01:00</published><updated>2009-06-01T19:09:42.809+01:00</updated><title type='text'>June 15th</title><content type='html'>We are finalising the arrangements for the four hour session on the mass writing project. It will take place on June 15th. The first session will be from 11.00 to 13.00 and will be devoted to &lt;span style="font-style: italic;"&gt;Processing&lt;/span&gt;. Ira Greenberg will talk about his journey from artist to programmer and describe recent advances in &lt;span style="font-style: italic;"&gt;Processing&lt;/span&gt;.&lt;br /&gt;&lt;br /&gt;The afternoon will be started at 14.00 with a short talk by me introducing the project (about 30 minutes) and then four students will describe their involvement. We hope to finish by around 16.00. The event will be webcast so you can follow it live; however, it will also be recorded and made available for viewing later. Details of the webcast link and the link to the video will follow in about a week.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/939797291883972929-8281165189334866814?l=bookfragments.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bookfragments.blogspot.com/feeds/8281165189334866814/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=939797291883972929&amp;postID=8281165189334866814' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/939797291883972929/posts/default/8281165189334866814'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/939797291883972929/posts/default/8281165189334866814'/><link rel='alternate' type='text/html' href='http://bookfragments.blogspot.com/2009/06/june-15th.html' title='June 15th'/><author><name>d.c.ince</name><uri>http://www.blogger.com/profile/17138852430931498108</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-939797291883972929.post-8652323733423833322</id><published>2009-05-25T08:33:00.001+01:00</published><updated>2009-05-25T08:35:02.423+01:00</updated><title type='text'>Progress 25/5/09</title><content type='html'>Just to let you know that I have edited the first seven chunks. They have all been of the highest quality. Most of the changes have been cosmetic, for example adding semi-colons. Other changes have been done to get the book into a consistent style. I estimate that I have only deleted or modified about 3-4% of your texts so far. this is amazing!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/939797291883972929-8652323733423833322?l=bookfragments.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bookfragments.blogspot.com/feeds/8652323733423833322/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=939797291883972929&amp;postID=8652323733423833322' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/939797291883972929/posts/default/8652323733423833322'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/939797291883972929/posts/default/8652323733423833322'/><link rel='alternate' type='text/html' href='http://bookfragments.blogspot.com/2009/05/progress-25509.html' title='Progress 25/5/09'/><author><name>d.c.ince</name><uri>http://www.blogger.com/profile/17138852430931498108</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-939797291883972929.post-8459496381803668332</id><published>2009-05-16T10:35:00.002+01:00</published><updated>2009-05-16T10:45:08.510+01:00</updated><title type='text'>Progress</title><content type='html'>I have edited the first three chunks. I plan to do two more tomorrow. I suspect that my rate will be about five chunks a week until the summer when it should accelerate: I stay with my mum-in-law in an area of France which is, without a doubt, the most ill-served in terms of the attractions that I enjoy. So, apart from a two day wine buying trip to the Loire, I shall probably be up to 15 a week for a fortnight. Incidentally, if you are ever in Fontrevaud, just off the Loire, I recommend the Hotel Abbaye Royale in Fontrevaud; its cheap for what you get and having breakfast in the cloisters of an old nunnery is quite something. Advanced booking recommended. Also La Licorne is a stellar restaurant in Fontrevaud.&lt;br /&gt;&lt;br /&gt;So far the chunks I have edited have been fantastic. I calculate that in editing them I have only changed about 2-3% of the text which is amazing. When I have done I will put them on an ftp server.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/939797291883972929-8459496381803668332?l=bookfragments.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bookfragments.blogspot.com/feeds/8459496381803668332/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=939797291883972929&amp;postID=8459496381803668332' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/939797291883972929/posts/default/8459496381803668332'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/939797291883972929/posts/default/8459496381803668332'/><link rel='alternate' type='text/html' href='http://bookfragments.blogspot.com/2009/05/progress.html' title='Progress'/><author><name>d.c.ince</name><uri>http://www.blogger.com/profile/17138852430931498108</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-939797291883972929.post-8037686993995934572</id><published>2009-05-16T10:26:00.002+01:00</published><updated>2009-05-16T10:35:13.683+01:00</updated><title type='text'>Update June 15</title><content type='html'>The arrangements for June 15 are now almost there. I will do a brief fifteen minute introduction. Ira will talk for two hours about &lt;span style="font-style: italic;"&gt;Processing &lt;/span&gt;and his journey from artist to computer programmer and four of you have bravely volunteered to give short 20 minute talks. I still have about five chunks of £50 pounds for expenses if anyone wants to join us on the 15th.  As a minimum we hope to video the sessions. We are, however, hoping to webcast the four hours. Watch this space over the next few weeks; a webcast would also involve recording the four hours and putting it on a web site for download.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/939797291883972929-8037686993995934572?l=bookfragments.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bookfragments.blogspot.com/feeds/8037686993995934572/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=939797291883972929&amp;postID=8037686993995934572' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/939797291883972929/posts/default/8037686993995934572'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/939797291883972929/posts/default/8037686993995934572'/><link rel='alternate' type='text/html' href='http://bookfragments.blogspot.com/2009/05/update-june-15.html' title='Update June 15'/><author><name>d.c.ince</name><uri>http://www.blogger.com/profile/17138852430931498108</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-939797291883972929.post-3425168045457317010</id><published>2009-05-08T09:35:00.002+01:00</published><updated>2009-05-08T09:38:58.039+01:00</updated><title type='text'>In June Meet Ira Greenberg</title><content type='html'>Ira Greenberg will be visiting the department in either June or early July. he will be giving a talk about &lt;span style="font-style: italic;"&gt;Processing &lt;/span&gt;and I will be giving a talk about this project. There may be some money around to pay travel expenses for some of you. I will know in a few days. Unfortunately, the talks will be on a weeekday so I am assuming most of you will be at work. However, watch this space if you want to come. It will be first come, first served for travel funds.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/939797291883972929-3425168045457317010?l=bookfragments.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bookfragments.blogspot.com/feeds/3425168045457317010/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=939797291883972929&amp;postID=3425168045457317010' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/939797291883972929/posts/default/3425168045457317010'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/939797291883972929/posts/default/3425168045457317010'/><link rel='alternate' type='text/html' href='http://bookfragments.blogspot.com/2009/05/in-june-meet-ira-greenberg.html' title='In June Meet Ira Greenberg'/><author><name>d.c.ince</name><uri>http://www.blogger.com/profile/17138852430931498108</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-939797291883972929.post-642783715460898986</id><published>2009-05-07T09:03:00.001+01:00</published><updated>2009-05-07T09:03:29.394+01:00</updated><title type='text'>My role from Sunday</title><content type='html'>Thanks to all of you who have submitted chunks so far. My part in the project starts on Sunday when I will start editing the first ten chunks. I intend putting the book up on a web site after each of the ten chunks has been completed. I will send you the URL in due course.&lt;br /&gt;&lt;br /&gt;I would estimate that editing the book and writing the small number of chunks that remain will take me up to the end of Aug. I will then get a version of the book printed using Lulu or some other company and will send you each a copy. I will, then try and interest a publisher such as OReilly in publishing it formally.&lt;br /&gt;&lt;br /&gt;I also intend developing an e-learning course based on your material which will be put on the OU Open Learn site.&lt;br /&gt;&lt;br /&gt;So, watch this space. If you are interested in doing a second chunk please let me know.&lt;br /&gt;&lt;br /&gt;Darrel&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/939797291883972929-642783715460898986?l=bookfragments.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bookfragments.blogspot.com/feeds/642783715460898986/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=939797291883972929&amp;postID=642783715460898986' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/939797291883972929/posts/default/642783715460898986'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/939797291883972929/posts/default/642783715460898986'/><link rel='alternate' type='text/html' href='http://bookfragments.blogspot.com/2009/05/my-role-from-sunday.html' title='My role from Sunday'/><author><name>d.c.ince</name><uri>http://www.blogger.com/profile/17138852430931498108</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-939797291883972929.post-833987112036794420</id><published>2009-04-27T14:43:00.001+01:00</published><updated>2009-04-27T14:44:12.816+01:00</updated><title type='text'>Deadline looming</title><content type='html'>The end of month deadline is looming. I would be grateful if you could get your chunks in to me by 7th May.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/939797291883972929-833987112036794420?l=bookfragments.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bookfragments.blogspot.com/feeds/833987112036794420/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=939797291883972929&amp;postID=833987112036794420' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/939797291883972929/posts/default/833987112036794420'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/939797291883972929/posts/default/833987112036794420'/><link rel='alternate' type='text/html' href='http://bookfragments.blogspot.com/2009/04/deadline-looming.html' title='Deadline looming'/><author><name>d.c.ince</name><uri>http://www.blogger.com/profile/17138852430931498108</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-939797291883972929.post-9014877284980222140</id><published>2009-03-10T19:32:00.001Z</published><updated>2009-03-10T19:33:24.649Z</updated><title type='text'>URGENT</title><content type='html'>There are still some writers who have not nominated a chunk and/or sent me their blog address. Could you send me these as soon as possible&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/939797291883972929-9014877284980222140?l=bookfragments.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bookfragments.blogspot.com/feeds/9014877284980222140/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=939797291883972929&amp;postID=9014877284980222140' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/939797291883972929/posts/default/9014877284980222140'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/939797291883972929/posts/default/9014877284980222140'/><link rel='alternate' type='text/html' href='http://bookfragments.blogspot.com/2009/03/urgent.html' title='URGENT'/><author><name>d.c.ince</name><uri>http://www.blogger.com/profile/17138852430931498108</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-939797291883972929.post-4677359978123405738</id><published>2009-02-10T08:18:00.001Z</published><updated>2009-02-10T08:20:04.964Z</updated><title type='text'>Progress</title><content type='html'>The first of the chunks are starting to come in. Don't panic though, the deadline is the end of April. However,if you have not chosen a chunk could you do so by Feb 27th. When that is cleared I can see how many spare chunks there are if anyone wants to write a second one.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/939797291883972929-4677359978123405738?l=bookfragments.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bookfragments.blogspot.com/feeds/4677359978123405738/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=939797291883972929&amp;postID=4677359978123405738' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/939797291883972929/posts/default/4677359978123405738'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/939797291883972929/posts/default/4677359978123405738'/><link rel='alternate' type='text/html' href='http://bookfragments.blogspot.com/2009/02/progress.html' title='Progress'/><author><name>d.c.ince</name><uri>http://www.blogger.com/profile/17138852430931498108</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-939797291883972929.post-2007272404407687210</id><published>2009-01-11T10:54:00.003Z</published><updated>2009-01-11T11:01:29.000Z</updated><title type='text'>Post holiday news</title><content type='html'>I'm now back monitoring mail regularly. It looks like all the book supply problems are over. Also, many thanks for those of you that sent sample programs, they all look good. I am planning to post some photos of the launch of our video screen in early February.&lt;br /&gt;&lt;br /&gt;An interesting new book on &lt;span style="font-style: italic;"&gt;Processing &lt;/span&gt;authored by Daniel Shiffman has just been published. Its very technical but excellent. The URL is below. I can also recommend Ben Fry's book on visualising data that uses &lt;span style="font-style: italic;"&gt;Processing&lt;/span&gt;, again the URL is below.&lt;br /&gt;&lt;br /&gt;Can you post your blog details and chunk choices to me by the end of January.&lt;br /&gt;&lt;br /&gt;Hope you all had a good holiday and I wish you all the best of years.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.amazon.co.uk/Visualizing-Data-Explaining-Processing-Environment/dp/0596514557/ref=sr_1_1?ie=UTF8&amp;amp;s=books&amp;amp;qid=1231671547&amp;amp;sr=1-1"&gt;The visualising data book&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;The &lt;a href="http://www.amazon.co.uk/Learning-Processing-Beginners-Programming-Interaction/dp/0123736021/ref=sr_1_1?ie=UTF8&amp;amp;s=books&amp;amp;qid=1231671607&amp;amp;sr=1-1"&gt;new &lt;span style="font-style: italic;"&gt;Processing &lt;/span&gt;book&lt;/a&gt; by Shiffman.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/939797291883972929-2007272404407687210?l=bookfragments.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bookfragments.blogspot.com/feeds/2007272404407687210/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=939797291883972929&amp;postID=2007272404407687210' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/939797291883972929/posts/default/2007272404407687210'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/939797291883972929/posts/default/2007272404407687210'/><link rel='alternate' type='text/html' href='http://bookfragments.blogspot.com/2009/01/post-holiday-news.html' title='Post holiday news'/><author><name>d.c.ince</name><uri>http://www.blogger.com/profile/17138852430931498108</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-939797291883972929.post-6317153516338472488</id><published>2008-10-31T11:04:00.039Z</published><updated>2009-03-31T13:44:11.636+01:00</updated><title type='text'>List of blogs</title><content type='html'>&lt;span style="font-style: italic;"&gt;Updated &lt;span style="text-decoration: underline;"&gt;Feb 18th&lt;/span&gt;&lt;span style="text-decoration: underline;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;a href="http://massprocessing.blogspot.com/"&gt;Anton Dil&lt;/a&gt;&lt;br /&gt;&lt;a href="http://masswriting-pixels.blogspot.com/"&gt;David Phillips&lt;/a&gt;&lt;br /&gt;&lt;a href="http://asfprocessing.blogspot.com/"&gt;Anthony Fiore&lt;/a&gt;&lt;br /&gt;&lt;a href="http://richardmasswriting.blogspot.com/"&gt;Richard Brown&lt;/a&gt;&lt;br /&gt;&lt;a href="http://neilmasswriting.blogspot.com/"&gt;Neil Singh&lt;/a&gt;&lt;br /&gt;&lt;a href="http://neilkeskar.blogspot.com/"&gt;Neil Keskar&lt;/a&gt;&lt;br /&gt;&lt;a href="http://rjsmasswriting.blogspot.com/"&gt;Rob Spain&lt;/a&gt;&lt;br /&gt;&lt;a href="http://lazydog-bookfragments.blogspot.com/"&gt;Ben Notarianni&lt;/a&gt;&lt;br /&gt;&lt;a href="http://martinpblogformasswritingproject.blogspot.com/"&gt;Martin Prout&lt;/a&gt;&lt;br /&gt;&lt;a href="http://javastewart.blogspot.com/"&gt;Stewart Edwards&lt;/a&gt;&lt;br /&gt;&lt;a href="http://learning-processing.blogspot.com/"&gt;Mike Taperell&lt;/a&gt;&lt;br /&gt;&lt;a href="http://writinginbytes.blogspot.com/"&gt;Sharon Dawes&lt;/a&gt;&lt;br /&gt;&lt;a href="http://affinetransformation.blogspot.com/"&gt;John Wilson&lt;/a&gt;&lt;br /&gt;&lt;a href="http://paulfr.blogspot.com/"&gt;Paul Richards&lt;/a&gt;&lt;br /&gt;Antony Lees  &lt;a href="http://masswritingchunk82.blogspot.com/"&gt;Chunk 82 blog&lt;/a&gt;    &lt;a href="http://masswritingchunk13.blogspot.com/"&gt;Chunk 13 blog&lt;/a&gt;&lt;br /&gt;&lt;a href="http://rwoublog.blogspot.com/"&gt;Rosie Wood&lt;/a&gt;&lt;br /&gt;&lt;a href="http://processingbits.blogspot.com/"&gt;Mike Richards&lt;/a&gt;&lt;br /&gt;&lt;a href="http://ubiquity-notebook.blogspot.com/"&gt;Sheep Dalton&lt;/a&gt;&lt;br /&gt;&lt;a href="http://bookfragments.blogspot.com/"&gt;Darrel Ince&lt;/a&gt;&lt;br /&gt;&lt;a href="http://iansbookfragment.blogspot.com/"&gt;Ian Perkins&lt;br /&gt;&lt;/a&gt;&lt;a href="http://philomathblog.blogspot.com/"&gt;Davide Rizzo&lt;/a&gt;&lt;br /&gt;&lt;a href="http://maxx-linx.blogspot.com/"&gt;Maxemilian Hilbrand&lt;/a&gt;&lt;br /&gt;&lt;a href="http://jgmw.blogspot.com/"&gt;James Gray&lt;/a&gt;&lt;br /&gt;&lt;a href="http://dbmasswriting.blogspot.com/"&gt;Darragh Buffini&lt;/a&gt;&lt;br /&gt;&lt;a href="http://barrymasswriting.blogspot.com/"&gt;Barry Martin&lt;/a&gt;&lt;br /&gt;&lt;a href="http://dpleated.blogspot.com/"&gt;Liam Madden&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.blogger.com/neilpetrie.blogspot.com"&gt;Neil Petrie&lt;/a&gt;&lt;br /&gt;&lt;a href="http://grant-grants.blogspot.com/"&gt;Grant Mankee&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.blogger.com/twisterbac.blogspot.com"&gt;Bryan Clifton&lt;/a&gt;&lt;br /&gt;&lt;a href="http://gir6.blogspot.com/"&gt;Geoff Riley&lt;/a&gt;&lt;br /&gt;&lt;a href="http://iamou.blogspot.com/"&gt;Ian Macey&lt;/a&gt;&lt;br /&gt;&lt;a href="http://printmiles.blogspot.com/"&gt;Alex Harris&lt;/a&gt;&lt;br /&gt;&lt;a href="http://fokionmasswriting.blogspot.com/"&gt;Fokion Zervoudakis&lt;/a&gt;&lt;br /&gt;&lt;a href="http://edmasswriting.blogspot.com/"&gt;Edward Toovey&lt;/a&gt;&lt;br /&gt;&lt;a href="http://rtmasswriting.blogspot.com/"&gt;Rosellyne Thompson&lt;/a&gt;&lt;br /&gt;&lt;a href="http://jdba-mw-blog.blogspot.com/"&gt;Jeremy Annis&lt;/a&gt;&lt;br /&gt;&lt;a href="http://oumasswriting.blogspot.com/"&gt;Ian Welch&lt;/a&gt;&lt;br /&gt;&lt;a href="http://jssmasswriting.blogspot.com/"&gt;Jannetta Steyn&lt;/a&gt;&lt;br /&gt;&lt;a href="http://artisticjava.blogspot.com/"&gt;Roberto Vormittag&lt;/a&gt;&lt;br /&gt;&lt;a href="http://shaileshgokhale.blogspot.com/"&gt;Shailesh S. Gokhale&lt;/a&gt;&lt;br /&gt;&lt;a href="http://prettyoubits.blogspot.com/"&gt;Boyd Stratton&lt;/a&gt;&lt;br /&gt;&lt;a href="http://amadanart.blogspot.com/"&gt;Nigel Parker&lt;/a&gt;&lt;br /&gt;&lt;a href="http://brynsadler.blogspot.com/"&gt;Ian Bryn Sadler&lt;/a&gt;&lt;br /&gt;&lt;a href="http://processingfun.blogspot.com/"&gt;Paolo Greco&lt;/a&gt;&lt;br /&gt;&lt;a href="http://mjheap.blogspot.com/"&gt;Marshall Heap&lt;/a&gt;&lt;br /&gt;&lt;a href="http://banto-software.blogspot.com/"&gt;Antonio Bruno&lt;/a&gt;&lt;br /&gt;&lt;a href="http://countingflowersonthewall.blogspot.com/"&gt;Andrew Hancox&lt;/a&gt;&lt;br /&gt;&lt;a href="http://dusanlicer.blogspot.com/"&gt;Dusan Licer&lt;/a&gt;&lt;br /&gt;&lt;a href="http://mikeblamires.blogspot.com/"&gt;Mike Blamires&lt;/a&gt;&lt;br /&gt;&lt;a href="http://anabelaoumasswriting.blogspot.com/"&gt;Anabela Green&lt;/a&gt;&lt;br /&gt;&lt;a href="http://jeanlucsmasswritingblog.blogspot.com/"&gt;JeanLuc Brausch&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.ooouandi.blogspot.com/"&gt;Rob Martin&lt;/a&gt;&lt;br /&gt;&lt;a href="http://jblogger-javabook.blogspot.com/"&gt;Simon Perrins&lt;/a&gt;&lt;br /&gt;&lt;a href="http://ou-java-book.blogspot.com/"&gt;Mark Moran&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.pauldfisher.blogspot.com/"&gt;Paul Fisher&lt;/a&gt;&lt;br /&gt;&lt;a href="http://rebeccamasswriting.blogspot.com/"&gt;Rebecca Ewen&lt;/a&gt;&lt;br /&gt;&lt;a href="http://mctchrisd.blogspot.com/"&gt;Christopher Douce&lt;/a&gt;&lt;br /&gt;&lt;a href="http://masswriting.witchguard.com/"&gt;Bruce Lawley&lt;/a&gt;&lt;br /&gt;&lt;a href="http://masswritingproject.blogspot.com/"&gt;Samir Rabab&lt;/a&gt;&lt;br /&gt;&lt;a href="http://myblog-project.blogspot.com/"&gt;Ebtessam Adam&lt;/a&gt;&lt;br /&gt;&lt;a href="http://sheepmasswritting1.blogspot.com/"&gt;Sheep Dalton&lt;/a&gt;&lt;br /&gt;&lt;a href="http://grahamhallsblog.blogspot.com/"&gt;Graham Hall&lt;/a&gt;&lt;br /&gt;&lt;a href="http://abilitystuff.blogspot.com/"&gt;Pat Jacobs&lt;/a&gt;&lt;br /&gt;&lt;a href="http://masswriting-chunk52.blogspot.com/"&gt;Mark Miller&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/939797291883972929-6317153516338472488?l=bookfragments.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bookfragments.blogspot.com/feeds/6317153516338472488/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=939797291883972929&amp;postID=6317153516338472488' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/939797291883972929/posts/default/6317153516338472488'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/939797291883972929/posts/default/6317153516338472488'/><link rel='alternate' type='text/html' href='http://bookfragments.blogspot.com/2008/10/list-of-blogs_31.html' title='List of blogs'/><author><name>d.c.ince</name><uri>http://www.blogger.com/profile/17138852430931498108</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-939797291883972929.post-3059625222099528443</id><published>2008-10-28T12:01:00.038Z</published><updated>2008-10-30T07:25:01.771Z</updated><title type='text'>Book Fragment 24</title><content type='html'>&lt;span style=";font-family:times new roman;font-size:130%;"  &gt;I have joined the writing team and have written fragment 24. It is reproduced below. It shows the general style that I would like you to aim at. I hope to do no more writing. There are some points to be made about the fragments themselves and which are illustrated in the text below:&lt;br /&gt;&lt;/span&gt;&lt;ul&gt;&lt;li&gt;Try and use a bit of white space in your programs indentation etc.&lt;/li&gt;&lt;li&gt;Use 'we' in the text. After all there are a large number of authors.&lt;/li&gt;&lt;li&gt;Always try and back reference or forward reference bits of the book as in 'you will remember in page xx'; don't worry about page numbers I will fix them up when I edit the text.&lt;/li&gt;&lt;li&gt;There's no harm in repeating a bit of program code.&lt;/li&gt;&lt;/ul&gt;There are some specific points to be made about the painful process of transferring your text to &lt;span style="font-style: italic;"&gt;Blogger&lt;/span&gt;:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;First its quite a painful process transferring from MS Word, be warned.&lt;/li&gt;&lt;li&gt;Second, figures are quite tricky to get into Blogger. When they are inserted they tend to be put into the top of your blog and you will then need to cut and paste.&lt;/li&gt;&lt;li&gt;When you add a picture to your blog use the left option.&lt;/li&gt;&lt;li&gt;There are only a few graphic formats that Blogger accepts; they are: jpg, gif, bmp and png.&lt;/li&gt;&lt;li&gt;Indentation is a pain. As you will see in my entry I gave up indenting the Java programs. If anyone has a simple solution please let me know.&lt;/li&gt;&lt;li&gt;Another pain is symbols such as 'less than' or 'greater than'. The best thing to do is to insert the HTML versions of the symbols. &lt;a href="http://www.degraeve.com/reference/specialcharacters.php"&gt;Click here&lt;/a&gt; for a list. &lt;span style="font-style: italic;"&gt;Blogger &lt;/span&gt;will not process your blog if you have less than, greater than etc symbols in it.&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:100%;"&gt;&lt;b style=""&gt;Geometry and computer art&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:100%;"&gt;So far in this book we have concentrated on a number of introductory ideas, mainly concerned with programming. We are now going to change tack and look at some mathematics, although we will present some programs later. In order to develop interesting and sophisticated computer art you need to know a bit about geometry. In this and the next two sections we will give you something of a primer. You will also need to know a little about algebra to understand the text up to page xx. The good news is that there is not a lot of it.&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;  &lt;/p&gt;&lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:100%;"&gt;&lt;b style=""&gt;&lt;span style=""&gt;Dimensions&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:100%;"&gt;In mathematics we talk about dimensions. Normally we talk about one-dimensional, two -nsional and three-dimensional figures. A point is one-dimensional and a line is two-dimensional. A point represents a location in space. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:100%;"&gt;Figure 1 shows what we mean by a point and how we can uniquely identify individual points.&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_Gto1YEah44o/SQcIsWsWpJI/AAAAAAAAAAM/hI9jQLdEV8Q/s1600-h/F1.gif"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer; width: 280px; height: 320px;" src="http://1.bp.blogspot.com/_Gto1YEah44o/SQcIsWsWpJI/AAAAAAAAAAM/hI9jQLdEV8Q/s320/F1.gif" alt="" id="BLOGGER_PHOTO_ID_5262184247704593554" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_Gto1YEah44o/SQcIsWsWpJI/AAAAAAAAAAM/hI9jQLdEV8Q/s1600-h/F1.gif"&gt;&lt;br /&gt;&lt;/a&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;  &lt;/p&gt;&lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:100%;"&gt;&lt;span style="color: rgb(102, 102, 102);"&gt;            Figure 1&lt;/span&gt;: Two points and how to identify them&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:100%;"&gt;Imagine what you see is a very small computer screen which contains 49 pixels (7 by 7). If you are unsure about what a pixel is then have a look at page x. The screen is delineated by a pair of vertical lines and a pair of horizontal lines. The horizontal line at the bottom is known as the &lt;i style=""&gt;x&lt;/i&gt;-axis and the horizontal line at the leftmost position is known as the &lt;i style=""&gt;y&lt;/i&gt;-axis. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:100%;"&gt;Each of the axes contain whole number that represent the position of a point on the screen; for example the point (3,5) is shown. This represents a position of 3 along the &lt;span style="font-style: italic;"&gt;x&lt;/span&gt;-axis and a position of 5 along the &lt;span style="font-style: italic;"&gt;y&lt;/span&gt;-axis. Similarly the point (2,3) represents the point which has a position of 2 along the x-axis and a position 3 along the &lt;span style="font-style: italic;"&gt;y&lt;/span&gt;-axis. The key point to make here is that the coordinates uniquely fix the pixels in space and specify where they are. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:100%;"&gt;In reality a computer screen and other digital devices will have hundreds of pixels, for example a HD video camera has 11 mega (million) pixels.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:100%;"&gt;So these are points, what then are lines and how are they specified? Clearly a line cannot be specified by an &lt;i style=""&gt;x&lt;/i&gt;-coordinate and a &lt;i style=""&gt;y&lt;/i&gt;-coordinate. Look at Figure 2. This shows a line in the same coordinate system that was &lt;/span&gt;&lt;span style="font-size:100%;"&gt;used in Figure 1.&lt;/span&gt;&lt;/p&gt;&lt;p style="text-align: left;" class="MsoNormal" face="times new roman"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_Gto1YEah44o/SQcKj6Ft4aI/AAAAAAAAAAk/SQXqg6HyRqU/s1600-h/F2.gif"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer; width: 238px; height: 320px;" src="http://2.bp.blogspot.com/_Gto1YEah44o/SQcKj6Ft4aI/AAAAAAAAAAk/SQXqg6HyRqU/s320/F2.gif" alt="" id="BLOGGER_PHOTO_ID_5262186301610647970" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;  &lt;/p&gt;&lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:100%;"&gt;&lt;span style="color: rgb(153, 153, 153);"&gt;Figure 2&lt;/span&gt;: A line joining two coordinates&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:100%;"&gt;Here we see a line that joins the coordinates (1,3) and (3,5). The two points specify the line. They show that it’s a short line and has two end points in that it does not continue on past the two end points. The line has an important property: its slope. This is the angle that it makes with the &lt;i style=""&gt;x&lt;/i&gt;-axis. In Figure 2 the angle is 45 degrees. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:100%;"&gt;So is there anything more we need to know about lines? The first thing is that a line can be infinite it can stretch infinitely from one coordinate to another. The line in Figure 2 is quite short. So how can we specify a line that is infinite (or at least is bounded by a computer screen)?&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;  &lt;/p&gt;&lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:100%;"&gt;We do this via an equation. The general form of the equation of a line is&lt;/span&gt;&lt;/p&gt;&lt;div  style="text-align: center;font-family:times new roman;"&gt;&lt;span style="font-size:100%;"&gt;&lt;span style="font-style: italic;"&gt;y&lt;/span&gt; = &lt;span style="font-style: italic;"&gt;mx&lt;/span&gt;+&lt;span style="font-style: italic;"&gt;c&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:100%;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;!--[if gte msEquation 12]&gt;&lt;m:omathpara&gt;&lt;m:omath&gt;&lt;i style="'mso-bidi-font-style:normal'"&gt;&lt;span style="'font-family:;font-size:12.0pt;"&gt;&lt;m:r&gt;y&lt;/m:r&gt;&lt;m:r&gt;=&lt;/m:r&gt;&lt;m:r&gt;mx&lt;/m:r&gt;&lt;m:r&gt;+&lt;/m:r&gt;&lt;m:r&gt;c&lt;/m:r&gt;&lt;/span&gt;&lt;/i&gt;&lt;/m:oMath&gt;&lt;/m:oMathPara&gt;&lt;![endif]--&gt;&lt;!--[if !msEquation]--&gt;&lt;span style="font-size:100%;"&gt;&lt;v:shapetype id="_x0000_t75" coordsize="21600,21600" spt="75" preferrelative="t" path="m@4@5l@4@11@9@11@9@5xe" filled="f" stroked="f"&gt;  &lt;v:stroke joinstyle="miter"&gt;  &lt;v:formulas&gt;   &lt;v:f eqn="if lineDrawn pixelLineWidth 0"&gt;   &lt;v:f eqn="sum @0 1 0"&gt;   &lt;v:f eqn="sum 0 0 @1"&gt;   &lt;v:f eqn="prod @2 1 2"&gt;   &lt;v:f eqn="prod @3 21600 pixelWidth"&gt;   &lt;v:f eqn="prod @3 21600 pixelHeight"&gt;   &lt;v:f eqn="sum @0 0 1"&gt;   &lt;v:f eqn="prod @6 1 2"&gt;   &lt;v:f eqn="prod @7 21600 pixelWidth"&gt;   &lt;v:f eqn="sum @8 21600 0"&gt;   &lt;v:f eqn="prod @7 21600 pixelHeight"&gt;   &lt;v:f eqn="sum @10 21600 0"&gt;  &lt;/v:f&gt;  &lt;v:path extrusionok="f" gradientshapeok="t" connecttype="rect"&gt;  &lt;o:lock ext="edit" aspectratio="t"&gt; &lt;/o:lock&gt;&lt;v:shape id="_x0000_i1025" type="#_x0000_t75" style="width: 59.25pt; height: 14.25pt;"&gt;  &lt;v:imagedata src="file:///C:%5CUsers%5Cdci2%5CAppData%5CLocal%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_image001.png" title="" chromakey="white"&gt; &lt;/v:imagedata&gt;&lt;/v:shape&gt;&lt;/v:path&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:formulas&gt;&lt;/v:stroke&gt;&lt;/v:shapetype&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="font-size:100%;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:100%;"&gt;Here &lt;i style=""&gt;x&lt;/i&gt; is the coordinate of the &lt;i style=""&gt;x&lt;/i&gt; axis, &lt;i style=""&gt;y&lt;/i&gt; is the coordinate of the &lt;i style=""&gt;y&lt;/i&gt; axis, &lt;i style=""&gt;m&lt;/i&gt; is the slope and &lt;i style=""&gt;c&lt;/i&gt; is the point in the &lt;i style=""&gt;y&lt;/i&gt; axis where the &lt;i style=""&gt;x&lt;/i&gt; coordinate is zero (we call it the intercept). Let’s see how that works with a longer line. Have a look at Figure 3. The value of &lt;i style=""&gt;c&lt;/i&gt; is 2; this where it the line intercepts the &lt;i style=""&gt;y&lt;/i&gt; axis. The slope is 45 degrees. However, the value of &lt;i style=""&gt;m&lt;/i&gt; is not 45, why is this? The answer is based on trigonometry and that &lt;i style=""&gt;m&lt;/i&gt; is the tan of the angle. However, you don’t need to know this so if you know nothing about trigonometry it is worth describing &lt;i style=""&gt;m&lt;/i&gt; in another way.&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_Gto1YEah44o/SQcLC1aIs3I/AAAAAAAAAAs/sWLCT20wk-o/s1600-h/F3.gif"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer; width: 238px; height: 320px;" src="http://1.bp.blogspot.com/_Gto1YEah44o/SQcLC1aIs3I/AAAAAAAAAAs/sWLCT20wk-o/s320/F3.gif" alt="" id="BLOGGER_PHOTO_ID_5262186832930059122" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;br /&gt;&lt;span style="font-size:100%;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:100%;"&gt;&lt;span style="color: rgb(153, 153, 153);"&gt;Figure 3&lt;/span&gt;: An 'infinite' line&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:100%;"&gt;This is that &lt;i style=""&gt;m&lt;/i&gt; is represents by the ratio of the difference of any two &lt;i style=""&gt;x&lt;/i&gt; points and the corresponding &lt;i style=""&gt;y&lt;/i&gt; points. For example, since the line goes through the points (0,2) and (2,4). the slope can be calculated as&lt;/span&gt;&lt;/p&gt;&lt;div  style="text-align: center;font-family:times new roman;"&gt;&lt;span style="font-size:100%;"&gt;(4-2)/(2-0)=1&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:100%;"&gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="text-align: center;font-family:times new roman;" align="center"&gt;&lt;span style="font-size:100%;"&gt;&lt;v:shape id="_x0000_i1025" type="#_x0000_t75" style="width: 9pt; height: 15.75pt;" ole=""&gt;  &lt;v:imagedata src="file:///C:%5CUsers%5Cdci2%5CAppData%5CLocal%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_image002.wmz" title=""&gt; &lt;/v:imagedata&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;  &lt;o:oleobject type="Embed" progid="Equation.3" shapeid="_x0000_i1025" drawaspect="Content" objectid="_1286700842"&gt;  &lt;/o:OLEObject&gt; &lt;/xml&gt;&lt;![endif]--&gt;&lt;/v:shape&gt;&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;v:shape id="_x0000_i1026" type="#_x0000_t75" style="width: 51pt; height: 32.25pt;" ole=""&gt;  &lt;v:imagedata src="file:///C:%5CUsers%5Cdci2%5CAppData%5CLocal%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_image003.wmz" title=""&gt; &lt;/v:imagedata&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;  &lt;o:oleobject type="Embed" progid="Equation.3" shapeid="_x0000_i1026" drawaspect="Content" objectid="_1286700843"&gt;  &lt;/o:OLEObject&gt; &lt;/xml&gt;&lt;![endif]--&gt;&lt;/v:shape&gt;&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:100%;"&gt;this gives an equation of&lt;/span&gt;&lt;/p&gt;&lt;div  style="text-align: center;font-family:times new roman;"&gt;&lt;span style="font-style: italic;font-size:100%;" &gt;y&lt;/span&gt;&lt;span style="font-size:100%;"&gt;=1&lt;/span&gt;&lt;span style="font-style: italic;font-size:100%;" &gt;x&lt;/span&gt;&lt;span style="font-size:100%;"&gt;+2&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:100%;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;!--[if gte msEquation 12]&gt;&lt;m:omathpara&gt;&lt;m:omath&gt;&lt;i style="'mso-bidi-font-style:normal'"&gt;&lt;span style="'font-family:;font-size:12.0pt;"&gt;&lt;m:r&gt;y&lt;/m:r&gt;&lt;m:r&gt;=1&lt;/m:r&gt;&lt;m:r&gt;x&lt;/m:r&gt;&lt;m:r&gt;+2&lt;/m:r&gt;&lt;/span&gt;&lt;/i&gt;&lt;/m:oMath&gt;&lt;/m:oMathPara&gt;&lt;![endif]--&gt;&lt;!--[if !msEquation]--&gt;&lt;span style="font-size:100%;"&gt;&lt;v:shape id="_x0000_i1025" type="#_x0000_t75" style="width: 57pt; height: 14.25pt;"&gt;  &lt;v:imagedata src="file:///C:%5CUsers%5Cdci2%5CAppData%5CLocal%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_image004.png" title="" chromakey="white"&gt; &lt;/v:imagedata&gt;&lt;/v:shape&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="font-size:100%;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:100%;"&gt;remember that the intercept is 2; this can be easily simplified to&lt;/span&gt;&lt;/p&gt;&lt;div  style="text-align: center;font-family:times new roman;"&gt;&lt;span style="font-style: italic;font-size:100%;" &gt;y&lt;/span&gt;&lt;span style="font-size:100%;"&gt;=&lt;/span&gt;&lt;span style="font-style: italic;font-size:100%;" &gt;x&lt;/span&gt;&lt;span style="font-size:100%;"&gt;+2&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:100%;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;!--[if gte msEquation 12]&gt;&lt;m:omathpara&gt;&lt;m:omath&gt;&lt;i style="'mso-bidi-font-style:normal'"&gt;&lt;span style="'font-family:;font-size:12.0pt;"&gt;&lt;m:r&gt;y&lt;/m:r&gt;&lt;m:r&gt;=&lt;/m:r&gt;&lt;m:r&gt;x&lt;/m:r&gt;&lt;m:r&gt;+2&lt;/m:r&gt;&lt;/span&gt;&lt;/i&gt;&lt;/m:oMath&gt;&lt;/m:oMathPara&gt;&lt;![endif]--&gt;&lt;!--[if !msEquation]--&gt;&lt;span style="font-size:100%;"&gt;&lt;v:shape id="_x0000_i1025" type="#_x0000_t75" style="width: 50.25pt; height: 14.25pt;"&gt;  &lt;v:imagedata src="file:///C:%5CUsers%5Cdci2%5CAppData%5CLocal%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_image005.png" title="" chromakey="white"&gt; &lt;/v:imagedata&gt;&lt;/v:shape&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="font-size:100%;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:100%;"&gt;This is all you need to know about lines: that they can be expressed by a simple equation and the equation is defined in terms of a slope and a &lt;i style=""&gt;y&lt;/i&gt; intercept. The line relates &lt;i style=""&gt;x&lt;/i&gt; and &lt;i style=""&gt;y&lt;/i&gt;.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:100%;"&gt;Once you have the equation of a line you can determine any point on it given an &lt;i style=""&gt;x&lt;/i&gt; value and a &lt;i style=""&gt;y&lt;/i&gt; value, for example in the line we have been looking at &lt;/span&gt;&lt;!--[if gte msEquation 12]&gt;&lt;m:omath&gt;&lt;i style="'mso-bidi-font-style:normal'"&gt;&lt;span style="'font-family:;font-size:12.0pt;"&gt;&lt;m:r&gt;y&lt;/m:r&gt;&lt;m:r&gt;=&lt;/m:r&gt;&lt;m:r&gt;x&lt;/m:r&gt;&lt;m:r&gt;+2&lt;/m:r&gt;&lt;/span&gt;&lt;/i&gt;&lt;/m:oMath&gt;&lt;![endif]--&gt;&lt;!--[if !msEquation]--&gt;&lt;span style="font-size:100%;"&gt;&lt;v:shape id="_x0000_i1025" type="#_x0000_t75" style="width: 50.25pt; height: 14.25pt;"&gt;  &lt;v:imagedata src="file:///C:%5CUsers%5Cdci2%5CAppData%5CLocal%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_image005.png" title="" chromakey="white"&gt; &lt;/v:imagedata&gt;&lt;/v:shape&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style="font-size:100%;"&gt;&lt;span style=""&gt; &lt;/span&gt;if the value of &lt;span style="font-style: italic;"&gt;x&lt;/span&gt; was 3 then the value of &lt;span style="font-style: italic;"&gt;y &lt;/span&gt;will be 5. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:100%;"&gt;It is worth looking at a simple program to illustrate some of the ideas here; I will then look at a more complicated program. Here I use the &lt;i style=""&gt;Processing&lt;/i&gt; function &lt;/span&gt;&lt;span style="font-size:100%;"&gt;line&lt;/span&gt;&lt;span style="font-size:100%;"&gt;. This takes four arguments: the first two are the &lt;i style=""&gt;x&lt;/i&gt; and &lt;i style=""&gt;y&lt;/i&gt; coordinates of a point and the third and fourth arguments are the &lt;i style=""&gt;x&lt;/i&gt; and &lt;i style=""&gt;y&lt;/i&gt; coordinates of a second point. The function draws a line between them. A simple program that uses the function is shown below:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;      &lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style=";font-family:courier new;font-size:85%;"  &gt;size(300,300);&lt;o:p&gt;&lt;/o:p&gt;&lt;br /&gt;background(255);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;span style=";font-family:courier new;font-size:85%;"  &gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt;line(25,40,280,90);&lt;/span&gt;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:100%;"&gt;There are three statements here. The first sets up a window that is 300 by 300 pixels in size. The second statement sets the colour of the background to be white. The final statement draws a line from the point (25,40) to the point (280,90). The display from the program is shown as Figure 4.&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_Gto1YEah44o/SQcLoy16f5I/AAAAAAAAAA0/EOz-jiCDc4k/s1600-h/Capture+1.JPG"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer; width: 300px; height: 320px;" src="http://3.bp.blogspot.com/_Gto1YEah44o/SQcLoy16f5I/AAAAAAAAAA0/EOz-jiCDc4k/s320/Capture+1.JPG" alt="" id="BLOGGER_PHOTO_ID_5262187485076291474" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;br /&gt;&lt;span style="font-size:100%;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:100%;"&gt;     &lt;span style="color: rgb(102, 102, 102);"&gt;Figure 4&lt;/span&gt;: A line drawn by &lt;span style="font-style: italic;"&gt;Processing&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:100%;"&gt;Have a look at the display and figure what is going on here. The line that has been drawn might be a surprise to you.&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;  &lt;/p&gt;&lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:100%;"&gt;The line looks wrong. It should start at (25,40) which should be at the bottom left-hand side of the window. You may remember that the answer to this conundrum is that Java has a coordinate system which is completely different to those in use in mathematics. The point (0,0) does not start at the bottom left-hand corner but at the top left-hand corner. If you look at Figure 4 you will see that the leftmost part of the line is 25 pixels across but 40 pixels &lt;i style=""&gt;down&lt;/i&gt; and the rightmost part of the line is 280 pixels across and 90 pixels &lt;i style=""&gt;down&lt;/i&gt;. Always bear this in mind when developing graphics programs in &lt;i style=""&gt;Processing&lt;/i&gt;.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:100%;"&gt;Now that we have given you enough information about drawing lines it is about time that we showed you the development of a rather more complicated program. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:100%;"&gt;The program will draw a series of squares in different colours with the colour, the side of the square and the top leftmost coordinates being random.&lt;span style=""&gt;  &lt;/span&gt;The main steps in the program are as follows:&lt;/span&gt;&lt;/p&gt;            &lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family: courier new;"&gt;Set up the window with a size and background colour&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;For a number of times&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family: courier new;font-size:85%;" &gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family: courier new;"&gt;Randomly generate the length of a square&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;Randomly generate a colour&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;Randomly generate the top leftmost x and y coordinates&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;Draw the square&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;span style="font-size:100%;"&gt;This is a simple design for the program. It leaves a number of questions open. The main one is how many squares will be generated? We shall assume that 20 will be generated. Rather than use the function &lt;/span&gt;&lt;span style=";font-family:courier new;font-size:85%;"  &gt;&lt;span style=""&gt;rect&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt; &lt;/span&gt;&lt;/span&gt;that you met before on page xx we shall use line drawing instructions to generate the square. Another important question is what to do when an attempt is made to draw a square outside the drawing window? You will see a programmatic solution to this soon.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:100%;"&gt;We will use a function &lt;/span&gt;&lt;span style=";font-family:courier new;font-size:85%;"  &gt;&lt;span style=""&gt;random&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt; &lt;/span&gt;&lt;/span&gt;that generates a random number within a certain range. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:100%;"&gt;Our program is shown below&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;                &lt;p class="MsoNormal"  style="margin-bottom: 0.0001pt;font-family:times new roman;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style=""&gt;&lt;span style="font-family:courier new;"&gt;//Set up drawing window&lt;/span&gt;&lt;o:p style="font-family: courier new;"&gt;&lt;/o:p&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;size(400,400);&lt;/span&gt;&lt;o:p style="font-family: courier new;"&gt;&lt;/o:p&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;background(255);&lt;/span&gt;&lt;o:p style="font-family: courier new;"&gt;&lt;/o:p&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;strokeWeight(2);&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;span style="font-family:courier new;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="margin-bottom: 0.0001pt;font-family:times new roman;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style=""&gt;&lt;span style="font-family:courier new;"&gt;int noSquares = 20;&lt;/span&gt;&lt;o:p style="font-family: courier new;"&gt;&lt;/o:p&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;int xPosition, yPosition, squareLength;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;                                    &lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style=";font-family:courier new;font-size:85%;"  &gt;&lt;span style=""&gt;//Generate a series of random squares&lt;o:p&gt;&lt;/o:p&gt;&lt;br /&gt;for (int j=0;&lt;/span&gt;&lt;/span&gt;&lt;span style=";font-family:courier new;font-size:85%;"  &gt;j&lt;/span&gt;&lt;span style=";font-family:courier new;font-size:85%;"  &gt;‹&lt;/span&gt;&lt;span style=";font-family:courier new;font-size:85%;"  &gt;noSquares;j++){&lt;/span&gt;&lt;span style=";font-family:courier new;font-size:85%;"  &gt;&lt;span style=""&gt;&lt;nosquares;j++){&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;br /&gt;&lt;span style=""&gt;      &lt;/span&gt;&lt;/nosquares;j++){&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=";font-family:courier new;font-size:85%;"  &gt;&lt;span style=""&gt;&lt;nosquares;j++){&gt;stroke(random(255), random(255), random(255));&lt;o:p&gt;&lt;/o:p&gt;&lt;br /&gt;&lt;span style=""&gt;      &lt;/span&gt;&lt;/nosquares;j++){&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=";font-family:courier new;font-size:85%;"  &gt;&lt;span style=""&gt;&lt;nosquares;j++){&gt;xPosition = round(random(200));&lt;o:p&gt;&lt;/o:p&gt;&lt;br /&gt;&lt;span style=""&gt;      &lt;/span&gt;&lt;/nosquares;j++){&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=";font-family:courier new;font-size:85%;"  &gt;&lt;span style=""&gt;&lt;nosquares;j++){&gt;yPosition = round(random(200));&lt;o:p&gt;&lt;/o:p&gt;&lt;br /&gt;&lt;span style=""&gt;      &lt;/span&gt;&lt;/nosquares;j++){&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=";font-family:courier new;font-size:85%;"  &gt;&lt;span style=""&gt;&lt;nosquares;j++){&gt;squareLength = round(random(200));&lt;o:p&gt;&lt;/o:p&gt;&lt;br /&gt;&lt;span style=""&gt;      &lt;/span&gt;&lt;/nosquares;j++){&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=";font-family:courier new;font-size:85%;"  &gt;&lt;span style=""&gt;&lt;nosquares;j++){&gt;line&lt;o:p&gt;&lt;/o:p&gt;&lt;/nosquares;j++){&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=";font-family:courier new;font-size:85%;"  &gt;&lt;span style=""&gt;&lt;nosquares;j++){&gt;(xPosition,yPosition,xPosition+squareLength, yPosition);&lt;o:p&gt;&lt;/o:p&gt;&lt;br /&gt;&lt;span style=""&gt;      &lt;/span&gt;&lt;/nosquares;j++){&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=";font-family:courier new;font-size:85%;"  &gt;&lt;span style=""&gt;&lt;nosquares;j++){&gt;line&lt;o:p&gt;&lt;/o:p&gt;(&lt;/nosquares;j++){&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=";font-family:courier new;font-size:85%;"  &gt;&lt;span style=""&gt;&lt;nosquares;j++){&gt;xPosition+squareLength,yPosition,xPosition+squareLength,&lt;/nosquares;j++){&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=";font-family:courier new;font-size:85%;"  &gt;&lt;span style=""&gt;yPosition+squareLength);&lt;/span&gt;&lt;/span&gt;&lt;span style=";font-family:courier new;font-size:85%;"  &gt;&lt;span style=""&gt;&lt;nosquares;j++){&gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;br /&gt;&lt;span style=""&gt;      &lt;/span&gt;&lt;/nosquares;j++){&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=";font-family:courier new;font-size:85%;"  &gt;&lt;span style=""&gt;&lt;nosquares;j++){&gt;line&lt;o:p&gt;&lt;/o:p&gt;&lt;/nosquares;j++){&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=";font-family:courier new;font-size:85%;"  &gt;&lt;span style=""&gt;&lt;nosquares;j++){&gt;(xPosition+squareLength,yPosition+squareLength,xPosition,yPosition+squareLength);&lt;o:p&gt;&lt;/o:p&gt;&lt;br /&gt;&lt;span style=""&gt;      &lt;/span&gt;&lt;/nosquares;j++){&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=";font-family:courier new;font-size:85%;"  &gt;&lt;span style=""&gt;&lt;nosquares;j++){&gt;line&lt;o:p&gt;&lt;/o:p&gt;&lt;/nosquares;j++){&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=";font-family:courier new;font-size:85%;"  &gt;&lt;span style=""&gt;&lt;nosquares;j++){&gt;(xPosition, yPosition+squareLength,xPosition,yPosition);&lt;o:p&gt;&lt;/o:p&gt;&lt;br /&gt;}&lt;/nosquares;j++){&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:100%;"&gt;&lt;o:p&gt;&lt;/o:p&gt;The first chunk of code sets up the window as being 400 pixels by 400 pixels in length and height, sets the background colour to be white (255) and specifies that the width of any line drawn will be two pixels.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;      &lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:100%;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt;size(400,400);&lt;/span&gt;&lt;o:p style="font-family: courier new;"&gt;&lt;/o:p&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;background(255);&lt;/span&gt;&lt;o:p style="font-family: courier new;"&gt;&lt;/o:p&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;strokeWeight(2);&lt;/span&gt;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:100%;"&gt;The next part of the code just sets up some variables that are used to establish each square’s dimensions and position and define the number of squares that are to be drawn.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;    &lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:100%;"&gt;&lt;span style=""&gt;i&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt;nt noSquares = 20;&lt;/span&gt;&lt;o:p style="font-family: courier new;"&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt;int xPosition, yPosition, squareLength;&lt;/span&gt;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:100%;"&gt;The heart of the program is the loop that iterates twenty times generating random numbers and drawing the squares.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;                                  &lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:100%;"&gt;&lt;span style=""&gt;/&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt;/Generate a series of random squares&lt;/span&gt;&lt;o:p style="font-family: courier new;"&gt;&lt;/o:p&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;for (int j=0;j&lt;/span&gt;&lt;nosquares;j++){ style="font-family: courier new;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;br /&gt;&lt;span style=""&gt;      &lt;/span&gt;stroke(random(255), random(255), random(255));&lt;o:p&gt;&lt;/o:p&gt;&lt;br /&gt;&lt;span style=""&gt;      &lt;/span&gt;xPosition = round(random(200));&lt;o:p&gt;&lt;/o:p&gt;&lt;br /&gt;&lt;span style=""&gt;      &lt;/span&gt;yPosition = round(random(200));&lt;o:p&gt;&lt;/o:p&gt;&lt;br /&gt;&lt;span style=""&gt;      &lt;/span&gt;squareLength = round(random(200));&lt;o:p&gt;&lt;/o:p&gt;&lt;br /&gt;&lt;span style=""&gt;      &lt;/span&gt;line&lt;o:p&gt;&lt;/o:p&gt;(xPosition,yPosition,xPosition+squareLength, yPosition);&lt;o:p&gt;&lt;/o:p&gt;&lt;br /&gt;&lt;span style=""&gt;      &lt;/span&gt;line&lt;o:p&gt;&lt;/o:p&gt;(xPosition+squareLength, yPosition,xPosition+squareLength, &lt;o:p&gt;&lt;/o:p&gt;&lt;br /&gt;&lt;span style=""&gt;            &lt;/span&gt;yPosition+squareLength);&lt;o:p&gt;&lt;/o:p&gt;&lt;br /&gt;&lt;span style=""&gt;      &lt;/span&gt;line&lt;o:p&gt;&lt;/o:p&gt;(xPosition+squareLength, yPosition+squareLength,xPosition, &lt;o:p&gt;&lt;/o:p&gt;&lt;br /&gt;&lt;span style=""&gt;            &lt;/span&gt;yPosition+squareLength);&lt;o:p&gt;&lt;/o:p&gt;&lt;br /&gt;line&lt;o:p&gt;&lt;/o:p&gt;(xPosition, yPosition+squareLength,xPosition,yPosition);&lt;o:p&gt;&lt;/o:p&gt;&lt;/nosquares;j++){&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt;}&lt;/span&gt;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:100%;"&gt;The function &lt;/span&gt;&lt;span style=";font-family:courier new;font-size:85%;"  &gt;&lt;span style=""&gt;stroke&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt; &lt;/span&gt;&lt;/span&gt;sets up the colour of the lines that are to be drawn; it takes the red, green and blue components of the colour. Since these are generated randomly a value between (0,0,0) (black) to (255,255,255) (white) can be generated. You will remember that the argument within the &lt;/span&gt;&lt;span style=";font-family:courier new;font-size:85%;"  &gt;random&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt; &lt;/span&gt;&lt;/span&gt;function gives the range of the random number to be generated; &lt;span style=""&gt; &lt;/span&gt;in our case this is 255; this means that a random number between 0 and 255 is capable of being generated. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:100%;"&gt;The next two lines determine the position of the top left-hand coordinates of the square. It is worth looking at these two statements in a little more detail. They are&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;    &lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:100%;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt;xPosition = round(random(200));&lt;/span&gt;&lt;o:p style="font-family: courier new;"&gt;&lt;/o:p&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;yPosition = round(random(200));&lt;/span&gt;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:100%;"&gt;Here the function &lt;/span&gt;&lt;span style=";font-family:courier new;font-size:85%;"  &gt;round&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt; &lt;/span&gt;&lt;/span&gt;is used to convert (round up) the result of the &lt;/span&gt;&lt;span style="font-size:100%;"&gt;random&lt;/span&gt;&lt;span style="font-size:100%;"&gt; function (a &lt;/span&gt;&lt;span style="font-size:100%;"&gt;float&lt;/span&gt;&lt;span style="font-size:100%;"&gt;) to an &lt;/span&gt;&lt;span style=";font-family:courier new;font-size:85%;"  &gt;int&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt;. &lt;/span&gt;&lt;/span&gt;If the &lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt;round &lt;/span&gt;&lt;/span&gt;function was not included then &lt;i style=""&gt;Processing&lt;/i&gt; would have indicated a syntax error. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:100%;"&gt;An interesting question that it might be worth your while stopping and thinking about is why I did not use the &lt;/span&gt;&lt;span style="font-size:100%;"&gt;round&lt;/span&gt;&lt;span style="font-size:100%;"&gt; function within the code&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:100%;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt;stroke(random(255), random(255), random(255));&lt;/span&gt;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:100%;"&gt;that sets up the colour of the lines used to draw the square? The answer is that inside the &lt;/span&gt;&lt;span style="font-size:100%;"&gt;stroke&lt;/span&gt;&lt;span style="font-size:100%;"&gt; function you will almost certainly find the function &lt;/span&gt;&lt;span style=";font-family:courier new;font-size:85%;"  &gt;round&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt; &lt;/span&gt;&lt;/span&gt;being employed.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="font-family:times new roman;"&gt;&lt;span style="font-size:100%;"&gt;The remainder of the code just displays the square using the randomly generated values for the length, &lt;i style=""&gt;x&lt;/i&gt; coordinate and &lt;i style=""&gt;y&lt;/i&gt; coordinate of each square. Notice that we have generated a length of no more than 200 and an &lt;i style=""&gt;x &lt;/i&gt;and &lt;i style=""&gt;y&lt;/i&gt; coordinate of no more than 200. This ensures that when a square is drawn it is not drawn outside the window since the window as a length of 400 pixels and height of 400 pixels. The display from the program is shown in Figure 5.&lt;span style=""&gt;  &lt;/span&gt;It has a nice sixties feel to it.&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal" face="times new roman"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_Gto1YEah44o/SQcNH-QkPZI/AAAAAAAAAA8/Gd8nfMK28qQ/s1600-h/Capture.JPG"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer; width: 305px; height: 320px;" src="http://1.bp.blogspot.com/_Gto1YEah44o/SQcNH-QkPZI/AAAAAAAAAA8/Gd8nfMK28qQ/s320/Capture.JPG" alt="" id="BLOGGER_PHOTO_ID_5262189120228441490" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;&lt;br /&gt;&lt;p class="MsoNormal" face="times new roman"&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;p class="MsoNormal" style="font-family: times new roman;"&gt;  &lt;span style="color: rgb(102, 102, 102);"&gt;Figure &lt;/span&gt;5: The 20 squares drawn using &lt;span style="font-style: italic;"&gt;Processing&lt;/span&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;p class="MsoNormal" face="times new roman"&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;p class="MsoNormal" face="times new roman"&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;p class="MsoNormal" face="times new roman"&gt;&lt;span style="font-size:100%;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" face="times new roman"&gt;&lt;span style="font-size:100%;"&gt;It might now be worth modifying the program in some way. There are a number of simple modifications that you might like to try, for example varying the number of squares that are drawn or the thickness of the drawing lines. Another modification is to make it loop endlessly in animation mode. You remember this mode from page xx. Here the functions &lt;/span&gt;&lt;span style=";font-family:courier new;font-size:85%;"  &gt;setup&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt; &lt;/span&gt;&lt;/span&gt;and &lt;/span&gt;&lt;span style=";font-family:courier new;font-size:85%;"  &gt;draw&lt;/span&gt;&lt;span style="font-size:100%;"&gt; are employed to produce a continually moving picture. The program is shown below&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;        &lt;p class="MsoNormal" style="font-family: courier new;"&gt;  &lt;/p&gt;      &lt;p class="MsoNormal"  style="margin-bottom: 0.0001pt;font-family:times new roman;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt;void setup(){&lt;/span&gt;&lt;o:p style="font-family: courier new;"&gt;&lt;/o:p&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;//Set up drawing window&lt;/span&gt;&lt;o:p style="font-family: courier new;"&gt;&lt;/o:p&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;size(400,400);&lt;/span&gt;&lt;o:p style="font-family: courier new;"&gt;&lt;/o:p&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;background(255);&lt;/span&gt;&lt;o:p style="font-family: courier new;"&gt;&lt;/o:p&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;strokeWeight(2);&lt;/span&gt;&lt;o:p style="font-family: courier new;"&gt;&lt;/o:p&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;}&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="margin-bottom: 0.0001pt;font-family:times new roman;"&gt;&lt;span style="font-size:85%;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;    &lt;p class="MsoNormal"  style="margin-bottom: 0.0001pt;font-family:times new roman;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt;int noSquares = 20;&lt;/span&gt;&lt;o:p style="font-family: courier new;"&gt;&lt;/o:p&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;int xPosition, yPosition, squareLength;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;                                  &lt;p class="MsoNormal" face="times new roman"&gt;&lt;span style="font-size:100%;"&gt;/&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt;/Generate a series of random squares&lt;/span&gt;&lt;o:p style="font-family: courier new;"&gt;&lt;/o:p&gt; &lt;span style="font-family:courier new;"&gt;public void draw(){&lt;/span&gt;&lt;o:p style="font-family: courier new;"&gt;&lt;/o:p&gt; &lt;span style="font-family:courier new;"&gt;&lt;br /&gt;stroke(random(255), random(255), random(255));&lt;/span&gt;&lt;o:p style="font-family: courier new;"&gt;&lt;/o:p&gt; &lt;span style="font-family:courier new;"&gt;&lt;br /&gt;xPosition = round(random(200));&lt;/span&gt;&lt;o:p style="font-family: courier new;"&gt;&lt;/o:p&gt; &lt;span style="font-family:courier new;"&gt;&lt;br /&gt;yPosition = round(random(200));&lt;/span&gt;&lt;o:p style="font-family: courier new;"&gt;&lt;/o:p&gt; &lt;span style="font-family:courier new;"&gt;&lt;br /&gt;squareLength = round(random(200));&lt;/span&gt;&lt;o:p style="font-family: courier new;"&gt;&lt;/o:p&gt; &lt;span style="font-family:courier new;"&gt;&lt;br /&gt;line&lt;/span&gt;&lt;o:p style="font-family: courier new;"&gt;&lt;/o:p&gt; &lt;span style="font-family:courier new;"&gt;      (xPosition,yPosition,xPosition+squareLength, yPosition);&lt;/span&gt;&lt;o:p style="font-family: courier new;"&gt;&lt;/o:p&gt; &lt;span style="font-family:courier new;"&gt;&lt;br /&gt;line&lt;/span&gt;&lt;o:p style="font-family: courier new;"&gt;&lt;/o:p&gt; &lt;span style="font-family:courier new;"&gt;      (xPosition+squareLength, yPosition,xPosition+squareLength, &lt;/span&gt;&lt;o:p style="font-family: courier new;"&gt;&lt;/o:p&gt; &lt;span style="font-family:courier new;"&gt;       yPosition+squareLength);&lt;/span&gt;&lt;o:p style="font-family: courier new;"&gt;&lt;/o:p&gt; &lt;span style="font-family:courier new;"&gt;&lt;br /&gt;line&lt;/span&gt;&lt;o:p style="font-family: courier new;"&gt;&lt;/o:p&gt; &lt;span style="font-family:courier new;"&gt;      (xPosition+squareLength, yPosition+squareLength,xPosition, &lt;/span&gt;&lt;o:p style="font-family: courier new;"&gt;&lt;/o:p&gt; &lt;span style="font-family:courier new;"&gt;       yPosition+squareLength);&lt;/span&gt;&lt;o:p style="font-family: courier new;"&gt;&lt;/o:p&gt; &lt;span style="font-family:courier new;"&gt;&lt;br /&gt;line&lt;/span&gt;&lt;o:p style="font-family: courier new;"&gt;&lt;/o:p&gt; &lt;span style="font-family:courier new;"&gt;      (xPosition, yPosition+squareLength,xPosition,yPosition);&lt;/span&gt;&lt;o:p style="font-family: courier new;"&gt;&lt;/o:p&gt; &lt;/span&gt;&lt;span style=";font-family:courier new;font-size:85%;"  &gt;}&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" face="times new roman"&gt;&lt;span style="font-size:100%;"&gt;Here the code that sets up the window is placed in the function &lt;/span&gt;&lt;span style=";font-family:courier new;font-size:85%;"  &gt;setup&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt; &lt;/span&gt;&lt;/span&gt;and the code that draws the squares is placed in the function &lt;/span&gt;&lt;span style=";font-family:courier new;font-size:85%;"  &gt;draw&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;span style=";font-family:courier new;font-size:85%;"  &gt;.&lt;/span&gt;&lt;span style=";font-family:courier new;font-size:85%;"  &gt;  &lt;/span&gt;There are two differences between this program and the first one. The first difference is, of course, the definition of the two functions &lt;/span&gt;&lt;span style=";font-family:courier new;font-size:85%;"  &gt;setup&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt; &lt;/span&gt;&lt;/span&gt;and &lt;/span&gt;&lt;span style=";font-family:courier new;font-size:85%;"  &gt;draw&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt;. &lt;/span&gt;&lt;/span&gt;The second difference is that the &lt;/span&gt;&lt;span style=";font-family:courier new;font-size:85%;"  &gt;for&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;span style="font-size:85%;"&gt; &lt;/span&gt;loop in the first program has not been replicated in the second program. The reason for this is that the function &lt;/span&gt;&lt;span style=";font-family:courier new;font-size:85%;"  &gt;draw&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt; &lt;/span&gt;&lt;/span&gt;continually loops around endlessly. A snapshot of the drawing window during the running of this program is shown in Figure 6.&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal" face="times new roman"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_Gto1YEah44o/SQcOelSxrXI/AAAAAAAAABE/7T2i53CiEzA/s1600-h/Capture+4.JPG"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer; width: 305px; height: 320px;" src="http://1.bp.blogspot.com/_Gto1YEah44o/SQcOelSxrXI/AAAAAAAAABE/7T2i53CiEzA/s320/Capture+4.JPG" alt="" id="BLOGGER_PHOTO_ID_5262190608175443314" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;&lt;p class="MsoNormal" face="times new roman"&gt;&lt;br /&gt;&lt;span style="font-size:100%;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;    &lt;p class="MsoNormal" face="times new roman"&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal" face="times new roman"&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal" face="times new roman"&gt;&lt;span style="font-size:100%;"&gt;&lt;span style="color: rgb(102, 102, 102);"&gt;Figure 6&lt;/span&gt;: The drawing program in animation mode&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal" face="times new roman"&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal" face="times new roman"&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="font-family: times new roman;"&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="font-family: times new roman;"&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="font-family: times new roman;"&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="font-family: times new roman;"&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;To conclude we shall describe one further program. This program uses the line drawing facilities within &lt;i style=""&gt;Processing&lt;/i&gt; to produce an animation that involves the continual drawing of a series of random lines. Each line will have two sets of random end-points, a random colour and a random thickness or stroke. The program is shown below&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;          &lt;p class="MsoNormal"  style="margin-bottom: 0.0001pt;font-family:times new roman;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt;void setup(){&lt;/span&gt;&lt;o:p style="font-family: courier new;"&gt;&lt;/o:p&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;//set up a white window background and size 400x400&lt;/span&gt;&lt;o:p style="font-family: courier new;"&gt;&lt;/o:p&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;size(400,400);&lt;/span&gt;&lt;o:p style="font-family: courier new;"&gt;&lt;/o:p&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;background(255);&lt;/span&gt;&lt;o:p style="font-family: courier new;"&gt;&lt;/o:p&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;}&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="margin-bottom: 0.0001pt;font-family:times new roman;"&gt;&lt;span style="font-size:85%;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="margin-bottom: 0.0001pt;font-family:times new roman;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt;int startX, finishX, startY, finishY, lineColour;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="margin-bottom: 0.0001pt;font-family:times new roman;"&gt;&lt;span style="font-size:85%;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;                    &lt;p class="MsoNormal" style="font-family: times new roman;"&gt;&lt;span style="font-size:100%;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt;void draw(){&lt;/span&gt;&lt;o:p style="font-family: courier new;"&gt;&lt;/o:p&gt; &lt;span style="font-family:courier new;"&gt;&lt;br /&gt;//Draw a set of random lines&lt;/span&gt;&lt;o:p style="font-family: courier new;"&gt;&lt;/o:p&gt; &lt;span style="font-family:courier new;"&gt;&lt;br /&gt;startX = round(random(400));&lt;/span&gt;&lt;o:p style="font-family: courier new;"&gt;&lt;/o:p&gt; &lt;span style="font-family:courier new;"&gt;&lt;br /&gt;startY = round(random(400));&lt;/span&gt;&lt;o:p style="font-family: courier new;"&gt;&lt;/o:p&gt;&lt;span style="font-family:courier new;"&gt;&lt;br /&gt;finishX = round(random(400));&lt;/span&gt;&lt;o:p style="font-family: courier new;"&gt;&lt;/o:p&gt; &lt;span style="font-family:courier new;"&gt;&lt;br /&gt;finishY = round(random(400));&lt;/span&gt;&lt;o:p style="font-family: courier new;"&gt;&lt;/o:p&gt; &lt;span style="font-family:courier new;"&gt;&lt;br /&gt;strokeWeight(random(10));&lt;/span&gt;&lt;o:p style="font-family: courier new;"&gt;&lt;/o:p&gt; &lt;span style="font-family:courier new;"&gt;&lt;br /&gt;stroke(random(255),random(255),random(255));&lt;/span&gt;&lt;o:p style="font-family: courier new;"&gt;&lt;/o:p&gt; &lt;span style="font-family:courier new;"&gt;&lt;br /&gt;line(startX, startY,finishX, finishY);&lt;/span&gt;&lt;o:p style="font-family: courier new;"&gt;&lt;/o:p&gt; &lt;/span&gt;&lt;span style=";font-family:courier new;font-size:85%;"  &gt;&lt;br /&gt;}&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="font-family: times new roman;"&gt;&lt;span style="font-size:100%;"&gt;Here the functions &lt;/span&gt;&lt;span style=";font-family:courier new;font-size:85%;"  &gt;setup&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt; &lt;/span&gt;&lt;/span&gt;and &lt;/span&gt;&lt;span style=";font-family:courier new;font-size:85%;"  &gt;draw&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;span style=";font-family:courier new;font-size:85%;"  &gt; &lt;/span&gt;are used again. The heart of the program is again in &lt;/span&gt;&lt;span style=";font-family:courier new;font-size:85%;"  &gt;draw&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;span style=";font-family:courier new;font-size:85%;"  &gt;. &lt;/span&gt;Here the endpoints of the lines are randomly generated (the maximum values are 400; this matches the size of the window) and then the width (stroke) of the line is set followed by a random value of colour for the line. Finally the line is drawn using the &lt;/span&gt;&lt;span style="font-size:100%;"&gt;line&lt;/span&gt;&lt;span style="font-size:100%;"&gt; function. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="font-family: times new roman;"&gt;&lt;span style="font-size:100%;"&gt;Figure 7 shows the output from this program during its running. It shows a wide range of colours and a series of line widths.&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="font-family: times new roman;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_Gto1YEah44o/SQcPX6XBlAI/AAAAAAAAABM/pTT1g5_N4-Y/s1600-h/LineDrawer.JPG"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer; width: 302px; height: 320px;" src="http://2.bp.blogspot.com/_Gto1YEah44o/SQcPX6XBlAI/AAAAAAAAABM/pTT1g5_N4-Y/s320/LineDrawer.JPG" alt="" id="BLOGGER_PHOTO_ID_5262191593082950658" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="font-family: times new roman;"&gt;&lt;br /&gt;&lt;span style="font-size:100%;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="font-family: times new roman;"&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="font-family: times new roman;"&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color: rgb(102, 102, 102);"&gt;Figure 7&lt;/span&gt;: The line drawing program&lt;/span&gt;&lt;br /&gt;&lt;span style=""&gt;&lt;span style="font-size:100%;"&gt;&lt;span style="font-family:times new roman;"&gt;&lt;/span&gt;&lt;/span&gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/939797291883972929-3059625222099528443?l=bookfragments.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bookfragments.blogspot.com/feeds/3059625222099528443/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=939797291883972929&amp;postID=3059625222099528443' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/939797291883972929/posts/default/3059625222099528443'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/939797291883972929/posts/default/3059625222099528443'/><link rel='alternate' type='text/html' href='http://bookfragments.blogspot.com/2008/10/book-fragment-24.html' title='Book Fragment 24'/><author><name>d.c.ince</name><uri>http://www.blogger.com/profile/17138852430931498108</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_Gto1YEah44o/SQcIsWsWpJI/AAAAAAAAAAM/hI9jQLdEV8Q/s72-c/F1.gif' height='72' width='72'/><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-939797291883972929.post-3933053638346533622</id><published>2008-10-28T09:55:00.002Z</published><updated>2008-10-28T09:57:34.671Z</updated><title type='text'>Book Assignments</title><content type='html'>The first book assignments are up. You can find them in the September section of this blog. Could I stress that you don't need to make a bid for a chunk until, say Christmas, after you have read the book and decided what you are best suited for and would enjoy.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/939797291883972929-3933053638346533622?l=bookfragments.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bookfragments.blogspot.com/feeds/3933053638346533622/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=939797291883972929&amp;postID=3933053638346533622' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/939797291883972929/posts/default/3933053638346533622'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/939797291883972929/posts/default/3933053638346533622'/><link rel='alternate' type='text/html' href='http://bookfragments.blogspot.com/2008/10/book-assignments.html' title='Book Assignments'/><author><name>d.c.ince</name><uri>http://www.blogger.com/profile/17138852430931498108</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-939797291883972929.post-8033094526549042915</id><published>2008-10-15T09:52:00.000+01:00</published><updated>2008-10-15T10:42:25.484+01:00</updated><title type='text'>Welcome</title><content type='html'>Welcome to a very unusual project. The links on the right-hand side are your main navigation aid to the book whose chunk you will be writing. In the September collection you will find all the details that you need. Good luck!!&lt;br /&gt;&lt;br /&gt;Darrel Ince&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/939797291883972929-8033094526549042915?l=bookfragments.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bookfragments.blogspot.com/feeds/8033094526549042915/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=939797291883972929&amp;postID=8033094526549042915' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/939797291883972929/posts/default/8033094526549042915'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/939797291883972929/posts/default/8033094526549042915'/><link rel='alternate' type='text/html' href='http://bookfragments.blogspot.com/2008/10/welcome.html' title='Welcome'/><author><name>d.c.ince</name><uri>http://www.blogger.com/profile/17138852430931498108</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-939797291883972929.post-4425966139700778729</id><published>2008-10-15T09:42:00.004+01:00</published><updated>2008-12-15T20:06:44.430Z</updated><title type='text'>FAQs</title><content type='html'>&lt;span style="font-style: italic;"&gt;What programming standards and commenting standards should I use?&lt;/span&gt; The same as in the Greenberg book.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;Do we have to use a style sheet?&lt;/span&gt; No, just send in the text using your own style. We will use a style sheet of our own.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;Can I email you at any time?&lt;/span&gt; Yes, if you have problems or any queries at any time then let me know. I will try and answer within two days. There will be times when I will be away from my computer; I shall, however, advertise them on my main blog. Only email me on&lt;span style="text-decoration: underline;"&gt; &lt;/span&gt;&lt;a href="https://mcs.open.ac.uk/mail/src/compose.php?send_to=MCT-Mass-Writing%40open.ac.uk"&gt;MCT-Mass-Writing@open.ac.uk&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;I live on mainline Europe I can't get to Waterstones; what do I do?&lt;/span&gt; You let us know and we will ship the book to you by surface mail.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;I have found the Greenberg book at a cheaper price than Waterstones at another outlet. Can I buy it there?&lt;/span&gt; The best thing to do is to buy it and then use your Waterstones voucher for yourself, for example by buying some Christmas presents.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;What is the target audience?&lt;/span&gt; The target audience is readers who want to get involved in computer art but who have no programming expertise and little mathematics. Processing has two modes: procedural and OO.  I would hope that we could get this sort of reader up to complicated procedural programs.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;You mention that one program should be used to illustrate my 2500 odd words, is this a hard and fast rule?&lt;/span&gt; No, if you feel some shorter programs would do then please use them. The choice is up to you.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;If I use diagrams what graphics format do I use?&lt;/span&gt; Any format that can be embedded within your word processor text. Don't forget to send the graphics separately in the zip file that you send us when you have completed your part of the book.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;You say that you want a 100 line program to illustrate each chunk. What if I'm writing a chunk right at the beginning of the book and there's little scope for a large program?&lt;/span&gt; The best thing is to develop a collection of small programs and describe each one. Try and make them as visual as possible.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;Can I write more than one chunk?&lt;/span&gt; We are hoping to get 85 volunteers. This is very ambitious so contact us in November/December if you have enjoyed writing your 2500 words and want to do more.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;Do I get paid?&lt;/span&gt; Unfortunately not; you do get the book that you will work from and a presentation copy of the book that you helped write. Look on the project as a way of donating some time to the OU, rather than money.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;Can I use text and diagrams from the Processing book that you give us?&lt;/span&gt; Definitely not this would give rise to all sorts of copyright problems. Don't even devise computer programs that look like the ones that are described in the book.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;How do I insert diagrams into my blog?&lt;/span&gt; Diagrams are important and most of you will need to employ them. Use any graphics program you like as long as the end-product can be embedded within the text from the word processor that you use.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;Does my English writing have to be perfect?&lt;/span&gt; No, as long as it is readable and understandable then it will do. All the contributions will be edited. However, don't use this fact to write sloppily and assume that someone will rescue you.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;How long should I take over this task?&lt;/span&gt; Its up to you: some of you will have good writing experience and have used Java for a long time, so the task may take a few weeks. Some of you, however, may struggle a bit with writing and need longer and might even deliver just short of the deadline.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;You ask us to load each version of the text into our blog, do you mean the first 500 words, then the first 1000 words etc?&lt;/span&gt; This is one option; another option would be to write an outline of your part of the book and each version would refine it. If you feel you can do this then it might be the better option as it will give others a good idea of what your text is all about.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;How do you want us to post each version of the text?&lt;/span&gt; You can either do it by just having one post and continually editing it showing each version or by creating a post for each version. It is up to you. The first way will result in less text.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;Can I look at other blogs? &lt;/span&gt;Yes you should. There are a number of reasons for this. First, it might give you ideas about what you write. Second, it would enable you to check that there is no major overlap with your material and others material. Third, it would enable you to comment on other blogs and help other writers.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/939797291883972929-4425966139700778729?l=bookfragments.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bookfragments.blogspot.com/feeds/4425966139700778729/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=939797291883972929&amp;postID=4425966139700778729' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/939797291883972929/posts/default/4425966139700778729'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/939797291883972929/posts/default/4425966139700778729'/><link rel='alternate' type='text/html' href='http://bookfragments.blogspot.com/2008/10/faqs.html' title='FAQs'/><author><name>d.c.ince</name><uri>http://www.blogger.com/profile/17138852430931498108</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-939797291883972929.post-1342866867760257653</id><published>2008-09-08T17:39:00.073+01:00</published><updated>2009-06-19T09:56:48.187+01:00</updated><title type='text'>Chunk assignments</title><content type='html'>This part of the blog shows each chunk and the URL of the blog associated with it. if you look at each blog you should see versions of that chunk. if you see the text 'No blog assigned' then it is free for you to take possession and start writing. Please email us if you want to write a chunk.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;Updated 26th April&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;hr /&gt;&lt;span style="font-weight: bold;"&gt;Chunk 1&lt;/span&gt;&lt;br /&gt;&lt;a href="http://learning-processing.blogspot.com/"&gt;Mike Taperell&lt;/a&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Chunk 2&lt;br /&gt;&lt;/span&gt;&lt;a href="http://artisticjava.blogspot.com/"&gt;Roberto Vormittag&lt;/a&gt;&lt;span style="font-weight: bold;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-weight: bold;"&gt;Chunk 3&lt;/span&gt;&lt;br /&gt;&lt;a href="http://javastewart.blogspot.com/"&gt;Stewart Edwards&lt;/a&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Chunk 4&lt;/span&gt;&lt;br /&gt;Samir Rabab&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Chunk 5&lt;/span&gt;&lt;br /&gt;&lt;a href="http://printmiles.blogspot.com/"&gt;Alex Harris&lt;/a&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Chunk 6&lt;/span&gt;&lt;br /&gt;&lt;a href="http://sheepmasswritting1.blogspot.com/"&gt;Sheep Dalton&lt;/a&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Chunk 7&lt;/span&gt;&lt;br /&gt;&lt;a href="http://processingbits.blogspot.com/"&gt;Mike Richards&lt;/a&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Chunk 8&lt;/span&gt;&lt;br /&gt;&lt;a href="http://www.blogger.com/twisterbac.blogspot.com"&gt;Bryan Clifton&lt;/a&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Chunk 9&lt;/span&gt;&lt;br /&gt;&lt;a href="http://edmasswriting.blogspot.com/"&gt;Edward Toovey&lt;/a&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Chunk 10&lt;/span&gt;&lt;br /&gt;Graham Hall&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Chunk 11&lt;/span&gt;&lt;br /&gt;&lt;a href="http://jeanlucsmasswritingblog.blogspot.com/"&gt;JeanLuc Brausch&lt;/a&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Chunk 12&lt;/span&gt;&lt;br /&gt;&lt;a href="http://jgmw.blogspot.com/"&gt;James Gray&lt;/a&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Chunk 13&lt;/span&gt;&lt;br /&gt;Anthony Lees&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Chunk 14&lt;/span&gt;&lt;br /&gt;&lt;a href="http://gir6.blogspot.com/"&gt;Geoff Riley&lt;/a&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Chunk 15&lt;/span&gt;&lt;br /&gt;&lt;a href="http://masswriting.witchguard.com/"&gt;Bruce Lawley&lt;/a&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Chunk 16&lt;/span&gt;&lt;br /&gt;&lt;a href="http://rwoublog.blogspot.com/"&gt;Rosie Wood&lt;/a&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Chunk 17&lt;/span&gt;&lt;br /&gt;&lt;a href="http://www.blogger.com/printmiles.blogspot.com"&gt;Alex Harris&lt;/a&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Chunk 18&lt;/span&gt;&lt;br /&gt;&lt;a href="http://fokionmasswriting.blogspot.com/"&gt;Fokion Zervoudakis&lt;/a&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Chunk 19&lt;/span&gt;&lt;br /&gt;&lt;a href="http://www.blogger.com/neilpetrie.blogspot.com"&gt;Neil Petrie&lt;/a&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Chunk 20&lt;/span&gt;&lt;br /&gt;&lt;a href="http://masswritingchunk20.blogspot.com/"&gt;Antony Lees&lt;/a&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Chunk 21&lt;/span&gt;&lt;br /&gt;&lt;a href="http://masswriting-pixels.blogspot.com/"&gt;David Phillips&lt;/a&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Chunk 22&lt;/span&gt;&lt;br /&gt;&lt;a href="http://neilkeskar.blogspot.com/"&gt;Neil Keskar&lt;/a&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Chunk 23&lt;/span&gt;&lt;br /&gt;&lt;a href="http://danbergmann.blogspot.com/"&gt;Daniel Bergmann&lt;/a&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Chunk 24&lt;/span&gt;&lt;br /&gt;&lt;a href="http://incemasswriting.blogspot.com/"&gt;Darrel Ince&lt;/a&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Chunk 25&lt;/span&gt;&lt;br /&gt;&lt;a href="http://abilitystuff.blogspot.com/"&gt;Pat Jacobs&lt;/a&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Chunk 26&lt;/span&gt;&lt;br /&gt;&lt;a href="http://grant-grants.blogspot.com/"&gt;Grant Mankee&lt;/a&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Chunk 27&lt;/span&gt;&lt;br /&gt;&lt;a href="http://charliebeddoesu7850850.blogspot.com/"&gt;Charlie Beddoes&lt;/a&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Chunk 28&lt;/span&gt;&lt;br /&gt;&lt;a href="http://jblogger-javabook.blogspot.com/"&gt;Simon Perrins&lt;/a&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Chunk 29&lt;/span&gt;&lt;br /&gt;&lt;a href="http://rtmasswriting.blogspot.com/"&gt;Rosseleyne Thompson&lt;/a&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Chunk 30&lt;/span&gt;&lt;br /&gt;&lt;a href="http://rtmasswriting.blogspot.com/"&gt;Rosseleyne Thompson&lt;/a&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Chunk 31&lt;/span&gt;&lt;br /&gt;&lt;a href="http://www.blogger.com/www.pauldfisher.blogspot.com"&gt;Paul Fisher&lt;/a&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Chunk 32&lt;/span&gt;&lt;br /&gt;&lt;a href="http://asfprocessing.blogspot.com/"&gt;Anthony Fiore&lt;/a&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Chunk 33&lt;/span&gt;&lt;br /&gt;&lt;a href="http://lazydog-bookfragments.blogspot.com/"&gt;Ben Notorianni&lt;/a&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Chunk 34&lt;/span&gt;&lt;br /&gt;&lt;a href="http://brynsadler.blogspot.com/"&gt;Bryn Sadler&lt;/a&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Chunk 35&lt;/span&gt;&lt;br /&gt;&lt;a href="http://massprocessing.blogspot.com/"&gt;Anton Dil&lt;/a&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Chunk 36&lt;/span&gt;&lt;br /&gt;Martin Humby&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Chunk 37&lt;/span&gt;&lt;br /&gt;Martin Humby&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Chunk 38&lt;/span&gt;&lt;br /&gt;Neil Keskar&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Chunk 39&lt;/span&gt;&lt;br /&gt;&lt;a href="http://ou-java-book.blogspot.com/"&gt;Mark Moran&lt;/a&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Chunk 40&lt;/span&gt;&lt;br /&gt;&lt;a href="http://oumasswriting.blogspot.com/"&gt;Ian Welch&lt;/a&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Chunk 41&lt;/span&gt;&lt;br /&gt;&lt;a href="http://countingflowersonthewall.blogspot.com/"&gt;Andrew Hancox&lt;/a&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Chunk 42&lt;/span&gt;&lt;br /&gt;&lt;a href="http://martinpchunk42.blogspot.com/"&gt;Martin Prout&lt;/a&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Chunk 43&lt;/span&gt;&lt;br /&gt;Boyd Stratton&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Chunk 44&lt;/span&gt;&lt;br /&gt;&lt;a href="http://www.blogger.com/www.pauldfisher.blogspot.com"&gt;Paul Fisher&lt;/a&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Chunk 45&lt;/span&gt;&lt;br /&gt;&lt;a href="http://lazydog-bookfragments.blogspot.com/"&gt;Ben Notorianni&lt;/a&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Chunk 46&lt;/span&gt;&lt;br /&gt;&lt;a href="http://rwoublog.blogspot.com/"&gt;Rosie Wood&lt;/a&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Chunk 47&lt;/span&gt;&lt;br /&gt;&lt;a href="http://masswritingchunk47.blogspot.com/"&gt;Anthony Lees&lt;/a&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Chunk 48&lt;/span&gt;&lt;br /&gt;&lt;a href="http://masswritingchunk48.blogspot.com/"&gt;Anthony Lees&lt;/a&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Chunk 49&lt;/span&gt;&lt;br /&gt;&lt;a href="http://abilitystuff.blogspot.com/"&gt;Pat Jacobs&lt;/a&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Chunk 50&lt;/span&gt;&lt;br /&gt;&lt;a href="http://johnr-bookfragments.blogspot.com/"&gt;John Rayfield&lt;/a&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Chunk 51&lt;/span&gt;&lt;br /&gt;&lt;a href="http://neilmasswriting.blogspot.com/"&gt;Neil Singh&lt;/a&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Chunk 52&lt;/span&gt;&lt;span style="text-decoration: underline;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;a href="http://masswriting-chunk52.blogspot.com/"&gt;Mark Miller&lt;/a&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Chunk 53&lt;/span&gt;&lt;br /&gt;&lt;a href="http://anabelaoumasswriting.blogspot.com/"&gt;Anabela Green&lt;/a&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Chunk 54&lt;/span&gt;&lt;br /&gt;&lt;a href="http://rebeccamasswriting.blogspot.com/"&gt;Rebecca Ewen&lt;/a&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Chunk 55&lt;/span&gt;&lt;br /&gt;&lt;a href="http://barrymasswriting.blogspot.com/"&gt;Barry Martin&lt;/a&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Chunk 56&lt;/span&gt;&lt;br /&gt;&lt;a href="http://paulfr.blogspot.com/"&gt;Paul Richards&lt;/a&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Chunk 57&lt;/span&gt;&lt;br /&gt;&lt;a href="http://philomathblog.blogspot.com/"&gt;Davide Rizzo&lt;/a&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Chunk 58&lt;/span&gt;&lt;br /&gt;&lt;a href="http://affinetransformation.blogspot.com/"&gt;John Wilson&lt;/a&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Chunk 59&lt;/span&gt;&lt;br /&gt;&lt;a href="http://www.blogger.com/twisterbac.blogspot.com"&gt;Bryan Clifton&lt;/a&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Chunk 60&lt;/span&gt;&lt;br /&gt;Ebtessam Adam Alsomali&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Chunk 61&lt;/span&gt;&lt;br /&gt;&lt;a href="http://www.ooouandi.blogspot.com/"&gt;Rob Martin&lt;/a&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Chunk 62&lt;/span&gt;&lt;br /&gt;&lt;a href="http://iamou.blogspot.com/"&gt;Ian Macey&lt;/a&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Chunk 63&lt;/span&gt;&lt;br /&gt;&lt;a href="http://processingfun.blogspot.com/"&gt;Paulo Greco&lt;/a&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Chunk 64&lt;/span&gt;&lt;br /&gt;&lt;a href="http://dpleated.blogspot.com/"&gt;Liam Madden&lt;/a&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Chunk 65&lt;/span&gt;&lt;br /&gt;&lt;a href="http://prettyoubits.blogspot.com/"&gt;Boyd Stratton&lt;/a&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Chunk 66&lt;/span&gt;&lt;br /&gt;&lt;a href="http://jdba-mw-blog.blogspot.com/"&gt;Jeremy Annis&lt;/a&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Chunk 67&lt;/span&gt;&lt;br /&gt;&lt;a href="http://writinginbytes.blogspot.com/"&gt;Sharon Dawes&lt;/a&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Chunk 68&lt;/span&gt;&lt;br /&gt;&lt;a href="http://martinpchunk68.blogspot.com/"&gt;Martin Prout&lt;/a&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Chunk 69&lt;/span&gt;&lt;br /&gt;&lt;a href="http://shaileshgokhale.blogspot.com/"&gt;Shailesh Ghokale&lt;/a&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Chunk 70&lt;/span&gt;&lt;br /&gt;&lt;a href="http://rjsmasswriting.blogspot.com/"&gt;Rob Spain&lt;/a&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Chunk 71&lt;/span&gt;&lt;br /&gt;Mike Blamires&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Chunk 72&lt;/span&gt;&lt;br /&gt;&lt;a href="http://maxx-linx.blogspot.com/"&gt;Maxemilian Hilbrand&lt;/a&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Chunk 73&lt;/span&gt;&lt;br /&gt;&lt;a href="http://richardmasswriting.blogspot.com/"&gt;Richard Brown&lt;/a&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Chunk 74&lt;/span&gt;&lt;br /&gt;&lt;a href="http://mjheap.blogspot.com/"&gt;Marshall Heap&lt;/a&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Chunk 75&lt;/span&gt;&lt;br /&gt;Antonio Bruno&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Chunk 76&lt;/span&gt;&lt;br /&gt;&lt;a href="http://mjheap.blogspot.com/"&gt;Marshall Heap&lt;/a&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Chunk 77&lt;/span&gt;&lt;br /&gt;&lt;a href="http://dbmasswriting.blogspot.com/"&gt;Darragh Buffini&lt;/a&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Chunk 78&lt;/span&gt;&lt;br /&gt;&lt;a href="http://dbmasswriting.blogspot.com/"&gt;Darragh Buffini&lt;/a&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Chunk 79&lt;/span&gt;&lt;br /&gt;&lt;a href="http://rwoublog.blogspot.com/"&gt;Rosie Wood&lt;/a&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Chunk 80&lt;/span&gt;&lt;br /&gt;&lt;a href="http://dusanlicer.blogspot.com/"&gt;Dusan Licer&lt;/a&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Chunk 81&lt;/span&gt;&lt;br /&gt;&lt;a href="http://iansbookfragment.blogspot.com/"&gt;Ian Perkins&lt;/a&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Chunk 82&lt;/span&gt;&lt;br /&gt;Anthony Lees&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Chunk 83&lt;/span&gt;&lt;br /&gt;&lt;a href="http://jssmasswriting.blogspot.com/"&gt;Jannetta Steyn&lt;/a&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Chunk 84&lt;/span&gt;&lt;br /&gt;&lt;a href="http://jssmasswriting.blogspot.com/"&gt;Jannetta Steyn&lt;/a&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Chunk 85&lt;/span&gt;&lt;br /&gt;&lt;a href="http://amadanart.blogspot.com/"&gt;Nigel Parker&lt;/a&gt;&lt;br /&gt;&lt;hr /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/939797291883972929-1342866867760257653?l=bookfragments.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bookfragments.blogspot.com/feeds/1342866867760257653/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=939797291883972929&amp;postID=1342866867760257653' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/939797291883972929/posts/default/1342866867760257653'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/939797291883972929/posts/default/1342866867760257653'/><link rel='alternate' type='text/html' href='http://bookfragments.blogspot.com/2008/09/chunk-assignments.html' title='Chunk assignments'/><author><name>d.c.ince</name><uri>http://www.blogger.com/profile/17138852430931498108</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-939797291883972929.post-5712503479746035491</id><published>2008-09-07T15:35:00.001+01:00</published><updated>2008-11-04T14:31:30.077Z</updated><title type='text'>Chunks 81 to 85</title><content type='html'>&lt;span style="font-weight: bold;"&gt;CHUNK 81&lt;/span&gt;&lt;br /&gt;TITLE  Object orientation and images&lt;br /&gt;DESCRIPTION In this part of the book show how you can develop a class based Processing program that manipulates images. This would be valuable revision on OO concepts.&lt;br /&gt;OUTCOME&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Be able to develop an OO-based program of no more than 120 lines which manipulates images.&lt;/li&gt;&lt;/ul&gt;REFERENCE Greenberg 468--479&lt;br /&gt;HINT It would do no harm to make the program the same level of complexity as that in the Greenberg extract&lt;br /&gt;PROGRAM A similar program to that found in the text,&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;CHUNK 82&lt;/span&gt;&lt;br /&gt;TITLE  Mouse events&lt;br /&gt;DESCRIPTION This is the first part of the book that looks at mouse events. Happily Processing handles such events easily&lt;br /&gt;OUTCOMES&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Be able to understand how Processing is able to detect and act on mouse events.&lt;/li&gt;&lt;li&gt;Be able to develop a program up to 120 lines which relies on mouse events bein caught.&lt;/li&gt;&lt;/ul&gt;REFERENCE Greenberg 564--570&lt;br /&gt;HINT Don't worry about showing how complex the mouse event code in Java is (Greenberg 564--565) just go straight into a description of the &lt;span style="font-style: italic;"&gt;Processing &lt;/span&gt;code. Don't use any motion code unless its very simple as we have not covered this in the book&lt;br /&gt;PROGRAM Develop a program similar to the one that you describe in this part of the book.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;CHUNK 83&lt;/span&gt;&lt;br /&gt;TITLE  Buttons&lt;br /&gt;DESCRIPTION Buttons are useful elements to have. Unfortunately the standard button code used in Java cannnot be used in &lt;span style="font-style: italic;"&gt;Processing&lt;/span&gt;. You have to draw them&lt;br /&gt;OUTCOME&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Be able to  understand how Processing implements buttons&lt;/li&gt;&lt;li&gt;Be able to develop a Processing program of no more than 120 lines that includes two buttons.&lt;/li&gt;&lt;/ul&gt;REFERENCE Greenberg 579--582&lt;br /&gt;HINT Take the teaching very gently and dont tear your hair out when you realise that you can't use Swing or AWT widgets.&lt;br /&gt;PROGRAM Develop a similar program to the one you describe in the text. Make it class based.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;CHUNK 84&lt;/span&gt;&lt;br /&gt;TITLE  Advanced buttons 1&lt;br /&gt;DESCRIPTION You will need to describe a similar program to the one detailed in the Greenberg extract below. Working with sophisticated buttons is really painstaking in Processing Im afraid.&lt;br /&gt;OUTCOME&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Be able to develop a sophisticated button-based &lt;span style="font-style: italic;"&gt;Processing &lt;/span&gt;program of no more than 200 lines.&lt;/li&gt;&lt;/ul&gt;REFERENCE Greenberg 582--586&lt;br /&gt;HINT Take it very gently: build up the program gradually as the code while not being  intellectually difficult is somewhat complicated&lt;br /&gt;PROGRAM A program similar in complexity to the one that you describe in the text.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;CHUNK 85&lt;/span&gt;&lt;br /&gt;TITLE  Advanced buttons 2&lt;br /&gt;DESCRIPTION You will need to describe a similar program to the one detailed in the Greenberg extract below. Working with sophisticated buttons is really painstaking in &lt;span style="font-style: italic;"&gt;Processing &lt;/span&gt;Im afraid. This is a similar version to the previous chunk of the book. You may need to liase a bit with the author of chunk 84. Like 84 this is jst the description of a sophisticated program.&lt;br /&gt;OUTCOME&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Be able to develop a sophisticated button based &lt;span style="font-style: italic;"&gt;Processing &lt;/span&gt;program of no more than 200 lines&lt;/li&gt;&lt;/ul&gt;REFERENCE Greenberg 582--586&lt;br /&gt;HINT Take it very gently: build up the program gradually as the code while not being intellectually difficult is somewhat complicated&lt;br /&gt;PROGRAM A program similar in complexity to the one that you describe in the text.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/939797291883972929-5712503479746035491?l=bookfragments.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bookfragments.blogspot.com/feeds/5712503479746035491/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=939797291883972929&amp;postID=5712503479746035491' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/939797291883972929/posts/default/5712503479746035491'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/939797291883972929/posts/default/5712503479746035491'/><link rel='alternate' type='text/html' href='http://bookfragments.blogspot.com/2008/09/chunks-81-to-85.html' title='Chunks 81 to 85'/><author><name>d.c.ince</name><uri>http://www.blogger.com/profile/17138852430931498108</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-939797291883972929.post-3444302233992618714</id><published>2008-09-07T15:09:00.001+01:00</published><updated>2008-09-07T15:34:19.863+01:00</updated><title type='text'>Chunks 71 to 80</title><content type='html'>&lt;span style="font-weight: bold;"&gt;CHUNK 71&lt;/span&gt;&lt;br /&gt;TITLE  Alpha transparency&lt;br /&gt;DESCRIPTION This describes the use of the alpha component of a colour to vary its transparency.&lt;br /&gt;OUTCOME&lt;br /&gt;&lt;ul&gt;&lt;li&gt; Be able to develop a program of around 100-120 lines which employs transparency&lt;/li&gt;&lt;/ul&gt;REFERENCE Greenberg 406--415&lt;br /&gt;HINT Try and find an example where you dont have to go into much detail on matrices.If you do  then make sure its no more than that in the Greenberg extract here.&lt;br /&gt;PROGRAM Develop a program similar to the one you describe in the text.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;CHUNK 72&lt;/span&gt;&lt;br /&gt;TITLE  Colour modes&lt;br /&gt;DESCRIPTION This part of the book is an introduction to the idea of a color mode.&lt;br /&gt;OUTCOMES&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Be able to understand the idea of a colour mode.&lt;/li&gt;&lt;li&gt;Be able to employ a number of different colour modes in a computer program&lt;/li&gt;&lt;/ul&gt;REFERENCE Greenberg 415--419&lt;br /&gt;HINT No hint&lt;br /&gt;PROGRAM Develop a program that uses a number of different colour modes and produces some interesting or spectacular effects.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;CHUNK 73&lt;/span&gt;&lt;br /&gt;TITLE  More colour functions      &lt;br /&gt;DESCRIPTION This describes a range of new colour functions&lt;br /&gt;OUTCOMES&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Be able to use functions such as blendColor in Processing programs&lt;/li&gt;&lt;li&gt;Be able to develop Processing programs of around 100-120 lines using the colour functions detailed here.&lt;/li&gt;&lt;/ul&gt;REFERENCE Greenberg 419--423&lt;br /&gt;HINT Don't worry about explaining bitwise approaches as the author does; just mention the&lt;br /&gt;slowness.&lt;br /&gt;PROGRAM Develop a program based on a class that does some spectacular or interesting graphical effects. No more than 150 lines.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;CHUNK 74&lt;/span&gt;&lt;br /&gt;TITLE  Pixels&lt;br /&gt;DESCRIPTION So far we have been looking at Pixels, now we will look at bit mapped images. This is the introduction.&lt;br /&gt;OUTCOMES&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Be able to understand the difference between bit-mapped and vector graphics.&lt;/li&gt;&lt;li&gt;Be able to use the pixel functions detailed in this part of the book.&lt;/li&gt;&lt;li&gt;Be able to develop a program that uses pixels of around 120 lines of code&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;REFERENCE Greenberg 423--429&lt;br /&gt;HINT Develop a gradient-based program similar to those shown in the Greenberg extract&lt;br /&gt;PROGRAM Develop a program similar to the one that you have described in the text.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;CHUNK 75&lt;/span&gt;&lt;br /&gt;TITLE  Faster pixels&lt;br /&gt;DESCRIPTION One of the problems with the functions in the previous chunk of the book is that they are slow. This part of the book looks at how to speed things up&lt;br /&gt;OUTCOMES&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Be able to use the functions detailed in the Greenberg fragment below&lt;/li&gt;&lt;li&gt;Be able to develop a program of no more than 120 lines of Processing code which uses the pixel array stuff in the fragment below.&lt;/li&gt;&lt;/ul&gt;REFERENCE Greenberg 429--432&lt;br /&gt;HINT Try describing a program that shimmers a bit, if you cant then its up to you what you do.&lt;br /&gt;PROGRAM  Develop a class-based program that is similar to the one you described min the text&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;CHUNK 76&lt;/span&gt;&lt;br /&gt;TITLE  Loading and tiling images&lt;br /&gt;DESCRIPTION This is the start of the part of the book that deals with image manipulation. It shows you how load images and set and get the pixels in an image.&lt;br /&gt;OUTCOMES&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Be able to use program facilities to load an image&lt;/li&gt;&lt;li&gt;Be able to use set and get functions to manipulate an image.&lt;/li&gt;&lt;li&gt;Be able to develop programs of no more than 120 lines which use the facilities in the Greenberg fragment&lt;/li&gt;&lt;/ul&gt;REFERENCE Greenberg 432--442&lt;br /&gt;HINT This may be more than 2000 words so feel free to go as far as 3000 words.&lt;br /&gt;PROGRAM A program, does not need to be class based, to do something to an image.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;CHUNK 77&lt;/span&gt;&lt;br /&gt;TITLE  Using bits&lt;br /&gt;DESCRIPTION This is a low level part of the book that will show students how to speed up image processing using bits.&lt;br /&gt;OUTCOMES&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Be able to understand how colours are represented as bits.&lt;/li&gt;&lt;li&gt;Be able to develop a program of no more than 120 linesusing bitwise operations.&lt;/li&gt;&lt;/ul&gt;REFERENCE Greenberg 443--448&lt;br /&gt;HINT Take the explanation of binary representations quite slow&lt;br /&gt;PROGRAM Develop a program similar to the one you describe in the text. It does not have to class-based&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;CHUNK 78&lt;/span&gt;&lt;br /&gt;TITLE  Using the mask method&lt;br /&gt;DESCRIPTION The mask method enables the &lt;span style="font-style: italic;"&gt;Processing &lt;/span&gt;programmer to implement some sophisticated functionality. This part of the book describes it.&lt;br /&gt;OUTCOME&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Be able to develop a program of no more than 120 lines that uses the mask method.&lt;/li&gt;&lt;/ul&gt;REFERENCE Greenberg 448--451&lt;br /&gt;HINT Try and describe a program that implements some Photoshp functionality&lt;br /&gt;PROGRAM Develop a program similar to the one described in the text.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;CHUNK 79&lt;/span&gt;&lt;br /&gt;TITLE  Using the filter method&lt;br /&gt;DESCRIPTION This should be a gentle introduction to the filter method.&lt;br /&gt;OUTCOMES&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Be able to understand the function of the filter method&lt;/li&gt;&lt;li&gt;Be able to develop a program of no more than 120 lines using the filter method&lt;/li&gt;&lt;/ul&gt;REFERENCE Greenberg 452--459&lt;br /&gt;HINT Take this gradually and build up the described program in small chunks.&lt;br /&gt;PROGRAM Develop an interesting program similar to the one that you describe in the text.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;CHUNK 80&lt;/span&gt;&lt;br /&gt;TITLE Using the blend method&lt;br /&gt;DESCRIPTION This should be a gentle introduction to the blend method.&lt;br /&gt;OUTCOMES&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Be able to understand the function of the blend method&lt;/li&gt;&lt;li&gt;Be able to develop a program of no more than 120 lines using the blend method&lt;/li&gt;&lt;/ul&gt;REFERENCE Greenberg 459--467&lt;br /&gt;HINT Take this gradually and build up the described program in small chunks. Show the student how to save the images that have been created.&lt;br /&gt;PROGRAM Develop an interesting program similar to the one that you describe in the text.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/939797291883972929-3444302233992618714?l=bookfragments.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bookfragments.blogspot.com/feeds/3444302233992618714/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=939797291883972929&amp;postID=3444302233992618714' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/939797291883972929/posts/default/3444302233992618714'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/939797291883972929/posts/default/3444302233992618714'/><link rel='alternate' type='text/html' href='http://bookfragments.blogspot.com/2008/09/chunks-71-to-80.html' title='Chunks 71 to 80'/><author><name>d.c.ince</name><uri>http://www.blogger.com/profile/17138852430931498108</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-939797291883972929.post-518106782317023443</id><published>2008-09-07T14:12:00.000+01:00</published><updated>2008-09-07T15:07:46.411+01:00</updated><title type='text'>Chunks 61 to 70</title><content type='html'>&lt;span style="font-weight: bold;"&gt;CHUNK 61&lt;/span&gt;&lt;br /&gt;TITLE  Classes 2&lt;br /&gt;DESCRIPTION This part of the book should introduce the code behind a class; this will require teaching of the highest order. This is a repeat of the previous chunk. Classes are so dificult to understand so we have decided to repeat the teaching&lt;br /&gt;OUTCOME&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Be able to understand the code of a simple class programmed in no more than 30 lines of code&lt;/li&gt;&lt;/ul&gt;REFERENCE Greenberg 304&lt;br /&gt;HINT Try and describe a class that implements some simple graphics. Do enough teaching on constructors to get you throuugh but do not go to town on this: there will be more teaching on constructors later. Make the arguments lists a little more complicated than the previous chunk of the book, say three arguments maximum.&lt;br /&gt;PROGRAM Difficult task: try and develop a class that is a little more complicated than the one that you describe and make it do something really visual.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;CHUNK 62&lt;/span&gt;&lt;br /&gt;TITLE  Constructors&lt;br /&gt;DESCRIPTION I want you to teach constructors in depth here. Show the student that a constructor is code that creates an object and assigns values to its attributes&lt;br /&gt;OUTCOMES&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Be able to understand code within constructors containing no arguments and multi-arguments&lt;/li&gt;&lt;li&gt;Be able to develop code within constructors containing no arguments and multi-arguments&lt;/li&gt;&lt;/ul&gt;REFERENCE Greenberg 309--311&lt;br /&gt;HINT Use a class as an example. Make it no more than 50 lines of code. Try and get it to do something graphical&lt;br /&gt;PROGRAM Develop a program similar to the one you describe&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;CHUNK 63&lt;/span&gt;&lt;br /&gt;TITLE  Methods 1&lt;br /&gt;DESCRIPTION The student will have seen methods in action in the previous three chunks of the book. Describe them in more detail here. Plenty of small examples required.  Describe methods with simple arguments such as int.&lt;br /&gt;OUTCOMES&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Be able to understand simple methods containing simple argument lists&lt;/li&gt;&lt;li&gt;Be able to develop methods containing simple argument lists&lt;/li&gt;&lt;/ul&gt;REFERENCE Greenberg 311--318&lt;br /&gt;HINT Really take time explaining the role of an argument. This concept messes students up a lot. Show an example of a class that implements some graphical processing&lt;br /&gt;PROGRAM Develop a program that issimilar in complexity to the one in the txt&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;CHUNK 64&lt;/span&gt;&lt;br /&gt;TITLE  Methods 2&lt;br /&gt;DESCRIPTION The student will have seen methods in action in the previous three chunks of the book.Describe them in more detail here. Plenty of small examples required.  Describe methods with more complex arguments such as arrays of ints.&lt;br /&gt;OUTCOMES&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Be able to understand simple methods containing more complex argument lists&lt;/li&gt;&lt;li&gt;Be able to develop methods containing more complex argument lists&lt;/li&gt;&lt;/ul&gt;REFERENCE Greenberg 311--318&lt;br /&gt;HINT Use lots of small exampless&lt;br /&gt;PROGRAM Develop a program similar to the one that you describe in the text.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;CHUNK 65&lt;/span&gt;&lt;br /&gt;TITLE  Bringing it all together&lt;br /&gt;DESCRIPTION In this part of the book I want you to develop a class which is around 100 lines of code. It should contain constructors with a number of arguments, methods with a number of argum ents, methodswhich are void and methods which deliver values. This brings the work on classes described in previous chunks together.&lt;br /&gt;OUTCOMES&lt;br /&gt;Be able to understand the code of a class of roughly 100 lines which contains the elements above.&lt;ul&gt;&lt;li&gt;Be able to develop the code of a class of roughly 100 lines of code which contains the elements above.&lt;/li&gt;&lt;/ul&gt;REFERENCE Greenberg 302--318&lt;br /&gt;HINT As with all these classes make the code do somthing graphic.&lt;br /&gt;PROGRAM Develop a program similar to the one that you have explained in the text. Try and make it do something spectacular in graphical terms.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;CHUNK 66&lt;/span&gt;&lt;br /&gt;TITLE  Shapes--an introduction&lt;br /&gt;DESCRIPTION This part of the book introduces some of the 2D Processing shapes. Describe rectangle, ellipse, arc and triangle&lt;br /&gt;OUTCOMES&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Be able to develop simple programs involving the shapes&lt;/li&gt;&lt;li&gt;Be able to develop more complicated programs of up to 100 lines which show graphiceffects similar to those shown in the Greenber fragment below&lt;/li&gt;&lt;/ul&gt;REFERENCE Greenberg 340--349&lt;br /&gt;HINT At all times try to show programs which show interesting graphic effects&lt;br /&gt;PROGRAM Develop a program that uses at least two of the shapes to produce some stunning  graphics.&lt;span style="font-style: italic;"&gt; Don't do recursion&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;CHUNK 67&lt;/span&gt;&lt;br /&gt;TITLE  Name Transformations&lt;br /&gt;DESCRIPTION In this part of the book describe how shapes can be transformed.&lt;br /&gt;OUTCOME&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Be able to use the transformation facilities in Processing to transform shapes previoulsy introduced.&lt;/li&gt;&lt;/ul&gt;REFERENCE Greenberg 350--357&lt;br /&gt;HINT Don't go into any details about matrices; just do as Greenberg does: say theres something called a matrix which is under the bonnet.&lt;br /&gt;PROGRAM Develop a program that uses transformations of around 100-150 lines of code.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;CHUNK 68&lt;/span&gt;&lt;br /&gt;TITLE  Hybrid shapes&lt;br /&gt;DESCRIPTION This describes how interesting shapes can be constructed using combinations of p reviously described shapes.&lt;br /&gt;OUTCOMES&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Be able to develop programs up to 100 lines which display combinations of shapes&lt;/li&gt;&lt;li&gt;Be able to develop classes of up to 100 lines which display combinations of shapes&lt;/li&gt;&lt;/ul&gt;REFERENCE Greenberg 365--368&lt;br /&gt;HINT Try and use classes for your code so that the student has more examples of this idea to look at.&lt;br /&gt;PROGRAM Develop a class-based program that provides some interesting graphical effect.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;CHUNK 69&lt;/span&gt;&lt;br /&gt;TITLE  Classes creating shapes&lt;br /&gt;DESCRIPTION This part of the book gives the reader some more practice in writing and reading&lt;br /&gt;OUTCOMES&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Be able to develop a class of around 100 lines of code that implements some new shape&lt;/li&gt;&lt;li&gt;Be able to use objects defined by the class&lt;/li&gt;&lt;/ul&gt;REFERENCE Greenberg 378--381&lt;br /&gt;HINT make this as much an exercise in class development as much as graphical programming&lt;br /&gt;PROGRAM Develop a similar program to the one in the text&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;CHUNK 70&lt;/span&gt;&lt;br /&gt;TITLE  An introduction to colour&lt;br /&gt;DESCRIPTION This is an introduction to the colour facilities in &lt;span style="font-style: italic;"&gt;Processing&lt;/span&gt;.&lt;br /&gt;&lt;br /&gt;OUTCOMES&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Be able to develop programs of around 100 lines involving colours.&lt;/li&gt;&lt;/ul&gt;REFERENCE Greenberg 400--406&lt;br /&gt;HINT None&lt;br /&gt;PROGRAM Try and develop a program that uses a variety of colours and the shapes that were taught in the previous section of the course. Shapes such as rectangle and ellipse&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/939797291883972929-518106782317023443?l=bookfragments.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bookfragments.blogspot.com/feeds/518106782317023443/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=939797291883972929&amp;postID=518106782317023443' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/939797291883972929/posts/default/518106782317023443'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/939797291883972929/posts/default/518106782317023443'/><link rel='alternate' type='text/html' href='http://bookfragments.blogspot.com/2008/09/chunks-61-to-70.html' title='Chunks 61 to 70'/><author><name>d.c.ince</name><uri>http://www.blogger.com/profile/17138852430931498108</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-939797291883972929.post-603746793464463099</id><published>2008-09-07T12:41:00.000+01:00</published><updated>2008-09-07T14:06:50.309+01:00</updated><title type='text'>Chunks 51 to 60</title><content type='html'>&lt;span style="font-weight: bold;"&gt;CHUNK 51&lt;/span&gt;&lt;br /&gt;TITLE  A curve example 1&lt;br /&gt;DESCRIPTION Describe a program that uses the curve drawing idea in Greenberg 246--249, make it relatively complex of around 100 lines of code.&lt;br /&gt;OUTCOME&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Be able to understand a moderately complex curve drawing program&lt;/li&gt;&lt;/ul&gt;REFERENCE Greenberg 246--249&lt;br /&gt;HINT Try and make this program visually good, for example use colour&lt;br /&gt;PROGRAM Modify the program that you present in this part of the book so that it does  something different&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;CHUNK 52&lt;/span&gt;&lt;br /&gt;TITLE A curve example 2&lt;br /&gt;DESCRIPTION Describe a program that uses the curve drawing idea in Greenberg 246--249, make it relatively complex around 150 lines of code.&lt;br /&gt;OUTCOME&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Be able to understand a moderately complex curve drawing program&lt;/li&gt;&lt;/ul&gt;REFERENCE Greenberg 246--249&lt;br /&gt;HINT Try and make this program visually good, for example use colour&lt;br /&gt;PROGRAM Modify the program that you present in this part of the book so that it does something different.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;CHUNK 53&lt;/span&gt;&lt;br /&gt;TITLE  Using trigonometric functions&lt;br /&gt;DESCRIPTION Describe the three trigonometric functions sin, cos and tan. Dont worry about explaining them in terms of triangles just describe them as functions which have certain drawing properties. Develop a simple program that shows these functions being drawn.&lt;br /&gt;OUTCOME&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Understand the nature of trigonometric functions.&lt;/li&gt;&lt;li&gt;Understand &lt;span style="font-style: italic;"&gt;Processing &lt;/span&gt;programs that contain trigonometric funtions.&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;REFERENCE Greenberg 255--256&lt;br /&gt;HINT Don't go into any of the mathematics of the trig functions&lt;br /&gt;PROGRAM Develop a program similar in complexity to the one that you describe.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;CHUNK 54&lt;/span&gt;&lt;br /&gt;TITLE  Sin in action&lt;br /&gt;DESCRIPTION Describe a program that is similar in complexity to that Greenberg 257--260.&lt;br /&gt;OUTCOME&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Be able to understand a complex Processing program&lt;/li&gt;&lt;/ul&gt;REFERENCE Greenberg 257--260&lt;br /&gt;HINT Don't copy the program in Greenberg try and develop something of the same complexity but which is rather different.&lt;br /&gt;PROGRAM Modify the program that you describe so that its functionality is changed.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;CHUNK 55&lt;/span&gt;&lt;br /&gt;TITLE  Polynomials&lt;br /&gt;DESCRIPTION Describe the gneral form of quadratic and cubic polynomials and show how they can be drawn using the techniques in Greenberg 262--267. Describe a simple program that shows the various curves that are generated by such polynomials&lt;br /&gt;OUTCOME&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Describe the general form of a polynomial&lt;/li&gt;&lt;li&gt;Develop code that draws a particular polynomial.&lt;/li&gt;&lt;/ul&gt;REFERENCE Greenber 262-267&lt;br /&gt;HINT Keep the programs simple.&lt;br /&gt;PROGRAM No program required.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;CHUNK 56&lt;/span&gt;&lt;br /&gt;TITLE  An introduction to Processing's curve functions&lt;br /&gt;DESCRIPTION In this you should provide an introduction to curve drawing using the arc method. At this stage keep the description simple and concentrate on some simple examples&lt;br /&gt;OUTCOMES&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Describe the role of the curve functions in Processing&lt;/li&gt;&lt;li&gt;Use the arc method in simple programs no more than 30 lines in length&lt;/li&gt;&lt;/ul&gt;REFERENCE Greenberg 267--272.&lt;br /&gt;HINT Students might be a bit stunned by the mathematical aspects of curves; so keep the examples simple&lt;br /&gt;PROGRAM Develop a more complicated program using the arc method.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;CHUNK 57&lt;/span&gt;&lt;br /&gt;TITLE  The Bezier function 1&lt;br /&gt;DESCRIPTION The Bezier function is a really tough topic. Only volunteer for this one if you feel that you have the mathematical ability and the teaching ability to convey a tough subject&lt;br /&gt;OUTCOMES&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Understand how curves are defined by Bezier functions&lt;/li&gt;&lt;li&gt;Develop programs of no more than 30 lines using Bezier functions&lt;/li&gt;&lt;/ul&gt;REFERENCE Greenberg 272-278&lt;br /&gt;HINT Try and describe a program simpler than that on Greenberg 275-276&lt;br /&gt;PROGRAM Develop a program that is similar in complexity to the one that you use in the text&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;CHUNK 58&lt;/span&gt;&lt;br /&gt;TITLE The Bezier function 2&lt;br /&gt;DESCRIPTION In this part of the book I would like you to show how Bezier curves can be joined together. Employ programming that creates a number of joined curves. Also show how by using higher order polynomials you can to roughly the same thing&lt;br /&gt;OUTCOMES&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Develop a simple program of no more than 40 lines which joins up Bezier curves&lt;/li&gt;&lt;li&gt;Develop a simple program of no more than 40 lines creates a Bezier function from a higher order function&lt;/li&gt;&lt;/ul&gt;REFERENCE Greenber 279-280&lt;br /&gt;HINT Take this very gently and try to eliminate the mathematics&lt;br /&gt;PROGRAM Develop an animation that uses Bezier curves. Anything will do hter, it doesnt have to be one which joins up a series of Bezier curves.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;CHUNK 59&lt;/span&gt;&lt;br /&gt;TITLE  An introduction to object-oriented programming&lt;br /&gt;DESCRIPTION Make this an introduction, dont show the code for any classes, just get the student to understand there are objects and there are methods which correspond to messages. The BurritoRecipe class will be your inspiration; use a different example though.&lt;br /&gt;OUTCOMES&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Understand the broad idea of a class.&lt;/li&gt;&lt;li&gt;Understand the broad idea of a method&lt;/li&gt;&lt;li&gt;Understand the broad idea of a message&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;REFERENCE Greenberg 302--303&lt;br /&gt;HINT&lt;br /&gt;Take this very gently, students everyehwere and at every level have problems with object orientation.&lt;br /&gt;PROGRAM Don't write a program for this part of the book.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;CHUNK 60&lt;/span&gt;&lt;br /&gt;TITLE Classes 1&lt;br /&gt;DESCRIPTION This part of the book should introduce the code behind a class; this will require  teaching of the highest order.&lt;br /&gt;OUTCOME&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Be able to understand the code of a simple class programmed in no more than 30 lines of code&lt;/li&gt;&lt;/ul&gt;REFERENCE Greenberg 304&lt;br /&gt;HINT Try and describe a class that implements some simple graphics. Do enough teaching on constructor to get you thorugh but do not go to town on this: there will be more teaching on constructors later. Make the argument lists for the methods simple (perhaps just one or two arguments).&lt;br /&gt;PROGRAM A difficult task: try and develop a class that is a little more complicated than the one that you describe and make it do something really visual.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/939797291883972929-603746793464463099?l=bookfragments.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bookfragments.blogspot.com/feeds/603746793464463099/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=939797291883972929&amp;postID=603746793464463099' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/939797291883972929/posts/default/603746793464463099'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/939797291883972929/posts/default/603746793464463099'/><link rel='alternate' type='text/html' href='http://bookfragments.blogspot.com/2008/09/chunks-51-to-60.html' title='Chunks 51 to 60'/><author><name>d.c.ince</name><uri>http://www.blogger.com/profile/17138852430931498108</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-939797291883972929.post-3789049926756943514</id><published>2008-09-07T12:15:00.000+01:00</published><updated>2008-09-07T12:40:18.836+01:00</updated><title type='text'>Chunks 41 to 50</title><content type='html'>&lt;span style="font-weight: bold;"&gt;CHUNK 41&lt;/span&gt;&lt;br /&gt;TITLE  Vertex functions 1&lt;br /&gt;DESCRIPTION This is one of five sections of the book that provides examples in the use of  vertex functions. Describe a program that is about 50 lines of code which uses vertex functions.&lt;br /&gt;OUTCOME&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Be able to understand a program that uses vertex functions.&lt;/li&gt;&lt;/ul&gt;REFERENCE Greenberg 209--225&lt;br /&gt;HINT Use anti-aliasing&lt;br /&gt;PROGRAM Modify the program that you present in the text so that its functionality changes&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;CHUNK 42&lt;/span&gt;&lt;br /&gt;TITLE  Vertex functions 2&lt;br /&gt;DESCRIPTION This is one of five sections of the book that provides examples in the use of vertex functions. Describe a program that is about 75 lines of code which uses vertex functions.Try and make it concepuually similar to that found in Greenberg 220--221 but more complicated&lt;br /&gt;OUTCOME&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Be able to understand a program that uses vertex functions.&lt;/li&gt;&lt;/ul&gt;REFERENCE Greenberg 209--225&lt;br /&gt;HINT Don't worry about the kludgy approach.&lt;br /&gt;PROGRAM Modify the program that you present in the text so that its functionality changes&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;CHUNK 43&lt;/span&gt;&lt;br /&gt;TITLE  Vertex functions 3&lt;br /&gt;DESCRIPTION This is one of five sections of the book that provides examples in the use of vertex functions. Describe a program that is about 100 lines of code which uses vertex functions. Try and make it conceptually similar to that found in Greenberg 224--225 but more complicated&lt;br /&gt;OUTCOME&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Be able to understand a program that uses vertex functions.&lt;/li&gt;&lt;/ul&gt;REFERENCE Greenberg 209--225”&lt;br /&gt;HINT Might be worth looking at drawing in different colours&lt;br /&gt;PROGRAM Modify the program that you present in the text so that its functionality changes&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;CHUNK 44&lt;/span&gt;&lt;br /&gt;TITLE  Vertex functions 4&lt;br /&gt;DESCRIPTION&lt;br /&gt;This is one of five sections of the book that provides examples in the use of vertex functions. Describe a program that is about 100 lines of code which uses vertex functions. Try and make it conceptually similar to that found in the program in Greenberg 231 but more complicated&lt;br /&gt;OUTCOME&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Be able to understand a program that uses vertex functions.&lt;/li&gt;&lt;/ul&gt;REFERENCE Greenberg 209--225&lt;br /&gt;HINT Might be worth looking at drawing in different colours&lt;br /&gt;PROGRAM Modify the program that you present in the text so that its functionality changes&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;CHUNK 45&lt;/span&gt;&lt;br /&gt;TITLE  Vertex functions 5&lt;br /&gt;DESCRIPTION This is one of five sections of the book that provides examples in the use of vertex functions. Describe a program that is about 100 lines of code which uses vertex functions. Try and make it conceptually similar to that found to the program in Greenberg 235 but more complicated&lt;br /&gt;OUTCOME&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Be able to understand a program that uses vertex functions.&lt;/li&gt;&lt;/ul&gt;REFERENCE Greenberg 209--225&lt;br /&gt;HINT Might be worth looking at drawing in different colours&lt;br /&gt;PROGRAM Modify the program that you present in the text so that its functionality changes&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;CHUNK 46&lt;/span&gt;&lt;br /&gt;TITLE  Bringing it together 1&lt;br /&gt;DESCRIPTION This is a really difficult section. What we want you to do is to develop a program of about 200 lines which is visually stunning and which uses any of Processing's line functions.&lt;br /&gt;OUTCOME&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Understand a large &lt;span style="font-style: italic;"&gt;Processing &lt;/span&gt;program&lt;/li&gt;&lt;/ul&gt;REFERENCE Any facility presented in Greenberg up to 237&lt;br /&gt;HINT Don't attempt this unless you really feel that you are a practised Java programmer.&lt;br /&gt;PROGRAM No program needed&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;CHUNK 47&lt;/span&gt;&lt;br /&gt;TITLE  Bringing it together 2&lt;br /&gt;DESCRIPTION This is a really difficult section. What we want you to do is to develop a program of about 200 lines which is visually stunning and which uses any of Processing's line functions.&lt;br /&gt;OUTCOME&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Understand a large &lt;span style="font-style: italic;"&gt;Processing &lt;/span&gt;program&lt;/li&gt;&lt;/ul&gt;REFERENCE Any facility presented in Greenberg up to 237&lt;br /&gt;HINT Don't attempt this unless you really feel that you are a practised Java programmer.&lt;br /&gt;PROGRAM No program needed.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;CHUNK 48&lt;/span&gt;     &lt;br /&gt;TITLE  Bringing it together 3&lt;br /&gt;DESCRIPTION This is a really difficult section. What we want you to do is to develop a program of about 200 lines which is visually stunning and which uses any of Processing's line functions.&lt;br /&gt;OUTCOME&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Understand a large Processing program&lt;/li&gt;&lt;/ul&gt;REFERENCE Any facility presented in Greenberg up to 237&lt;br /&gt;HINT Don't attempt this unless you really feel that you are a practised Java programmer.&lt;br /&gt;PROGRAM No program needed&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;CHUNK 49&lt;/span&gt;&lt;br /&gt;TITLE  Lines and acceleration&lt;br /&gt;DESCRIPTION Provide a little revision on lines the way that Greenberg does about lines. Describe a line as a series of points and develop a program that gnerates a series of lines as points&lt;br /&gt;OUTCOME&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Be able to develop a simple program that generates a loine from a series of points&lt;/li&gt;&lt;/ul&gt;REFERENCE Greenberg 242--246&lt;br /&gt;HINT Talk about a line being a distance vs time graph and the slope the acceleration&lt;br /&gt;PROGRAM No program needed&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;CHUNK 50&lt;/span&gt;&lt;br /&gt;TITLE  Generating a simple curve&lt;br /&gt;DESCRIPTION Use the idea of a curve having acceleration in two directions to generate a simple curve. Describe a program that generates a number of curves in an interesting way.&lt;br /&gt;OUTCOME&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Develop a program that generates simple curves.&lt;/li&gt;&lt;/ul&gt;REFERENCE Greenberg 246--249&lt;br /&gt;HINT You may like to use different colours&lt;br /&gt;PROGRAM Develop another program that is similar in complexity to the one that you describe.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/939797291883972929-3789049926756943514?l=bookfragments.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bookfragments.blogspot.com/feeds/3789049926756943514/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=939797291883972929&amp;postID=3789049926756943514' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/939797291883972929/posts/default/3789049926756943514'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/939797291883972929/posts/default/3789049926756943514'/><link rel='alternate' type='text/html' href='http://bookfragments.blogspot.com/2008/09/chunks-41-to-50.html' title='Chunks 41 to 50'/><author><name>d.c.ince</name><uri>http://www.blogger.com/profile/17138852430931498108</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-939797291883972929.post-5659968103347999114</id><published>2008-09-07T11:49:00.000+01:00</published><updated>2008-09-07T12:14:55.129+01:00</updated><title type='text'>Chunks 31 to 40</title><content type='html'>&lt;span style="font-weight: bold;"&gt;CHUNK 31&lt;/span&gt;&lt;br /&gt;TITLE  An introduction to modes&lt;br /&gt;DESCRIPTION Briefly describe the three rendering modes in &lt;span style="font-style: italic;"&gt;Processing&lt;/span&gt;. Then describe a program that illustrates the use of JAVA2D mode. Include the use of functions in this. Make the complexity similar to the program shown in Greenberg 162--163. Also describe some of the functions asociated with JAVA2D&lt;br /&gt;OUTCOMES&lt;br /&gt;&lt;ul&gt;&lt;li&gt;To detail the differences between the the three main rendering modes in Processing.&lt;/li&gt;&lt;li&gt;To use some of the facilities in JAVA2D to develop simple Processing programs&lt;/li&gt;&lt;/ul&gt;REFERENCEGreenberg 162--16 3&lt;br /&gt;HINT Make the program that you describe similar to that in Greenberg 162--163,&lt;br /&gt;PROGRAM Develop another program similar in complexity to the one you describe in the text.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;CHUNK 32&lt;/span&gt;&lt;br /&gt;TITLE  P3D mode&lt;br /&gt;DESCRIPTION Describe the P3D mode. Use a simple program that illustrates the mode. Make the program of the same complexity as that in Greenberg 164--165. Also describe some of the functions associated with this rendering mode&lt;br /&gt;OUTCOME&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Employ selected facilities of P3D to develop simple Processing programs. &lt;/li&gt;&lt;/ul&gt;REFERENCE Greenberg 164--165&lt;br /&gt;HINT Try and use a variety of functions, say no more than eight.&lt;br /&gt;PROGRAM Develop a program similar to that described in your text.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;CHUNK 33&lt;/span&gt;&lt;br /&gt;TITLE OPENGL mode&lt;br /&gt;DESCRIPTION Describe this mode. Be aware that we will not be looking at 3-d graphics in much detail later so this will be one of the few opportunities that the reader will see 3-d programs. Describe a simple program that uses the facilities of OPENGL. Make it simpler than the example in Greenberg 166--169.&lt;br /&gt;OUTCOME&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Broadly describe the main functions of the OPENGL mode.&lt;/li&gt;&lt;/ul&gt;REFERENCE Greenberg 166--169&lt;br /&gt;HINT Take the decription of the code very gently.&lt;br /&gt;PROGRAM Develop a program similar in complexity to the one you describe in the text.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;CHUNK 34&lt;/span&gt;&lt;br /&gt;TITLE  Programs with points 1&lt;br /&gt;DESCRIPTION Greenberg 174--184 describes programs which are based on the display of points. Describe a program that could have been written of this section. Make sure that you use plenty of loops and describe in detail what they do.&lt;br /&gt;OUTCOME&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Develop a program similar in complexity to the one described in this part of the book&lt;/li&gt;&lt;/ul&gt;REFERENCE Greenberg 174--184&lt;br /&gt;HINT Try and reinforce the students knowledge of loops, teach loops very gently the student will only have a brief knowedge of them&lt;br /&gt;PROGRAM Develop a progam similar in complexity to the one that you describe.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;CHUNK 35&lt;/span&gt;&lt;br /&gt;TITLE  Programs with points 2&lt;br /&gt;DESCRIPTION Greenberg 174--184 describes programs which are based on the display of points. Describe a program that could have been written of this section. Make sure that you use plenty of loops and describein detail what they do. Try and use some arrays in this part of the book.&lt;br /&gt;OUTCOME&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Develop a program similar in complexity to the one described in this part of the book&lt;/li&gt;&lt;/ul&gt;REFERENCE Greenberg 174--184&lt;br /&gt;HINT Try and reinforce the students knowledge of loops and arrays, teach them very gentlythe student will only have a brief knowedge of them&lt;br /&gt;PROGRAM Develop a progam similar in complexity to the one that you describe.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;CHUNK 36&lt;/span&gt;&lt;br /&gt;TITLE  Drawing lines 1&lt;br /&gt;DESCRIPTION First describe Processing's line functions. Then describe a simple program of similar complexity to that found in Greenberg 188--189. Employ quite a few loops&lt;br /&gt;OUTCOMES&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Understand the function of the various line functions detailed in the text.&lt;/li&gt;&lt;li&gt;Use the various line functions detailed in the text.&lt;/li&gt;&lt;/ul&gt;REFERENCE Greenberg 196--199 and Greenberg 185--189&lt;br /&gt;HINT This is quite a substantial amount of work. Try and explain any loops in the program you present gently: the reader is still getting used to them.&lt;br /&gt;PROGRAM Amend the program you present so that it carries out a slighly different funcion.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;CHUNK 37&lt;/span&gt;&lt;br /&gt;DESCRIPTION Describe a simple program of similar complexity to that found in Greenberg 188--189. Employ quite a few loops and some arrays.&lt;br /&gt;OUTCOME&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Use the various line functions detailed in the text.&lt;/li&gt;&lt;/ul&gt;REFERENCE Greenberg 196--199 and Greenberg 185--189&lt;br /&gt;HINT This is quite a substantial amount of work. Try and explain any loops and arrays in the  program you present gently: the reader is still getting used to them.&lt;br /&gt;PROGRAM Amend the program you present so that it carries out a slighly different funcion.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;CHUNK 38&lt;/span&gt;&lt;br /&gt;TITLE  Drawing lines 3&lt;br /&gt;DESCRIPTION Describe a simple program of similar complexity to that found in Greenberg 188--189. Employ quite a few loops and some arrays.&lt;br /&gt;OUTCOME&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Use the various line functions detailed in the text.&lt;/li&gt;&lt;/ul&gt;REFERENCE Greenberg 196--199 and Greenberg 185--189&lt;br /&gt;HINT The previous two chunks of the text will have taught loops and arrays so assume that the reader is happy with these concepts.&lt;br /&gt;PROGRAM Amend the program you present so that it carries out a slighly different funcion.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;CHUNK 39&lt;/span&gt;&lt;br /&gt;TITLE  Two dimensional arrays&lt;br /&gt;DESCRIPTION The reader will be used to single dimensional arrays. Teach them about two-dimensional arrays at this point in the book. Use a simple program to illustrate the use of such arrays.&lt;br /&gt;OUTCOMES&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Understand programming statements that contain two dimensional arrays&lt;/li&gt;&lt;li&gt;Develop simple programs that contain two dimensional arrays.&lt;/li&gt;&lt;/ul&gt;REFERENCE No references&lt;br /&gt;HINT Perhaps use a simple shape drawing program that stores x and y coordinates in a two-dimensional array&lt;br /&gt;PROGRAM Develop a progrm similar to the one you describe in the text&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;CHUNK 40&lt;/span&gt;&lt;br /&gt;TITLE  Vertex functions&lt;br /&gt;DESCRIPTION Describe the concept of a vertex function and provide a programming example more complex than the one found in Greenberg 211--212.&lt;br /&gt;OUTCOMES&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Understand how to use vertex functions.&lt;/li&gt;&lt;li&gt;Use vertex functions.&lt;/li&gt;&lt;/ul&gt;REFERENCE Greenberg 213--219&lt;br /&gt;PROGRAM Develop a program similar to the one that you use in the text.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/939797291883972929-5659968103347999114?l=bookfragments.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bookfragments.blogspot.com/feeds/5659968103347999114/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=939797291883972929&amp;postID=5659968103347999114' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/939797291883972929/posts/default/5659968103347999114'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/939797291883972929/posts/default/5659968103347999114'/><link rel='alternate' type='text/html' href='http://bookfragments.blogspot.com/2008/09/chunks-31-to-40.html' title='Chunks 31 to 40'/><author><name>d.c.ince</name><uri>http://www.blogger.com/profile/17138852430931498108</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-939797291883972929.post-2005104217198080426</id><published>2008-09-07T11:23:00.000+01:00</published><updated>2008-09-07T11:49:31.596+01:00</updated><title type='text'>Chunks 21 to 30</title><content type='html'>&lt;span style="font-weight: bold;"&gt;CHUNK 21&lt;/span&gt;&lt;br /&gt;TITLE  Coordinate systems and pixels&lt;br /&gt;DESCRIPTION Write an interesting introduction to coordinate systems and pixels. Dont worry about the BufferedImage class&lt;br /&gt;OUTCOMES&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Be able to locate a point using its coordinates.&lt;/li&gt;&lt;li&gt;Be able to describe what a pixel is.&lt;/li&gt;&lt;/ul&gt;REFERENCE Greenberg 109--114&lt;br /&gt;HINT This can be deadly dull. Might be worth showing some small program fragments which use coordinates.&lt;br /&gt;PROGRAM Write a program that allows the student to explore the notion of a pixel and its coordinates.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;CHUNK 22&lt;/span&gt;&lt;br /&gt;TITLE  Vector graphics and animation&lt;br /&gt;DESCRIPTION Like chunk 22 this is descriptive. Concentrate on the difference between vector graphics and pixel-based graphics.When describing animation point the reader at some really good examples on the web. They don't have to be &lt;span style="font-style: italic;"&gt;Processing &lt;/span&gt;based&lt;br /&gt;OUTCOMES&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Describe the difference between vector and pixel-based graphics&lt;/li&gt;&lt;li&gt;Describe in conceptual terms how animation works.&lt;/li&gt;&lt;/ul&gt;REFERENCE Greenberg 116--118&lt;br /&gt;HINT Try and find some really nice examples, some used for commercial reasons, some for educational and some for scientific reasons&lt;br /&gt;PROGRAM No program neeeded for this part of the book.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;CHUNK 23&lt;/span&gt;&lt;br /&gt;TITLE  An introduction to algebra&lt;br /&gt;DESCRIPTION This is a straightforward introduction to algebra. Many of the readers of the book may behappy with this topic but some will not.&lt;br /&gt;OUTCOMES&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Be able to evaluate an algebraic expression&lt;/li&gt;&lt;li&gt;Be able to simplify an algebraic expression using the laws described.&lt;/li&gt;&lt;/ul&gt;REFERENCE Greenberg 119--122&lt;br /&gt;HINT Take this slowly with lots of examples. Greenberg lacks these.&lt;br /&gt;PROGRAM No program is needed for this part of the book&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;CHUNK 24&lt;/span&gt;&lt;br /&gt;TITLE An introduction to geometry&lt;br /&gt;DESCRIPTION Describe points and lines. Use a computer program to illustrate the main concepts.&lt;br /&gt;OUTCOMES&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Be able to define the equation of a line.&lt;/li&gt;&lt;li&gt;Be able to recognise an equation as representing a line&lt;/li&gt;&lt;li&gt;Be able to define the terms slope and intercept.&lt;/li&gt;&lt;/ul&gt;REFERENCE Greenberg 123--124&lt;br /&gt;HINT Take this very slowly: a knowledge of points, lines and curves (next chunk) is vital to an understanding of the rest of the book.&lt;br /&gt;PROGRAM Develop a program which teaches the student the main concepts described here. For example a program that draws a line with a user defined slope and/or intercept. Dont worry about showing the student the code.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;CHUNK 25&lt;/span&gt;&lt;br /&gt;TITLE  Curves&lt;br /&gt;DESCRIPTION Describe the difference between curves and lines. Describe a program that generates a curve. Greenberg goes to town on secants, try and simplify the description so that you can just describe the drawing of a curve as the development of a series of straight lines.&lt;br /&gt;OUTCOMES&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Develop a simple program that draws a curve.&lt;/li&gt;&lt;li&gt;Understand the difference between curves whose leading term has different powers, for example quadratic and cubic.&lt;/li&gt;&lt;li&gt;Describe how a curve is generated using lines.&lt;/li&gt;&lt;/ul&gt;REFERENCE Greenberg 124--131&lt;br /&gt;HINT Dont overcomplicate this section. Greenberg does, really try and simplify it to its essence.&lt;br /&gt;PROGRAM Develop a program that shows how curves are drawn. The student does not have to understand the curve. All he or she has to do is to experiment with it.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;CHUNK 26&lt;/span&gt;&lt;br /&gt;TITLE  Event handling&lt;br /&gt;DESCRIPTION Events are an important idea within Java and within Processing. Describe some simple mouse events and  show the code for them. Bring it all together in a whole program.&lt;br /&gt;OUTCOMES&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Write simple code which involves mouse events.&lt;/li&gt;&lt;li&gt;Understand code that contains mouse handling events&lt;/li&gt;&lt;/ul&gt;REFERENCE Greenberg 140--141&lt;br /&gt;HINT Not really a difficult section if you keep to mouse handling; don't be tempted to look at other events.&lt;br /&gt;PROGRAM Develop a simple program that illustrates the concepts.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;CHUNK 27&lt;/span&gt;&lt;br /&gt;TITLE  An introduction to Processing&lt;br /&gt;DESCRIPTION This is the first of a series of introductions to the Processing environment. In this one you will just introduce the main features of the environment.&lt;br /&gt;OUTCOME&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Understand what each of the six componenents of the Processing environment do.&lt;/li&gt;&lt;/ul&gt;REFERENCE Greenberg 144--150&lt;br /&gt;HINT Try and condense the description given by Greenberg a bit&lt;br /&gt;PROGRAM Don't develop a program but develop a set of exercises which take the reader through the use of &lt;span style="font-style: italic;"&gt;Processing&lt;/span&gt;. Make them step by stepwith a description of what happens if the step was succesful andwarnings about some of the errors that could be made.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;CHUNK 28&lt;/span&gt;&lt;br /&gt;TITLE  The File and Edit menus in Processing&lt;br /&gt;DESCRIPTION In this section of the book describe what each of these menus does. Pure description here. However, see below for how to give the stduent some experience of the use of these menus&lt;br /&gt;OUTCOMES&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Understand the main functions of the &lt;span style="font-style: italic;"&gt;File &lt;/span&gt;menu.&lt;/li&gt;&lt;li&gt;Understand the main functions of the &lt;span style="font-style: italic;"&gt;Edit &lt;/span&gt;menu.&lt;/li&gt;&lt;/ul&gt;REFERENCE Greenberg 150--154&lt;br /&gt;HINT This relatively straightforward. Most of the real teaching will come in the exercise below.&lt;br /&gt;PROGRAM Take the student thorugh the use of these menus by showing the actions on a simple &lt;span style="font-style: italic;"&gt;Processing &lt;/span&gt;program.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;CHUNK 29&lt;/span&gt;&lt;br /&gt;TITLE  The Sketch and Tools menus in Processing&lt;br /&gt;DESCRIPTION In this section of the book describe what each of these menus does. Pure description here. However, see below for how to give the stduent some experience of the use of these menus&lt;br /&gt;OUTCOMES&lt;br /&gt;Understand the main functions of the &lt;span style="font-style: italic;"&gt;Sketch &lt;/span&gt;menu.&lt;br /&gt;Understand the main functions of the &lt;span style="font-style: italic;"&gt;Tools &lt;/span&gt;menu.&lt;br /&gt;REFERENCE Greenberg 153--157&lt;br /&gt;HINT This relatively straightforward. Most of the real teaching will come in the exercise below.&lt;br /&gt;PROGRAM Take the student thorugh the use of these menus by showing the actions on a simple &lt;span style="font-style: italic;"&gt;Processing &lt;/span&gt;program.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;CHUNK 30&lt;/span&gt;&lt;br /&gt;TITLE  Continuous mode in Processing&lt;br /&gt;DESCRIPTION Describe basic mode but quickly move onto coninuous mode. Use a programming example similar to the one which starts on Greenberg 159 to do some teaching on functions. The example in Greenberg is too complicated try something a little easier.&lt;br /&gt;OUTCOME&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Understand the use of functions in Processing's continuous mode&lt;/li&gt;&lt;/ul&gt;REFERENCE Greenberg 158--161&lt;br /&gt;HINT Try and describe a relatively easy program but use around four functions.&lt;br /&gt;PROGRAM Develop a program similar in complexity to the one that you describe in the text.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/939797291883972929-2005104217198080426?l=bookfragments.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bookfragments.blogspot.com/feeds/2005104217198080426/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=939797291883972929&amp;postID=2005104217198080426' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/939797291883972929/posts/default/2005104217198080426'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/939797291883972929/posts/default/2005104217198080426'/><link rel='alternate' type='text/html' href='http://bookfragments.blogspot.com/2008/09/chunks-21-to-30.html' title='Chunks 21 to 30'/><author><name>d.c.ince</name><uri>http://www.blogger.com/profile/17138852430931498108</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-939797291883972929.post-6392809563703837800</id><published>2008-09-07T10:57:00.000+01:00</published><updated>2008-09-07T11:22:51.828+01:00</updated><title type='text'>Chunks 11 to 20</title><content type='html'>&lt;span style="font-weight: bold;"&gt;CHUNK 11&lt;/span&gt;&lt;br /&gt;TITLE Switch and ternary conditions&lt;br /&gt;DESCRIPTION Describe the switch as a multi-way if statement and also describe ternary expressions (two or three examples here). Use a program of similar complexity to Greenberg 77--78 to illustrate the ideas&lt;br /&gt;OUTCOMES&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Write switch statements&lt;/li&gt;&lt;li&gt;Write ternary statements&lt;/li&gt;&lt;li&gt;Understand programs similar in complexity to the one that you describe&lt;/li&gt;&lt;/ul&gt;REFERENCE Greenberg 81--83&lt;br /&gt;HINT  This is not a complicated topic provided the reader has got the idea of an if statement.&lt;br /&gt;PROGRAM Develop a program similar in complexity to the one you described in your text.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;CHUNK 12&lt;/span&gt;&lt;br /&gt;TITLE  Arrays and for statements&lt;br /&gt;DESCRIPTION Describe single-dimensional arrays and show how for statements can access such arrays.This is a very tricky topic for the beginning programmer so use lots of examples.  Describe a program of similar complexity to Greenberg 90--92. Teach brackets in the context of for statements as well. Students will have met brackets before but assume that they only have a hazy idea.&lt;br /&gt;OUTCOMES&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Be able to look at a section of code which contains a for statement and array references and describe what it does.&lt;/li&gt;&lt;li&gt;Be able to develop simple sections of code that involves a for statement and array references&lt;/li&gt;&lt;li&gt;Understand a program of similar complexity to the one you describe in text.&lt;/li&gt;&lt;/ul&gt;REFERENCE Greenberg 87--92&lt;br /&gt;HINT Please dont make the programs too complicated: loops are a really difficult concept for beginning students.&lt;br /&gt;PROGRAM Develop a program similar in complexity to the one you describe in the text&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;CHUNK 13&lt;/span&gt;&lt;br /&gt;TITLE  While statements&lt;br /&gt;DESCRIPTION Describe the two forms of while statement. Students really find this a tough topic so go very gently with lots of examples. Use arrays as much as possible but start of with a simple non-array example such as summing the first n integers. Develop a program similar to Greenberg 90--92&lt;br /&gt;OUTCOMES&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Be able to understand a simple while loop involving a single dimensional array&lt;/li&gt;&lt;li&gt;Be able to develop a simple while loop involving a single dimensional array&lt;/li&gt;&lt;li&gt;Be able to understand a program of a similar complexity to that described in your text&lt;/li&gt;&lt;/ul&gt;REFERENCE Greenberg 85--87&lt;br /&gt;HINT This probably the toughest part of the book so far, take it very gently with lots of  small examples between three and five lines of code&lt;br /&gt;PROGRAM Develop a program similar to the one you describe in the text.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;CHUNK 14&lt;/span&gt;&lt;br /&gt;TITLE  Functions 1&lt;br /&gt;DESCRIPTION In this part of the book I want you to introduce the function as a name for a chunk of code. keep to functions that return void. Lots of examples are needed and really teach the concept of an argument. Describe a computer program that uses functions similar in complexity to that in Greenberg 98--99. Revisit brackets and describe what they do as delineters of function text.&lt;br /&gt;OUTCOMES&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Be able to create a simple function.&lt;/li&gt;&lt;li&gt;Be able to understand the notion of an argument&lt;/li&gt;&lt;li&gt;Be able to call a function correctly&lt;/li&gt;&lt;/ul&gt;REFERENCE Greenberg 96--100 (stopping at the 8th line down)&lt;br /&gt;HINT It's arguments that give all the problems here. Really give lots of examples.&lt;br /&gt;PROGRAM Develop a program that is similar in complexity to the one that you describe in the text.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;CHUNK 15&lt;/span&gt;&lt;br /&gt;TITLE  Functions 2&lt;br /&gt;DESCRIPTION In this part of the book we would like you to look at function overloading and the use of return values (so far the functions have been void). Describe a computer program  that uses non-void functions similar in complexity to Greenberg 98--99.&lt;br /&gt;OUTCOMES&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Be able to describe the difference between functions with the same name and different numbers of arguments.&lt;/li&gt;&lt;li&gt;Be able to program functions which have a non-void return type. &lt;/li&gt;&lt;/ul&gt;REFERENCE Greenberg 100--104&lt;br /&gt;HINT If the reader has got an idea of arguments and the function as a name for a code block then this part of the text should be straightforward.&lt;br /&gt;PROGRAM Develop a program similar to the one that you describe in the text.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;CHUNK 16  &lt;/span&gt;&lt;br /&gt;TITLE  Example 1&lt;br /&gt;DESCRIPTION Describe a program that uses all the Java facilities that have been described in Greenberg 58--104; use no other facilities. Make it quite substantial, say around 100 lines of Java code. Present the full listing and then go through it section by section. Concentrate on the tough facilities in your description: while statements, functions, arguments in functions and brackets. Make the program visually exciting. This is one of four examples at this point in the book.&lt;br /&gt;OUTCOME&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Understand a program of the level of complexity of the one presented.&lt;/li&gt;&lt;/ul&gt;REFERENCE Greenberg 58--104&lt;br /&gt;HINT Take it very gently, dont be afraid to be boring and painstaking: a reader who cannot get past this and the following three examples will be severely limited.&lt;br /&gt;PROGRAM Amend the program presented in the text so that its functionality is changed, for example by changing the code within a function.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;CHUNK 17&lt;/span&gt;&lt;br /&gt;TITLE  Example 2&lt;br /&gt;DESCRIPTION Describe a program that uses all the Java facilities that have been described in Greenberg 58--104; use no other facilities. Make it quite substantial, say around 100 lines of Java code. Present the full listing and then go through it section by section. Concentrate on the tough facilities in your description: while statements, functions, arguments in functions and brackets. Make the program visually exciting. This is one of four examples at this point in the book.&lt;br /&gt;OUTCOME&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Understand a program of the level of complexity of the one presented.&lt;/li&gt;&lt;/ul&gt;REFERENCE Greenberg 58--104&lt;br /&gt;HINT Take it very gently, dont be afraid to be boring and painstaking: a reader who cannot get past this and the other previous and next two examples will be severely limited.&lt;br /&gt;PROGRAM Amend the program presented in the text so that its functionality is changed, for example by changing the code within a function.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;CHUNK 18&lt;/span&gt;&lt;br /&gt;TITLE  Example 3&lt;br /&gt;DESCRIPTION Describe a program that uses all the Java facilities that have been described in Greenberg 58--104; use no other facilities. Make it quite substantial, say around 100 lines of Java code. Present the full listing and then go through it section by section. Concentrate on the tough facilities in your description: while statements, functions, arguments in functions and brackets. Make the program visually exciting. This is one of four examples at this point in the book.&lt;br /&gt;OUTCOME&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Understand a program of the level of complexity of the one presented.&lt;/li&gt;&lt;/ul&gt;REFERENCE Greenberg 58--104&lt;br /&gt;HINT Take it very gently, dont be afraid to be boring and painstaking: a reader who cannot get past this and the previous two examples and next example will be severely limited.&lt;br /&gt;PROGRAM Amend the program presented in the text so that its functionality is changed, for example by changing the code within a function.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;CHUNK 19&lt;/span&gt;&lt;br /&gt;TITLE  Example 4&lt;br /&gt;DESCRIPTION Describe a program that uses all the Java facilities that have been described in Greenberg 58--104; use no other facilities. Make it quite substantial, say around 100 lines of Java code. Present the full listing and then go through it section by section. Concentrate on the tough facilities in your description: while statements, functions, arguments in functions and brackets. Make the program visually exciting. This is one of four examples at this point in the book.&lt;br /&gt;OUTCOME&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Understand a program of the level of complexity of the one presented.&lt;/li&gt;&lt;/ul&gt;REFERENCE Greenberg 58--104&lt;br /&gt;HINT Take it very gently, dont be afraid to be boring and painstaking: a reader who cannot get past this and the other three examples will be severely limited.&lt;br /&gt;PROGRAM Amend the program presented in the text so that its functionality is changed, for example by changing the code within a function.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;CHUNK 20&lt;/span&gt;&lt;br /&gt;TITLE  Computer graphics applications&lt;br /&gt;DESCRIPTION Find some really interesting computer graphcis applications in the four areas mentioned in Greenberg 108 and describe them&lt;br /&gt;OUTCOME&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Be able to describe the types of applications detailed in Greenberg 108.&lt;/li&gt;&lt;/ul&gt;REFERENCE Greenberg 108&lt;br /&gt;HINT Embed the links in the text&lt;br /&gt;PROGRAM No programs are needed for this part of the book&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/939797291883972929-6392809563703837800?l=bookfragments.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bookfragments.blogspot.com/feeds/6392809563703837800/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=939797291883972929&amp;postID=6392809563703837800' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/939797291883972929/posts/default/6392809563703837800'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/939797291883972929/posts/default/6392809563703837800'/><link rel='alternate' type='text/html' href='http://bookfragments.blogspot.com/2008/09/chunks-11-to-20.html' title='Chunks 11 to 20'/><author><name>d.c.ince</name><uri>http://www.blogger.com/profile/17138852430931498108</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-939797291883972929.post-4605521998318952319</id><published>2008-09-07T10:26:00.000+01:00</published><updated>2008-09-07T10:56:00.316+01:00</updated><title type='text'>Chunks 1 to 10</title><content type='html'>&lt;span style="font-weight: bold;"&gt;CHUNK 1&lt;/span&gt;&lt;br /&gt;TITLE  Intro to Computer Art”     &lt;br /&gt;DESCRIPTION Introduce the main concepts of computer art. Include web links to some sites with some stunning examples.&lt;br /&gt;OUTCOME&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Understand the variety of effects that can be achieved using Processing and other technologies such as Flash.&lt;/li&gt;&lt;/ul&gt;REFERENCE Greenberg 8--23&lt;br /&gt;HINT Don’t write more than 2000 words.&lt;br /&gt;PROGRAM No program needed for this chunk.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;CHUNK 2&lt;/span&gt;&lt;br /&gt;TITLE  Introduction to Java&lt;br /&gt;DESCRIPTION Introduce Java concentrating on its history. Don’t show any programs. Best to describe a very simple program that draws a couple of lines. Remember the reader will not be a programmer.&lt;br /&gt;OUTCOMES&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Understand how Java emerged from the programming language jungle.&lt;/li&gt;&lt;li&gt;       Describe the main features ,e.g. portability, of the language.&lt;/li&gt;&lt;/ul&gt;REFERENCE Use the web&lt;br /&gt;HINT Don’t clutter the description with code, remember this is an introduction. No more than half a dozen lines.&lt;br /&gt;PROGRAM No program needed for this chunk.&lt;br /&gt;    &lt;br /&gt;&lt;span style="font-weight: bold;"&gt;CHUNK  3&lt;/span&gt;&lt;br /&gt;TITLE  Algorithms 1&lt;br /&gt;DESCRIPTION  An introduction to algorithms. Describe an algorithm in everyday terms, for example show how a cooking recipe is a form of algorithm.&lt;br /&gt;OUTCOMES&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Understand that an algorithm is a description of a computer program.&lt;/li&gt;&lt;li&gt;Write down a simple algorithm which describes an everyday activity.&lt;/li&gt;&lt;/ul&gt;REFERENCE Greenberg 41&lt;br /&gt;HINT Don’t do looping or conditional statements, leave this to the next two chunks. Keep to an informal style of presentation.&lt;br /&gt;PROGRAM No program needed for this chunk.&lt;br /&gt;    &lt;br /&gt;&lt;span style="font-weight: bold;"&gt;CHUNK  4&lt;/span&gt;&lt;br /&gt;TITLE Algorithms 2”   &lt;br /&gt;DESCRIPTION A continuation of the previous chunk. This time include simple if statements, no loops though.&lt;br /&gt;OUTCOMES&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Understand the flow of control in a simple &lt;span style="font-style: italic;"&gt;if &lt;/span&gt;statement.&lt;/li&gt;&lt;li&gt;Understand the flow of control in an &lt;span style="font-style: italic;"&gt;if-else&lt;/span&gt; statement.&lt;/li&gt;&lt;li&gt;Develop simple everyday algorithms that use if statements.&lt;/li&gt;&lt;/ul&gt;REFERENCE None&lt;br /&gt;HINT Keep to an informal style of presentation. Use Java keywords for the &lt;span style="font-style: italic;"&gt;if&lt;/span&gt; and &lt;span style="font-style: italic;"&gt;if-else&lt;/span&gt;. Use an example of a nested &lt;span style="font-style: italic;"&gt;if &lt;/span&gt;towards the end.&lt;br /&gt;PROGRAM No program needed for this chunk.&lt;br /&gt;    &lt;br /&gt;&lt;span style="font-weight: bold;"&gt;CHUNK 5&lt;/span&gt;&lt;br /&gt;TITLE  Algorithms&lt;br /&gt;DESCRIPTION A continuation of the previous chunk. This time include simple while statements.&lt;br /&gt;OUTCOMES&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Understand the flow of control in a &lt;span style="font-style: italic;"&gt;while &lt;/span&gt;statement.&lt;/li&gt;&lt;li&gt;Understand the flow of control in a do-while statement.&lt;/li&gt;&lt;li&gt;Develop simple everyday algorithms that use while statements.&lt;/li&gt;&lt;li&gt;Develop simple everyday algorithms that use do-while statements.&lt;/li&gt;&lt;/ul&gt;REFERENCE None&lt;br /&gt;HINT Keep to an informal style of presentation. Use Java keywords for the while and &lt;span style="font-style: italic;"&gt;do-while&lt;/span&gt; constructs, you can use if statements in your examples.&lt;br /&gt;PROGRAM No program needed for this chunk.&lt;br /&gt;    &lt;br /&gt;&lt;span style="font-weight: bold;"&gt;CHUNK 6&lt;/span&gt;&lt;br /&gt;TITLE  Name =Two simple programs  &lt;br /&gt;DESCRIPTION Describe two simple programs that do not use any conditions or looping, for example a program that drew a number of horizontal lines in different colours.&lt;br /&gt;OUTCOMES&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Be able to understand programs made up from the elements described in the two programs.&lt;/li&gt;&lt;/ul&gt;REFERENCE Greenberg  59--61”&lt;br /&gt;HINT Use the Greenberg reference as an example , introduce comments here.&lt;br /&gt;PROGRAM Develop two programs similar to those described.&lt;br /&gt;    &lt;br /&gt;&lt;span style="font-weight: bold;"&gt;CHUNK 7&lt;/span&gt;&lt;br /&gt;TITLE  Basic types and naming conventions&lt;br /&gt;DESCRIPTION Introduce the types int, float, String and Boolean. Also describe the naming  conventions described in Greenberg.  Describe literals and teach the student that Java is strongly typed&lt;br /&gt;OUTCOMES&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Understand naming conventions.&lt;/li&gt;&lt;li&gt;Detect typing errors in a program such as an int being assigned to a string&lt;/li&gt;&lt;li&gt;Declare variables and set them equal to literals.&lt;/li&gt;&lt;/ul&gt;REFERENCE Greenberg 63--67&lt;br /&gt;HINT This is a pretty boring section which is quite easy to write.  Try and describe a simple  program that includes all the stuff in this chunk.&lt;br /&gt;PROGRAM Develop a program similar to the one described.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;CHUNK 8&lt;/span&gt;&lt;br /&gt;TITLE  Big linear program&lt;br /&gt;DESCRIPTION Describe simple assignments such as x = y/12 and x=x+1. Careful teaching needed here. Then describe a program of the same level of complexity as that in Greenberg 68-69 which employs some simple assignments, you may need to describe functions such as fill.&lt;br /&gt;OUTCOME&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Be able to describe the effect of a simple assignment statement.&lt;/li&gt;&lt;/ul&gt;REFERENCE Greenberg 68--69&lt;br /&gt;HINT Don't make the assignment statements too complex x=x+1 is probably the most complex.&lt;br /&gt;PROGRAM Develop a similar program to the one described.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;CHUNK Id= 9&lt;/span&gt;&lt;br /&gt;TITLE  Operators&lt;br /&gt;DESCRIPTIONThis part of the book should describe arithmetic operators, logical operators and relational operators. This fairly standard Java teaching stuff. Show them in use with a program similar to that found in Greenberg 68-69. Explain carefully what functions do and use functions you employ in your program as teaching.&lt;br /&gt;OUTCOMES&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Be able to evaluate a simple conditional expression using logical relational and arithmetic operators.&lt;/li&gt;&lt;li&gt;Be able to take an English statement and turn it into a conditional expression using logical, relational and arithmetic operators.&lt;/li&gt;&lt;li&gt;Be able to detect syntax errors in the above conditional expressions&lt;/li&gt;&lt;/ul&gt;REFERENCE Greenberg 72--74&lt;br /&gt;HINT Take this quite gently, use a straight line program similar to that found in Greenberg 68-69 to illustrate the ideas.&lt;br /&gt;PROGRAM Develop a simple straight line program similar to the one you use to describe the concepts in this part of the book&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;CHUNK 10&lt;/span&gt;&lt;br /&gt;TITLE  Conditional statements&lt;br /&gt;DESCRIPTION For this part of the book we want you to teach conditional statements. Use a program similar to that in Greenbeg 77-78. You will need to do some teaching on the use of functions (chunk 9 does some teaching) such as setup and framerate. Best to do this first before you look at conditionals; however it is up to you. You will also need to do some teaching about brackets in the context of conditional statements&lt;br /&gt;OUTCOMES&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Understand programs similar to that in Greenberg 77--78.&lt;/li&gt;&lt;li&gt;Write conditional statements similar in complexity to that found in Greenberg 77-78.&lt;/li&gt;&lt;li&gt;Detect syntax errors in conditional statements&lt;/li&gt;&lt;/ul&gt;REFERENCE Greenberg 76--81&lt;br /&gt;HINT Although the students will understand what a function is I would still teach them this carefully&lt;br /&gt;PROGRAM Develop a program similar to the one you use in the text.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/939797291883972929-4605521998318952319?l=bookfragments.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bookfragments.blogspot.com/feeds/4605521998318952319/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=939797291883972929&amp;postID=4605521998318952319' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/939797291883972929/posts/default/4605521998318952319'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/939797291883972929/posts/default/4605521998318952319'/><link rel='alternate' type='text/html' href='http://bookfragments.blogspot.com/2008/09/chunks-1-to-10.html' title='Chunks 1 to 10'/><author><name>d.c.ince</name><uri>http://www.blogger.com/profile/17138852430931498108</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry></feed>
