GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing javascript.info — Animate the ball bouncing to the right back to the lesson Animate the ball bouncing to the rightimportance: 5 Make the ball bounce to the right. Like this: Write the animation code. The distance to the left is Take the solution of the previous task Animate the bouncing ball as the source. In the task Animate the bouncing ball we had only one property to animate. Now we need one more: The horizontal coordinate changes by another law: it does not “bounce”, but gradually increases shifting the ball to the right. We can write one more As the time function we could use The code:
|
| You are visitor 01402503 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |