1 / 9

Just Basic Lesson 18

In this Basic lesson, students will learn how to draw using Basic commands and construct their own drawings. They will send commands to the computer to simulate a virtual pencil moving on the screen. The lesson includes examples and assignments.

sspringer
Download Presentation

Just Basic Lesson 18

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Just Basic Lesson 18 Mr. Kalmes

  2. Objective • Understand how to draw using BASIC commands • Construct their own drawings in BASIC

  3. Concept • You can create drawings with JustBasic. • The idea is to send commands to the computer that tell it to use a virtual pencil that will go up and down off of the screen and move around much like when they put a pencil to paper. The following is a short list of commands that can be given to the computer.

  4. Example

  5. Handout 1 • open “name” for graphics_nsb_nf as #g • up - lift the pen up (don't draw) • down - lower the pen down (draw) • home - place the pen in the center of the graphics area • goto-go to a specified position • place - go to a specified position but don't draw

  6. Handout 2 • 5 Graphic Commands • Box: "box 150 150" • Circle: "circle 63" • Ellipse: "ellipse 100 50" • Line: "line 10 50 10 250" • Filled Shapes • Must have - "backcolor127 127 127 or backcolor color“ • Box: "boxfilled 150 150“ • Circle: "circlefilled63" • Ellipse: "ellipsefilled100 50"

  7. Assignment Part 1: Draw the following shapes • Circle • Triangle (hint: Use lines think coordinate graph) • Bullseye (5 circles with middle one filled) • Clock with hour and minute hand • Snowman with eyes and mouth

  8. Assignment Part 2: Draw the following • You need to draw a beach scene that includes: • Sand • Water • Sky • Sun • Clouds • Kite

  9. Exit Slip • What was the most difficult shape for you to create and why?

More Related