资源说明:A web application for computing and plotting the trajectories of subsonic projectiles.
Trajectory.js ============= ### Live Demo - [Version 1.2](https://samchristy.github.io/trajectory.js/app/v1.2/) (optimised for tablets) - [Version 1.1](https://samchristy.github.io/trajectory.js/app/v1.1/) - [Version 1.0](https://samchristy.github.io/trajectory.js/app/v1.0/) (single-threaded, for IE9 users) #### Supported Browsers The following browsers are supported (according to [caniuse.com](http://caniuse.com/)): - Chrome (4+) - Safari (5+) - Opera (10.6+) - Firefox (3.5+) - Internet Explorer (10+) ### Explanation This program is designed to compute the trajectories of projectiles and generate graphs inside your browser! I created it as a weekend project to help me cheat at archery. It actually functions as a practical tool and I’ve found that it matches both the real-world data and the results of my 40# English longbow on the range quite well. It is also suitable for modelling other sub-sonic projectiles, such as tennis balls and air rifle pellets, providing that you know its drag coefficient (e.g. 0.5 for a sphere). ### Instructions To use the program, simply enter the projectile’s parameters and click ‘Plot Trajectory’. To generate a copy of your graph that can be saved, click ‘Generate PNG’. After the image pops up, you can save it by right-clicking it and selecting ‘Save As…’ (the exact phrase varies with different web browsers). I’ve put the default values to those of a 3/8" steel ball-bearing, shot at an angle of 5 degrees with an initial velocity of 85 metres/second, as an example. The blue line represents the trajectory with air resistance; the red line the trajectory without air resistance, i.e. in a vacuum; and the purple line the projectile’s kinetic energy, expressed as a percentage of its initial (this might be useful for hunters). Graph Class ----------- I actually wrote my own graph-drawing class for this project, mainly as a learning exercise to familiarise myself with the `
本源码包内暂不包含可直接显示的源代码文件,请下载源码包。