This application is written in Java, using JavaFX to create the GUI. It uses Media
class in JavaFX to upload a mp4 video. It can calculate your vertical by calculating
how long you are in the air for.
The equation to measure vertical jump height: 0.5 * 9.81 m/s^2 * (hang time / 2) ^2
- Record a video of yourself jumping; make sure the video file is in mp4 format
- Put the video path into the
Media
constructor that takes in aFile
- Watch the video, click "Take Off" right when your feet leaves the ground to jump, and
click "Feet Lands" right when your feet touches the ground again after the jump.
- In order to make this easier, pause the video by clicking the "||" button, and clicking the ">>" button to forward the video by 0.1 second or "<<" button to rewind the video by 0.1 second.
- Click "Calculate Vertical". Check the console to see your vertical height!
You can click on the "How much do I need to Dunk" button to calculate how much vertical you will need to dunk. It will ask for your standing reach.
This application can be used as a media player, since it has basic video player functionality such as play, pause, forward, and rewind.