Microsoft® Small Basic Exploring Shapes Estimated time to complete this lesson: 1 hour.

Slides:



Advertisements
Similar presentations
Microsoft® Small Basic
Advertisements

Objectives Build and modify an organization chart.
Microsoft® Small Basic Graduating to the Microsoft Visual Basic® development environment Estimated time to complete this lesson: 1 hour.
Microsoft® Small Basic Statements, Properties, and Operations Estimated time to complete this lesson: 1 hour.
Microsoft® Small Basic
Microsoft® Small Basic
Macromedia Director 8 Foundation Level Course. What is Director? Director is a challenging program for creating animation and multimedia productions for.
PowerPoint An Introduction to the Good Stuff. Shapes & Drawing Tools Make sure the drawing toolbar is visible  View → Toolbars → Drawing For more drawing.
Microsoft® Small Basic
Microsoft® Small Basic Advanced Games Estimated time to complete this lesson: 1 hour.
Microsoft® Small Basic Debugging Aids Estimated time to complete this lesson: 1 hour.
Microsoft® Small Basic Clock, Desktop, and Dictionary Objects Estimated time to complete this lesson: 1 hour.
XP New Perspectives on Microsoft Office Excel 2003, Second Edition- Tutorial 3 1 Microsoft Office Excel 2003 Tutorial 3 – Developing a Professional- Looking.
Microsoft PowerPoint ® 2003 Carl B. Struck Presentation Graphics n Educational, business, sales and other presentations (slide shows) n Combination of.
Sketchify Tutorial Graphics and Animation in Sketchify sketchify.sf.net Željko Obrenović
Project Plan Formatting – Fundamentals Lesson 6. Skills Matrix SkillsMatrix Skill Format a Gantt ChartModify the Gantt Chart using the Bar Styles dialog.
Microsoft® Small Basic The Math Object Estimated time to complete this lesson: 1 hour.
Graphics and Multimedia. Introduction The language contains many sophisticated drawing capabilities as part of namespace System.Drawing and the other.
Microsoft® Small Basic Sharing Code Estimated time to complete this lesson: 1 hour.
By: Zaiba Mustafa Copyright ©
Microsoft® Small Basic Clock, Desktop, and Dictionary Objects Estimated time to complete this lesson: 1 hour.
XP New Perspectives on Microsoft Word 2002 Tutorial 41 Microsoft Word 2002 Tutorial 4 – Desktop Publishing a Newsletter.
Microsoft® Small Basic The Controls Object Estimated time to complete this lesson: 1 hour.
1 Word Lesson 4 Working with Graphic Objects Microsoft Office 2010 Fundamentals Story / Walls.
Chapter 3 Working with Symbols and Interactivity.
XP Tutorial 7 New Perspectives on Microsoft Windows XP 1 Microsoft Windows XP Working with Graphics Tutorial 7.
Microsoft® Small Basic
Creating a Basic Presentation in PowerPoint Welcome to the Faculty Instructional Technology Support Center.
Microsoft Office Excel 2003 Tutorial 3 – Developing a Professional-Looking Worksheet.
© 2011 Delmar, Cengage Learning Chapter 3 Working with Symbols and Interactivity.
Working with Symbols and Interactivity
Microsoft® Small Basic
Addison Wesley is an imprint of © 2010 Pearson Addison-Wesley. All rights reserved. Chapter 7 The Game Loop and Animation Starting Out with Games & Graphics.
T U T O R I A L  2009 Pearson Education, Inc. All rights reserved CheckWriter Application Introducing Graphics and Printing.
Pasewark & Pasewark 1 Access Lesson 5 Creating and Modifying Reports Microsoft Office 2007: Introductory.
Microsoft ® Office PowerPoint ® 2003 Training Create your own template [Your company name] presents:
Introduction to Java Simple Graphics. Objects and Methods Recall that a method is an action which can be performed by an object. –The action takes place.
Laboratory Exercise # 9 – Inserting Graphics to Documents Office Productivity Tools 1 Laboratory Exercise # 9 Inserting Graphics to Documents Objectives:
Google Sketchup. What is Sketchup SketchUp is a very powerful 3-D modeling software of the type used by architects and drafters. In three dimensional.
Lesson 10 Using AutoShapes, WordArt, and Comments Lesson 10 Using AutoShapes, WordArt, and Comments.
Microsoft® Small Basic Collision Detection Estimated time to complete this lesson: 1 hour.
Loops & Graphics IP 10 Mr. Mellesmoen Recall Earlier we wrote a program listing numbers from 1 – 24 i=1 start: TextWindow.WriteLine(i) i=i+1 If.
Microsoft Visual Basic 2005 BASICS Lesson 1 A First Look at Microsoft Visual Basic.
Concept of Multimedia Steps in Multimedia Development Introduction to Presentation Software Starting Presentation Software Lesson 13.
Exploring the Macromedia Flash Workspace – Lesson 2 1 Exploring the Macromedia Flash Workspace Lesson 2.
Welcome to PowerPoint for Beginners In-Tech Training Elementary School Teachers Day 2 January 13 and 14, 2003.
Pasewark & Pasewark 1 Access Lesson 5 Creating and Modifying Reports Microsoft Office 2007: Introductory.
Graphics Concepts CS 2302, Fall /17/20142 Drawing in Android.
1. Chapter 11 Inserting Images 3 Inserting images adds interest to a Word document. Word enables you to insert various types of images, including picture.
Working with Shapes Guided Lesson. Objective  In this lesson you will learn how to insert a shape and format it by changing its fill color, outline color,
Getting Started with Word & Saving Guided Lesson.
CRE Programming Club - Class 5 Robert Eckstein and Robert Heard.
Chapter 20. Copyright 2003, Paradigm Publishing Inc. CHAPTER 20 BACKNEXTEND 20-2 LINKS TO OBJECTIVES Create, Format, and Customize Drawn Objects Create,
Microsoft® Small Basic Flickr, ImageList, and Network Objects Estimated time to complete this lesson: 1 hour.
Microsoft® Small Basic Conditions and Loops Estimated time to complete this lesson: 2 hours.
Adding Interactivity Comp 140 Fall Web 2.0 Major change in internet usage –From mostly static pages Text Graphics Simple links –To new paradigm.
In the last several lessons, you have described translations using coordinates. You have also developed strategies for determining where an object started.
 2002 Prentice Hall. All rights reserved. 1 Introduction to the Visual Studio.NET IDE Outline Introduction Visual Studio.NET Integrated Development Environment.
>>0 >>1 >> 2 >> 3 >> 4 >>
Lesson 18 Graphics and Charts. Overview Insert clip art. Move and format clip art. Create WordArt. Create text boxes. Create shapes. Creating diagrams.
Workshop 3.1 Sketching DesignModeler.
Microsoft® Small Basic
Microsoft® Small Basic
A Tiny Look at the Graphics Window
Basic Graphics Drawing Shapes 1.
Microsoft® Small Basic
Microsoft® Small Basic
Microsoft® Small Basic
A Tiny Look at the Graphics Window
Microsoft Publisher 2016.
Presentation transcript:

Microsoft® Small Basic Exploring Shapes Estimated time to complete this lesson: 1 hour

In this lesson, you will learn about: Creating shapes by using the Shapes object. Using various operations of the Shapes object. Animating shapes on the screen. Exploring Shapes

Introduction to the Shapes Object This lesson introduces you to the Shapes object that Small Basic offers! By using this object, you can draw, rotate, and animate shapes in the graphics window. So far, you have learned how to draw patterns in Small Basic by using the GraphicsWindow and the Turtle objects. You can color your shapes by using specific properties of the GraphicsWindow object.

Operations of the Shapes Object By using certain operations of the Shapes object, you can give a vibrant look and feel to the shapes that you create. These operations include:  AddImage  AddRectangle  HideShape  ShowShape  SetOpacity  GetOpacity  Move  Animate  Zoom

Operations of the Shapes Object Let’s look at an example to demonstrate these operations… In this example, we have used the ShowShape, HideShape, and SetOpacity operations of the Shapes object to perform a variety of actions on a rectangle.

Operations of the Shapes Object Let’s examine these operations in detail… AddRectangle—You can define a rectangle by using this operation and specifying the name, width, and height of the rectangle. SetOpacity—You can set the opacity of a shape by using this operation and specifying the name of the shape and an opacity level from 0 to 100. GetOpacity—You can return the opacity of a shape by using this operation and specifying the name of the shape. HideShape—You can hide a shape by using this operation and specifying the name of the shape. ShowShape—You can display a shape by using this operation and specifying the name of the shape.

Operations of the Shapes Object Let’s look at another example to demonstrate more operations… In this example, we used the AddImage operation to display an image. Then we used the Move, Animate, and Zoom operations to perform various actions on the image.

Operations of the Shapes Object Zoom—The Zoom operation enlarges or shrinks a shape to a particular zoom level. You must specify the name of the shape and a zoom level between 0.1 and 20. Animate—This operation animates a shape as it moves to a different position. You must specify the name of the shape, the x-coordinate and y-coordinate of the new position, and the duration of the animation. Move—By using this operation, you can move the shape to a different location in the graphics window. You must specify the name of the shape and the x- coordinate and y-coordinate of the new location. AddRectangle - By using this operation, you can add a rectangle shape that will appear in the graphics window.

You can use the Shapes object to add different types of shapes in your program. You can then perform various operations on the Shapes object, such as moving the shape, setting its opacity, or adding a zoom effect. Let’s look at an example… Operations of the Shape Object Click on the toolbar.

Animating a Shape Let’s see an example of how to animate a shape by using the Shapes object. In this example, you animate a shape from its original position to a different position and back to its original position in the graphics window.

Rotating a Shape Let’s explore some more operations of the Shapes object by writing a program to rotate a shape. In this example, you use a For loop to rotate a shape in its original position in the graphics window. Click on the toolbar. When you run the program, the rectangle rotates in the graphics window.

In addition to drawing shapes of different styles and sizes, you can also create unique shape designs by using conditions and loops in your program. For example, you can use a For loop to create multiple rectangles in random colors… Fun with Shapes

Let’s Summarize… Congratulations! Now you know how to: Create shapes by using the Shapes object. Use various operations of the Shapes object. Animate the shapes on the screen. Create shapes by using the Shapes object. Use various operations of the Shapes object. Animate the shapes on the screen.

Show What You Know Write a program to display a graphics window, and perform the following steps:  Add a line and a circle to the window.  Set the color, size, and location of the shapes.  Animate the circle so that it moves on top of the line from the left side to the right side of the graphics window.