Skip to content

wferebee/Projectile_Motion_Applet-1

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 

Repository files navigation

Projectile_Motion_Applet-1

Live-link:

  • https://wferebee.github.io/Projectile_Motion_Applet-1/

  • The projectile motion applet is a work in progress. At this point the user can shoot a projectile across the screen at different power levels and angles.

  • I built this applet to see if I could take my background in physics and apply it to webdesign. After some reasearch and learning how to use the Canvas element, I was able to code in the actual projectile displacment formulas:

  • y = Y(inital position) + V(initial velocity) x (time) x sin(theta) + (1/2) x A(acceleration due to gravity) x (time) x (time)

  • x = X(inital position) + V(initial velocity) x (time) x cosine(theta)

Still to Come:

  • gameify the applet
  • build targets
  • set a game timer
  • allow the user one Tracer style projectile
  • music
  • possible different levels to the game

Technologies Used:

  • HTML
  • JavaScript
  • Canvas
  • Physics
  • Regression Analysis

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published