nahuel-borda / oblique-throw-simulation

An oblique throw physics simulation built on python, using vpython. I made it to study and understand the movement of a particle given ecuations for X & Y

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Oblique Throw Simulation

An oblique throw physics simulation made on vpython, it helped me study and understand the movement of a particle given ecuations for X and Y.

Usage can be seen by -h

usage: tiro_oblicuo.py [-h] start_height shot_speed shot_angle display

Get shift and/or speed data of an oblique shot simulation.

positional arguments:
  start_height  A starting height for the object.
  shot_speed    A speed given in a numeric value, for the object to be shot
                at.
  shot_angle    An angle given in degrees, for the object to be shot at.
  display       A bool, a web-browser animation will display if set to true.

options:
  -h, --help    show this help message and exit

Execution example (might take a few seconds to load the gif.)

About

An oblique throw physics simulation built on python, using vpython. I made it to study and understand the movement of a particle given ecuations for X & Y


Languages

Language:Python 86.1%Language:JavaScript 7.4%Language:C 2.8%Language:CSS 1.4%Language:Cython 1.2%Language:HTML 0.3%Language:C++ 0.3%Language:XSLT 0.2%Language:Jinja 0.2%Language:Jupyter Notebook 0.1%Language:Fortran 0.0%Language:Batchfile 0.0%Language:PowerShell 0.0%Language:Roff 0.0%Language:Shell 0.0%Language:Forth 0.0%Language:Less 0.0%Language:Makefile 0.0%Language:Smarty 0.0%Language:Lua 0.0%