Animations Demonstrates more animation techniques.

Slides:



Advertisements
Similar presentations
Motion in 2 Dimensions Projectile Motion
Advertisements

Motion in 2D o Vectors o Projectile Motion Physics -101 Piri Reis University 2010.
Projectile motion.
1© Manhattan Press (H.K.) Ltd. Monkey and hunter experiment Body projected horizontally under gravity Body projected horizontally under gravity Body projected.
Physics Announcements WebAssign – –Chapter 8 and 9 due Wednesday Exam #2 corrections due Wednesday Revised class schedule posted on website Picture:
Physics  Free fall with an initial horizontal velocity (assuming we ignore any effects of air resistance)  The curved path that an object follows.
 Neglecting air resistance, all objects fall at a rate of 9.8 m/s 2 due to gravity  Because objects fall in a downward direction, we’ll call their acceleration.
Motion in Two Dimensions
Inheritance, Shared. Projectiles Program Demonstrates – Inheritance – MustInherit – Shared vs. Non-shared methods A variation on the Multiball example.
Chapter 2, Part 2 September 5, 2005 (Happy Labor Day)
Physics 151 Week 4 Day 2 Topics –Motion Graphs –Area under a curve (velocity to position) –Constant acceleration equations.
Motion in 2-Dimensions. Projectile Motion A projectile is given an initial force and is then (assuming no air resistance) is only acted on by gravity.
Chapter 3 Motion in Two Dimensions
Chapter 2, Part 3 September 7, A ball is thrown downward (not dropped) from the top of a tower. After being released, its downward acceleration.
SPS8.c Relate falling objects to gravitational force.
Kinematics in Two Dimensions Chapter 3. Expectations After Chapter 3, students will:  generalize the concepts of displacement, velocity, and acceleration.
Adding vectors graphically. Adding vectors using the components method.
Projectile Motion.
Free fall An object undergoing free fall has an acceleration of m/s2 . This varies from the equator when it is m/s2 to the poles when it.
Introduction to Projectile Motion
In this chapter you will:  Use Newton’s laws and your knowledge of vectors to analyze motion in two dimensions.  Solve problems dealing with projectile.
PDT 180 ENGINEERING SCIENCE Vectors And Scalars (Continue)
Physics Lesson 6 Projectile Motion Eleanor Roosevelt High School Mr. Chin-Sung Lin.
Projectile Motion Previously, we studied motion in one direction (linear motion) Projectiles follow a curved path (nonlinear motion) The velocity of a.
General Physics Projectile Motion. What is a Projectile? Name examples of projectiles. A projectile has a constant horizontal velocity. A projectile has.
Physics Lesson 6 Projectile Motion
Page 81 (Ch ) 6. The bowling ball moves without acceleration because there is no net force on the ball (neglecting friction) 7.Neglecting air resistance,
PHYS 20 LESSONS Unit 2: 2-D Kinematics Projectiles Lesson 5: 2-D Projectiles.
TWO DIMENSIONAL AND VARIED MOTION Projectile Motion The Pendulum.
4.7 Improper Integrals 1 For integration, we have assumed 1. limits of integration are finite, 2. integrand f(x) is bounded. The violation of either of.
Projectile - an object for which the only force acting upon it is gravity. The force of air resistance is negligibly small or nonexistent for a projectile.
PROJECTILE MOTION. Relevant Physics: The Independence of the Vertical and Horizontal directions means that a projectile motion problem consists of two.
Chapter 5 Physics 1 Projectile Motion Go through these flashcards at least once a day to get an “A”!
Work, Energy and Power Ms Houts AP Physics C Chapters 7 & 8.
Chapter Projectile Motion 6.1.
2.3 Projectile Motion How would you describe the motion of an Olympic ski jumper as she begins her jump off a ramp? The motion of a ski jumper is identical.
Ch 3 part 2: Projectile Motion and Vectors in 2 dimensions.
Brain Teaser Nico purchased a camera, a ruler, and an ice cream bar for $53. He paid $52 more for the camera than the ice cream bar, and the ruler cost.
Free-Falling Bodies Objects Falling Straight Down Points to consider: As the object falls, it has a constant acceleration due to gravity of 9.80 m/s.
A football is kicked into the air at an angle of 45 degrees with the horizontal. At the very top of the ball's path, its velocity is _______. a. entirely.
Gravitational Force  Gravity= a force of attraction between objects, “pulls” objects toward each other  Law of universal gravitation= all objects in.
Brain Teaser During the Little League baseball season, every team plays every other team in the league ten times. If there are ten teams in the league,
Chapter Projectile Motion 6.1.
Chapter Projectile Motion 6.1.
Motion in Two Dimensions EQ: What is a projectile?
What is Projectile Motion?
9.8: Modeling Motion Using Parametric Equations
Projectile Motion Everyday applications Vector additions
Chapter 5 Projectile Motion
Compound motion Three types of motion: Vertical motion
Conceptual Physics 11th Edition
Projectile Motion.
Projectile Motion EXAMPLE
Projectile motion Projectile Motion Subject to Gravity Assumptions:
Compound motion Three types of motion: Vertical motion
Projectile Motion.
Projectile Motion Projectile - an object for which the only force acting upon it is gravity. The force of air resistance is negligibly small or nonexistent.
Projectiles.
Two-dimensional Motion and Vectors Projectile Motion
Solve the differential equation y ' + 5y = 5e x
Motion in Two Dimensions EQ: What is a projectile?
Free Fall Acceleration
Projectile Motion Projectile Motion.
LAW OF FALLING BODIES.
5.4 Projectile Motion The horizontal component of motion for a projectile is just like the horizontal motion of a ball rolling freely along a level surface.
9.8: Modeling Motion Using Parametric Equations
PROJECTILE MOTION.
Projectile Motion Physics Honors.
In this section you will:
Presentation transcript:

Animations Demonstrates more animation techniques

More Animation Examples The Animations.zip program demonstrates additional animation methods. The opening form, featuring the old Michigan Stadium (without luxury boxes or a losing team), demonstrates using an array of points to define a path for an object to follow. The Shapes form demonstrates have to build a picture in layers (this technique would be simple to apply to the drawings you are creating for assignment 8). The Velocity form demonstrates how to apply some simple physics (the constant downward acceleration of gravity) to objects. The Multiball form demonstrates how to manage numerous objects at the same time.

The Punt Return The punt return (frmAnimationExamples) uses a pre-defined set of points:

Punt Return When the timer ticks, the ball moves to the next point on the curve:

Adding Some Physics The Velocity and Multiball forms in the Animations example demonstrate incorporating some simple physics into a class. The ball.vb class has a velocity variable (mv) which is a Structure consisting of x and y components. Since these balls will be flying close to ground, they will obey the simplified law of gravity— gravity is a constant downward acceleration (g). The program assumes no air resistance, so the x velocity will remain constant.

Coding Gravity Here’s the code: Every tick of the timer, the object moves a distance equivalent to its velocity in each direction (assuming velocity is in units of pixels/tick). The y velocity is then reduced by the value of gravity, so it will be less the next time the timer ticks. By varying the x and y velocities and the value of gravity, we get different trajectories for the balls.

The football class The football class inherits from the ball class, overriding only how it is drawn. The constructor simply calls ball’s constructor (VB requires that you do this if you want a custom constructor in a derived class).