Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ryan-williams/trajectories
Simulations of parabolic trajectories
https://github.com/ryan-williams/trajectories
Last synced: about 2 months ago
JSON representation
Simulations of parabolic trajectories
- Host: GitHub
- URL: https://github.com/ryan-williams/trajectories
- Owner: ryan-williams
- Created: 2015-03-29T05:07:10.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2015-04-13T18:40:44.000Z (over 9 years ago)
- Last Synced: 2024-10-20T07:45:17.841Z (3 months ago)
- Language: JavaScript
- Size: 629 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Toy repository for playing a physics problem I've thought about a few times:
What is the optimal angle to shoot/throw a projectile at to maximize distance traveled along a surface that is elevated relative to its origin?
![](http://f.cl.ly/items/2j273O002p3H371H3S3L/Screen%20Recording%202015-04-13%20at%2002.18%20PM.gif)
* the red line is always showing the 45º arc, which is optimal if the surface you are shooting/throwing on to is level with you.
* the green line is the arc from the origin that just barely clears the "cliff"
* the blue line is the path that maximizes the distance to the landing point on the top of the cliff.
* The black and grey paths can be dragged around as just an example of an arbitrary path in the space, or to change the velocity; they can mostly be ignored here.Run with:
```
nodemon server.js
```This is largely an experiment for me to get comfortable building React components for SVGs.