Skip to content

An optimisation of basketball backboard, inspired by Stuff Made Here

Notifications You must be signed in to change notification settings

jembishop/basketball-backboard

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Optimal Basketball Backboard.

Inspired by this excellent video

This is alternative approach to the Stuff Made Here. He computes the optimal angle per grid point and then has a process to make it in to a continuous surface. I start with a continuous surface parametrized as a polynomial and use a global optimization algorithm to decide the parameters. Mine is not a Monte-Carlo, I test every grid point, over a range of vertical velocities.

The constraints on mine are also a little different. My backboard projects onto the regulation size backboard, and in my optimization I only consider shots from the free throw line, however like the original I only consider arcing shots, and I also consider direct hits (with no rebound). I consider the basketball as a particle rather than a sphere, and don't take into account multiple bounces or hoop collision. (TODO verify my result with Unity physics engine)

In this setup the optimized backboard achieves ~75% of shots in the hoop, compared to 5% with the original. The plot generated shows greener if more shots land in the hoop.

image image

About

An optimisation of basketball backboard, inspired by Stuff Made Here

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published