Three Physics Examples - "getting the physics right"Two tutorials below Animations in Flash. There are basically two ways to create animations with Flash: (1) using the Flash engine for linear interpolation of an object between two positions, and (2) pixel-by-pixel control of the object position by exact movie clip commands. [ mc._x (mc._y)] Using pixel controls, it is possible to manipulate an object's position with virtually unlimited bounds. Here are links to four physics Flash animations. In each case they are not "complete" commercial products. Rather they are starter examples to show what can be done with FLASH programming technology. Flash programming can be accomplished at various levels, from really quite simple animations to complex physical reality. With Flash, links to JavaScript, Java, and server-side applications are very much possible. Indeed, one can think of Flash as the graphics front-end to comprehensive numerical examples. Bouncing ballThe bouncing ball. Using Flash it is possible to make an object go up and down. But it is important that the physics should be right. Teaching a concept visually using incorrect animations yields students that have profound physical misconceptions. Here are three examples. The first is an object that goes up and down with "linear physics". The second uses the easing feature of Flash to mimic the acceleration of gravity. The third uses the actual law of gravitation.
Works in Flash 5. PendulumThe second example, the pendulum allows pendular but not perfect pendular motion. One can change the period but not the length of this pendulum. Also, there is a timer. It is possible to devise virtual "physics" experiments with this animation. In fact a science fair type project could be accomplished with such a tool. ProjectilesIn this third example, we show two projectiles which can be thrust from a specified angle with a specified velocity. Shown are the times to hit the ground and the maximum height.
Works in Flash 5. Planetary motionIn this example, we show simple elliptical motion about a "sun". In the first example, there is a single planet. In the second, the user can select multiple planets, creating an entire pseudo solar system. The physics here is all wrong.
SummaryIn each of these problems, getting the physics right requires some considerable extra effort beyond the rather powerful but intuitive animation features of Flash. Tutorial
on making a Tween motion. Source. |
©2002 G. Donald Allen
Last updated:
July 18, 2002 7:42