Warning
This software is unfinished. Keep your expectations low.
This app is designed to generate HD(1920x1080) videos that simulates the motion of Projectile
This is A video that shows what it looks like
G_is-10.00_V0_is-15_angle_is-45_slow_is_1.0.mp4
You can enter the values you want in textbox there are 4 textboxes

- Angle : this takes integer value like( 1 , 2 ,3 ) only , (1.1 , 0.3) are not allowed
- Velocity: The values as same as Angle
- Gravity: Takes float values like (9.9 , 8.5)
- Slowdown: Takes values like Gravity , this value slow down the time , the value 1 does no affect , the value 2 will slowdown the time by 2 and so on .... ,
There is one checkbox for now it for drawing Velocity components all video time if you un check it the components will be drown on the max height the ball will reach only
-
ESCThis key is specialized to exit from program -
SpaceThis key is specialized to preview the ball path -
Ctrl + RThese two keys are specialized to render the final video -
FThis key is specialized to go full screen
The final video is rendered using FFMPEG
So don't worry about this window

you can download it from here Projectile motion simulator
Please you need trust me when this warning appears

This project is fully open source and safe
To build this project you have to install raylib first
Then you can run this command
gcc -o PMS main.c movement/movement.c movement/physics/engine.c helper.c objs/ball.c objs/values_board.c controles/text_box.c controles/controles.c objs/angle_arrow.c movement/timer.c movement/queue/queue.c ffmpeg_linux.c controles/checkbox.c -lraylib -lGL -lm -lpthread -ldl -lrt -lX11You also need to download FFMPEG
sudo apt install ffmpeg [On Debian, Ubuntu and Mint]
sudo yum install ffmpeg [On RHEL/CentOS/Fedora and Rocky/AlmaLinux]
sudo emerge -a sys-apps/ffmpeg [On Gentoo Linux]
sudo apk add ffmpeg [On Alpine Linux]
sudo pacman -S ffmpeg [On Arch Linux]
sudo zypper install ffmpeg [On OpenSUSE]
sudo pkg install ffmpeg [On FreeBSD]
NOTE: Makefile doesn't work yet
These files
ffmpeg.h ffmpeg_windows.c ffmpeg_linux.c
ARE NOT MINE I toke them from musializer
Email : ahmnaib11@gmail.com
LinkedIn: https://www.linkedin.com/in/ahmniab/
