This site requires JavaScript, please enable it in your browser!
Greenfoot back

Report as inappropriate.

danpost
danpost presents ...

2012/11/4

Flight Trajectories Demo

This demo contains two methods of calculating the movement of a projectile in flight. One is based on distances, the other on speeds. You can set the angle and power, as well as toggle between the two movement methods. The gold balls are run by the 'distance method' and the steel balls are run by the 'speed method'.

5613 views / 10 in the last 7 days

6 votes | 0 in the last 7 days

Tags: simulation demo with-source gravity danpost flight projectile trajectory

This scenario is a member of: Demos by danpost


open in greenfoot
Your browser does not support the canvas tag.
Game/maniacGame/maniac

2012/11/4

what is the difference between the distance and speed method
Game/maniacGame/maniac

2012/11/4

except for the colour
danpostdanpost

2012/11/4

In their trajectories, none. In the way the movement is calculated, a lot.
Game/maniacGame/maniac

2012/11/4

oh so I would have to have the code to see the difference
danpostdanpost

2012/11/4

Yes. The code is open source to view; and it is fairly well documented.
A new version of this scenario was uploaded on Mon Nov 05 11:25:05 UTC 2012 Better documentation. Improved SwitchBar code.
A new version of this scenario was uploaded on Sat Nov 10 13:10:33 UTC 2012 Added wind into the Speed method calculations.
A new version of this scenario was uploaded on 2020-10-31 10:59:56 UTC

Want to leave a comment? You must first log in.

Who likes this?

lehrerfreund wnagai kevv Wavesludge miles7191 Game/maniac