Simple inclined surface example with JavaScript Canvas







This project serves the porpuse to show the relationship between the slope, the friction and speed of an object moving along an inclined surface.

By steeping the value of the angle you will notice that the ball will increase its speed.
Conversely it will slow down the lower the value gets.

By increasing the value of the friction the ball will stop if the angle isn't steep enough to overcome the static friction.

This is due to the following formula: tg(angle) = static friction coefficient.

Notice: this project has the only aim to give a general idea of how the phenomenon works.
It was not intended for accuracy.