Sunday, September 7, 2008

Chunks 51 to 60

CHUNK 51
TITLE A curve example 1
DESCRIPTION Describe a program that uses the curve drawing idea in Greenberg 246--249, make it relatively complex of around 100 lines of code.
OUTCOME
  • Be able to understand a moderately complex curve drawing program
REFERENCE Greenberg 246--249
HINT Try and make this program visually good, for example use colour
PROGRAM Modify the program that you present in this part of the book so that it does something different

CHUNK 52
TITLE A curve example 2
DESCRIPTION Describe a program that uses the curve drawing idea in Greenberg 246--249, make it relatively complex around 150 lines of code.
OUTCOME
  • Be able to understand a moderately complex curve drawing program
REFERENCE Greenberg 246--249
HINT Try and make this program visually good, for example use colour
PROGRAM Modify the program that you present in this part of the book so that it does something different.

CHUNK 53
TITLE Using trigonometric functions
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.
OUTCOME
  • Understand the nature of trigonometric functions.
  • Understand Processing programs that contain trigonometric funtions.
REFERENCE Greenberg 255--256
HINT Don't go into any of the mathematics of the trig functions
PROGRAM Develop a program similar in complexity to the one that you describe.

CHUNK 54
TITLE Sin in action
DESCRIPTION Describe a program that is similar in complexity to that Greenberg 257--260.
OUTCOME
  • Be able to understand a complex Processing program
REFERENCE Greenberg 257--260
HINT Don't copy the program in Greenberg try and develop something of the same complexity but which is rather different.
PROGRAM Modify the program that you describe so that its functionality is changed.

CHUNK 55
TITLE Polynomials
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
OUTCOME
  • Describe the general form of a polynomial
  • Develop code that draws a particular polynomial.
REFERENCE Greenber 262-267
HINT Keep the programs simple.
PROGRAM No program required.

CHUNK 56
TITLE An introduction to Processing's curve functions
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
OUTCOMES
  • Describe the role of the curve functions in Processing
  • Use the arc method in simple programs no more than 30 lines in length
REFERENCE Greenberg 267--272.
HINT Students might be a bit stunned by the mathematical aspects of curves; so keep the examples simple
PROGRAM Develop a more complicated program using the arc method.

CHUNK 57
TITLE The Bezier function 1
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
OUTCOMES
  • Understand how curves are defined by Bezier functions
  • Develop programs of no more than 30 lines using Bezier functions
REFERENCE Greenberg 272-278
HINT Try and describe a program simpler than that on Greenberg 275-276
PROGRAM Develop a program that is similar in complexity to the one that you use in the text

CHUNK 58
TITLE The Bezier function 2
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
OUTCOMES
  • Develop a simple program of no more than 40 lines which joins up Bezier curves
  • Develop a simple program of no more than 40 lines creates a Bezier function from a higher order function
REFERENCE Greenber 279-280
HINT Take this very gently and try to eliminate the mathematics
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.

CHUNK 59
TITLE An introduction to object-oriented programming
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.
OUTCOMES
  • Understand the broad idea of a class.
  • Understand the broad idea of a method
  • Understand the broad idea of a message
REFERENCE Greenberg 302--303
HINT
Take this very gently, students everyehwere and at every level have problems with object orientation.
PROGRAM Don't write a program for this part of the book.

CHUNK 60
TITLE Classes 1
DESCRIPTION This part of the book should introduce the code behind a class; this will require teaching of the highest order.
OUTCOME
  • Be able to understand the code of a simple class programmed in no more than 30 lines of code
REFERENCE Greenberg 304
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).
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.

No comments: