APPLYING MATH PRINCIPLES TO CREATE GRAPHICS FOR
WEB PAGES USING SCHEME PROGRAMMING

Objective:

  1. Create a basic web page in HTML with text and an image.
  2. Create a picture with balloons and a present by programming in DrScheme.
  3. Convert that picture into a gif file.
  4. Add the balloon picture to a web page programmed in HTML.

Activities:

  1. Set up basic web page.
  2. Learn basic drawing commands.
  3. Add present with a bow by applying basic drawing commands.
  4. Convert that picture to a gif file using directions below.
  5. Add that new picture to the basic web page.

Materials:

Contact Information:


CONVERTING TO A GIF FILE

  1. Execute program in Scheme
  2. Hold down alt key and then print screen key
  3. Open up an image editor that has GIF file type such as Paint, Microsoft Photo Editor, IrfanView
  4. Edit / Paste - this will paste the print screen bitmap into the editor.
  5. Choose enlarge file if needed.
  6. Save As - Name file with a short descriptive identifier no spaces
  7. Change file type to .gif
Note advantage of Scheme graphic is the small file size which increases load time.

BACK TO MAIN PAGE