Overcomplicating GOLF by simulating every possible shot

  Рет қаралды 440,211

AlphaPhoenix

AlphaPhoenix

Күн бұрын

Extra note: I'm starting a Facebook page for AlphaPhoenix with video updates and info about projects I'm working on! / alphaphoenixchannel
In this video I take a trip to Thistle Dhu, the famous putting course at Pinehurst and write a matlab program to simulate a million putts at once, all in an effort to map "Phase Spaces" of golf. There's a common scientific mindset normally referred to as a phase space or parameter space, where you express everything that could happen in an experiment in terms of the variables you can control. In the case of putting a golf ball, the ball can go in the hole, or it can miss completely - if it misses, we also care how far from the hole it stopped. You only actually have control of two variables while putting a golf ball, the initial speed and initial direction. After you hit the ball, physics takes over!
By popular request, here's some code!
github.com/BrianHaidet/AlphaP...
Music:
I Dunno by grapes is licensed under a Creative Commons Attribution license (creativecommons.org/licenses/...)
ccmixter.org/files/grapes/16626
Graphic based on plot from McSkimming et al., (2014) 10.1016/j.jcrysgro.2013.10.013

Пікірлер: 680
@StuffMadeHere
@StuffMadeHere 2 жыл бұрын
Very cool. It would be neat to invert the solver by sending balls FROM the hole in every possible speed and direction. This would give you a 4D map of all possible starting locations + speeds + directions that go in. Not directly visualizable, but you could slice it like an MRI to look up the solution for any given shot location…
@alec-md1zo
@alec-md1zo 2 жыл бұрын
so are you gonna make another lock or what
@AlphaPhoenixChannel
@AlphaPhoenixChannel 2 жыл бұрын
Nice to see you here! Also - cool idea! Somebody else on this thread suggested that you would use this style of algorithm to make an automated golf machine but you’d need like a lidar 3D model of the green… I got nerd sniped real hard by your second lock video and according to the hastily scribbled sketches from about 4am the next day, I totally think it could be done with 4 concentric rings with a few connecting sheet metal parts in the back. Maybe or maybe not cheaper to machine… Haven’t had time to CAD yet cause ive been moving… to Raleigh…
@bjaaro4380
@bjaaro4380 2 жыл бұрын
that would be very interesting as the ball would have to accelerate more the further from the hole it gets and given that shots break at a higher rate the slower the ball is moving that would create a very interesting visual effect.
@SirRebrl
@SirRebrl 2 жыл бұрын
@onetoone It just has to simulate the physics backwards. Like, instead of simulating the ball rolling up the hill, simulate it _unrolling down_ the hill. Which looks like rolling up, but gives numbers for rolling down.
@Roter_Wolf
@Roter_Wolf 2 жыл бұрын
Raytracing vs Pathtracing
@johngaleazza3652
@johngaleazza3652 2 жыл бұрын
I love when analytics like this confirm what are traditionally held ideas. Typically a golfer is taught to line up their put such that the ball will come to rest about 18 inches beyond the hole. This is fast enough for the ball the sink, but not so fast that there is a chance that the ball skips out of the cup. Should you miss you will have an easier second shot at the hole vs a missed bullet shot. And since golf is a sequence of shots with the goal of completing the course in the fewest shots possible rather than a series of independent shots than clearly it is advantageous to set up an easier subsequent shot.
@Arrica101
@Arrica101 2 жыл бұрын
Related but also not, i love the fact that the whole idea of golf is to play the least amount of golf
@wojciechbieniek4029
@wojciechbieniek4029 2 жыл бұрын
@@Arrica101 I think it might relate to the myth/tradition, that a bottle of whisky holds 18 shots ;)
@hutchmusician
@hutchmusician 2 жыл бұрын
@@Arrica101 Funny, but also true for all kinds of races: the runner who spends the least time running wins the race; the driver who drives for the shortest time wins…
@itap8880
@itap8880 2 жыл бұрын
@@hutchmusician This rule could also be generalized to account for some proffesions that exist to delete the object of their work (for example, the object of having a police force is to have nobody break the law).
@chriso1373
@chriso1373 2 жыл бұрын
@@hutchmusician not necessarily true for racing. In endurance racing, whoever does the most laps in the allotted time wins 😉
@joeym5243
@joeym5243 2 жыл бұрын
Minigolf designers: "WRITE THAT DOWN! WRITE THAT DOWN!
@1ucasvb
@1ucasvb 4 жыл бұрын
Excellent video! Simulations like these are super fun! By the way, I'm pretty sure the more accurate term would be "parameter space". Phase space does imply dynamics, where here you are plotting initial conditions.
@AlphaPhoenixChannel
@AlphaPhoenixChannel 4 жыл бұрын
I think you're right that these should be called parameter spaces. Phase space officially I think I've only seen in multi-pendulum examples with something like angular velocity plotted over time? It still maps out forbidden regions and stable regions. Phase diagrams (as in states of matter or different crystals formed by the same alloy) are also very similar because you pump in some controllable variables and a state pops out.
@kingminceraft9487
@kingminceraft9487 2 жыл бұрын
Hence the golf is a great example of phase space, but not so much the crystals
@columbus8myhw
@columbus8myhw 2 жыл бұрын
Maybe configuration space?
@JonathonBrearley
@JonathonBrearley 2 жыл бұрын
a professor of mine uses "design space"
@jacobdawson2109
@jacobdawson2109 2 жыл бұрын
I always thought it would be neat to draw out the phase space of a roulette wheel. Since roulette wheels are physical devices the outcome is completely deterministic (under classical mechanics) and depending on how we choose to simulate our roulette wheel, could depend on just a few starting variables, like the speed of the ball and it's starting angle with the wheel. Because roulette wheels are designed to be "random" I suspect the phase space to be quite chaotic, with fractal like boundaries, but it would be interesting to see if that were actually the case.
@pyropulseIXXI
@pyropulseIXXI Жыл бұрын
it is obviously the case
@sirsanti8408
@sirsanti8408 Жыл бұрын
@@pyropulseIXXI mm yes very obvious
@RobertMilesAI
@RobertMilesAI Жыл бұрын
There'll be an interesting non-chaotic region as the speeds get low enough
@afrye51
@afrye51 2 жыл бұрын
It's interesting seeing this, the engineer's solution of just simulating it a million times where so many math youtube channels would try to describe it with equations. Keep up the good work!
@RonWolfHowl
@RonWolfHowl 2 жыл бұрын
Probabilistic math is math too! This is known as a Monte Carlo method.
@appa609
@appa609 2 жыл бұрын
honestly most of these situations can be solved by hand fairly easily.
@Aerroon
@Aerroon 2 жыл бұрын
@@RonWolfHowl And it's quite common with programming. Simulating a result can often be easier than going through all the equations, because you only need to think about a realistic setup for the system.
@YourPhysicsSimulator
@YourPhysicsSimulator 2 жыл бұрын
Innacurate, you didn't simulate me not hitting the ball on every single shot.
@asailijhijr
@asailijhijr 2 жыл бұрын
The top left pixel in every single diagram.
@YourPhysicsSimulator
@YourPhysicsSimulator 2 жыл бұрын
@@asailijhijr More like bottom left? Also, since he puts SLOW and not the quantity I don't know which is the latest speed (probably 0, but It doesn't have much computational sense) Edit: I've looked his codes and in the ones I've looked there were no 0 velocities. I am probably mistaken. Correct me if it is so.
@darrenlo9802
@darrenlo9802 2 жыл бұрын
@@YourPhysicsSimulator Inaccurate
@darrenlo9802
@darrenlo9802 2 жыл бұрын
@@YourPhysicsSimulator Inaccurate
@erumaaro6060
@erumaaro6060 Жыл бұрын
@@asailijhijr nope, bottom line: no speed, angle undefined. no put indented...
@brandonrogers917
@brandonrogers917 4 жыл бұрын
This video has CRIMINALLY low views! Very well made! Also, is your simulation code available anywhere?
@AlphaPhoenixChannel
@AlphaPhoenixChannel 4 жыл бұрын
Thanks! and yes, is now - link's in the description. If you know any golfers, computer scientists, or anybody else who might want to help with that view count... let them know!
@Frack_Black
@Frack_Black 2 жыл бұрын
@@AlphaPhoenixChannel Bryson DeChambreu wants your number. 😄
@miamatti
@miamatti 2 жыл бұрын
@AlphaPhoenix love your video, excited to look over your matlab code. looks like a fun project to study to up my skills (as an ME undergrad)
@chiragsingla.
@chiragsingla. 2 жыл бұрын
Now see it go boom, the youtube recommendation doing its thing
@themightyripples6582
@themightyripples6582 2 жыл бұрын
Man, you make very cool videos, i especially am entertained by the visual gags you do (not many in this vid, admittedly) to put your point across. Very creative, very scientific, love your videos!
@maxpoppe
@maxpoppe 2 жыл бұрын
you could make a phase space with cooking, the combination of the temperature and time is all you can controle, but there are multiple correct outcomes that cook it correctly I mean for this example there are formula's of course if you ignore that you can burn the food or cook it unevenly but yea xD still an interesting idea
@satibel
@satibel 2 жыл бұрын
you can put it on a gradient from not safe to eat to burned, with a well cooked region in between.
@weeveferrelaine6973
@weeveferrelaine6973 2 жыл бұрын
@@satibel More than that, cooking at too high a temperature will cook the outside of the dish, but not the inside- It can be both burned, and not safe to eat. Similarly, many dishes rely on being cooked at too high of a temperature to get a "crust", or like for a Turkey, to cook the skin to a crisp, yet to just get the inside of it cooked far enough to not lose all the moisture. Some other dishes, such as ones that depend on rising agents, have complex curves as well, either in time, or in temperature, where you might need to hold one temperature for a time, then bring it up to a different temperature for another time, then lower it again to a third temperature for a time, to achieve the result you wanted.
@cdburner5911
@cdburner5911 2 жыл бұрын
Ok, time to make dinner, time to break out my Ti89! =]
@dereknalley
@dereknalley 2 жыл бұрын
I feel like this channel is the second generation of what KZfaq could be.
@badoem5353
@badoem5353 2 жыл бұрын
The hive mind develops and grows with each spec of it's whole
@cloak5857
@cloak5857 2 жыл бұрын
Don't hold your breath.
@vintyprod
@vintyprod 2 жыл бұрын
watching people do such beautiful engineering analysis for an oddly specific question no one has ever asked is my jam. i'm so glad i found this channel.
@alan2here
@alan2here 3 жыл бұрын
Easy course, the flags in a dip. Pro tip, don't take the shot with a frictionless ball.
@nicolasribeiro7914
@nicolasribeiro7914 2 жыл бұрын
Hate it when my shots just become an interactive representation of spacetime
@johnanderson3022
@johnanderson3022 4 жыл бұрын
I never knew Golf could be this interesting
@Krantz_
@Krantz_ 2 жыл бұрын
I never knew Golf could be interesting
@birdiesnbritts1391
@birdiesnbritts1391 2 жыл бұрын
I think it’s too interesting!
@Vladimir_Lemon
@Vladimir_Lemon 2 жыл бұрын
Always has been.
@thepootato
@thepootato 2 жыл бұрын
This is more interesting than actual golf lol
@Mukna132
@Mukna132 2 жыл бұрын
:O WASH YOUR MOUTH OUT!
@rerere284
@rerere284 4 жыл бұрын
If you look up "magnet pendulum fractal" you get videos of another situation like this. You can also plot firing a ball in space with planets, and plot what planet the ball lands on at each angle in 360 degrees.
@GilmerJohn
@GilmerJohn 2 жыл бұрын
In theory, you can control the initial "spin" of the ball
@DiamondSane
@DiamondSane 2 жыл бұрын
also there is friction, and jumping. you cant control this, but this matters.
@liggerstuxin1
@liggerstuxin1 2 жыл бұрын
@@DiamondSane well also air resistance. Thermal dynamic influence. Rigidity and age of the gold ball. Strength of gravity at that particular part of planet. And God knows how many other variables that are too small to calculate.
@DiamondSane
@DiamondSane 2 жыл бұрын
​@@liggerstuxin1 much lol. Don't you state that friction is negligible, do you?
@QwertyuiopThePie
@QwertyuiopThePie 2 жыл бұрын
@@liggerstuxin1 The entire point of the phase space is that it's meant to cover the variables we *can* control. Unless you know some way to control the local gravity? If you can't control it, then it belongs in the simulation, but not in the phase space.
@liggerstuxin1
@liggerstuxin1 2 жыл бұрын
@@QwertyuiopThePie I was replying to a comment where someone stated variables that you can’t control but still “matter” (heh, I will pretend I did that on purpose). I suppose I went off on a tangent there, but I was also mentioning that there are so many variables that we cannot calculate that also matter. Many more than we even know obviously. But sooooo many we know we can’t calculate.
@Tiniuc
@Tiniuc 2 жыл бұрын
I remember watching my grandad hit a ball like a bullet into the flagpole, making the pole bend, then the ball falling straight down and directly into the hole. It was quite a ways away too.
@ro-ce8vg
@ro-ce8vg 2 жыл бұрын
I’m glad KZfaq is recommending me your older videos that I haven’t seen yet, every vid you’ve put out is SO good I don’t have the firmest grasp on machine learning but I’m pretty sure it’s somewhat similar to this. you have to find a minimum of the loss function (the minimum being like the hole in golf) and the parameters are the weights/biases for each node. When you’re learning about machine learning you see examples in 3 dimensions because they only show 2 parameters to make it simple, but there can be thousands of nodes, and the problem is to find the “hole” in the 10000-dimensional green I think.. it’s been a while since I learned that stuff
@e2rqey
@e2rqey 2 жыл бұрын
In Golf, you have control over the speed, the initial direction, and the spin of the ball. 0:33
@super8bitvideos
@super8bitvideos 2 жыл бұрын
"when you putt a golf ball..." not when driving or hitting a normal shot.
@asyncasync
@asyncasync 2 жыл бұрын
You also have control of the time you choose strike it at, which can have different results depending on the wind strength and direction at the time of the strike.
@5MaTu5
@5MaTu5 2 жыл бұрын
@@super8bitvideos You can have a little sidespin when putting tho
@willmungas8964
@willmungas8964 2 жыл бұрын
In putt putt it doesn’t leave the ground though, so you can reasonably simplify it
@robert_t_golf
@robert_t_golf 2 жыл бұрын
@@super8bitvideos You can still spin it, it's just not the smartest idea on a putt
@nickkonkle541
@nickkonkle541 2 жыл бұрын
"I decided to let my CPU do all the work" sums up just about anything I do that is mildly difficult. also, this is an incredibly well made video. it's crazy that it doesn't have more views. thanks for continuing to put out great content and putting effort into each video. hope you get the recognition you deserve
@charlestatum2511
@charlestatum2511 2 жыл бұрын
This would be of great interest to a miniature golf course designer.
@Reeman93
@Reeman93 2 жыл бұрын
Really interesting video, thanks for this. I’m a curler, and in that sport we spend a lot of time thinking about phase spaces actually. We don’t use that term, but in assessing possible shots given the current rocks in place and, crucially, how the ice is playing we think through a similar two dimensional space. We have a small wedge of possible angles and a range of ‘weights’ or speeds we can throw with. Part of what makes curling so interesting is the fact that the faster you throw the straighter the rock will travel, and slower shots will curl more. Once you have other stones in play you can find interesting places in that phase space, like maybe there’s a spot that I can get to throwing light where my opponent won’t be able to hit me out because if you throw hard enough for a hit you can’t get to that same spot. Phase space seems like a great tool for describing curling, I guess I’m off to go draw some diagrams!
@Dysiode
@Dysiode 3 жыл бұрын
I love how you built up the simulation resolution, it's honestly interesting to see the lower resolution before the higher ones. The crazy phase spaces at the end were so cool! As for other applications, the thing that comes to mind immediately would be for coffee brewing, temperature vs. technique/grind/amount/flavoring. It's probably not super exciting, but I'm sure it's been done by some coffee nerds out there!
@auxencefromont1989
@auxencefromont1989 2 жыл бұрын
I think technique is a bit too discrete, ho would you order them on an axis ?
@squorsh
@squorsh 2 жыл бұрын
@@auxencefromont1989I think you'd just end up with a one dimensional phase diagram per technique. But since there's no continuous division, i think you'd really want to plot it as a third dimension to every other comparison
@erictheepic5019
@erictheepic5019 3 жыл бұрын
While not quite everyday (unless you're an astrophysicist, aerospace engineer, or Kerbal Space Program player), DeltaV graphs are a perfect example of phase space, and I never knew it. Are prospective space program wanting to send something to another planet can be viewed as only being able to control two things about the launch: the date of departure and the date of arrival. The result is a phase diagram where each value is the DeltaV (change in velocity, can be thought of as fuel, however fuel and DeltaV don't have a constant ratio) required by the minimum energy trajectory for a given departure and arrival date. They're often times called 'porkchop plots', because the graph is bimodal, and has two adjacent regions of low DeltaV requirements, which somebody thought looked like porkchops.
@AlphaPhoenixChannel
@AlphaPhoenixChannel 3 жыл бұрын
Haha I just watched that Scott Manley video! And ABSOLUTELY it’s a phase space or parameter space. I find stuff literally all the time where I feel myself walking through some crazy high dimensional space without realizing it at first. It’s a fun way of looking at problems.
@SuperElephant
@SuperElephant 2 жыл бұрын
My god this video and channel is a hidden gem in youtube's space.. I think we don't have to wait for much longer until this channel explodes with millions of subs.
@Tunatunatun
@Tunatunatun Жыл бұрын
When testing and debugging silicon products, I regularly express the properties of the test results in phase spaces for frequencies, voltages and signal delays providing insights into testing margins and others. Very fun stuff 👌🏻
@bobbyberry
@bobbyberry 2 жыл бұрын
One of my favorite videos I’ve seen in a while! I’ve thought about this exact idea on the course before and it was awesome to see it done so well
@churrundog
@churrundog 2 жыл бұрын
There's a local paddle tennis league in my hometown and a friend of mine is in it. Every time I go see him play, I get these visualizations that I've been trying to verbalize and this fuckin video has finally given me the words to do it. I basically imagine how every time a player hits the ball, there's an imaginary shape made up of all the vectors that result in a valid bullet shot (meaning it hits the floor first and then the wall), and because the edge of the court is a straight line, there's a very defined angle at which these shots cross into invalidity. This shape gets weirder than what I can imagine when we start considering volley shots at lower speeds, which would allow for higher angles to end in the court, because they would curve back down. Thank you so fucking much for this video.
@McShavey
@McShavey Жыл бұрын
I learned this intrinsically over playing for a while, and this perfectly describes the mental process I came up with to understand how to get better at putting. Good video.
@TheVersionController
@TheVersionController 4 жыл бұрын
This video was surprisingly AMAZING. So glad I watched it. Thanks!!
@gizmoguyar
@gizmoguyar 2 жыл бұрын
A year or two I went down a massive rabbit hole of making bread. I started creating phase space diagrams for baking temp and time. I then realized that temperature could be varied throughout the baking process, which would turn it into a 4D vector field plot. I never went this far, but it was fun. Phase space diagrams are also very common for motors and engines. RPM and %throttle (or, for electric motors, current and phase) on the X and Y axes, and efficiency (or just about anything else) on the Z axis. These are extremely useful to visualize the most efficient (or best in some other way) operating regions.
@adamkrefting25
@adamkrefting25 3 жыл бұрын
Fascinating. I will definitely try applying the phase space idea in my work. Thanks for sharing!
@AsymptoteInverse
@AsymptoteInverse 2 жыл бұрын
Phase space/parameter space has to be one of my favorite concepts in physics. Another great example of a change in mathematical perspective making a process a lot less complex-looking and a lot more intuitive.
@Harishimomo
@Harishimomo 2 жыл бұрын
This crosses over with a great video I saw explaining the interaction of chaotic systems and fractals. The inverted pyramid in this video might be a great example of that, where similar putts continually have different outcomes, even with miniscule changes, when viewed from a phase graph perspective
@JL-cy1ks
@JL-cy1ks 2 жыл бұрын
I think this approach could be used in F1 or other racing, as the combination of speed, gear and RPM (and param of steering wheel angle) showing perfect line to drive (as simulation f.e.)
@ethandavis7310
@ethandavis7310 2 жыл бұрын
Racing lines are dynamic though
@zovisapphire
@zovisapphire Жыл бұрын
indeed and someone took it one step further and used deep-learning AI to simulate Trackmania racing, figuring out absolute most efficient racing lines.
@mrjhrock2010
@mrjhrock2010 2 жыл бұрын
Thanks for visiting Pinehurst! Love your videos man!
@72dreaton
@72dreaton 2 жыл бұрын
You gotta love people in academia that have passion. I met way to many people in my ME undergrad that just couldn't care less. Keep up the content!
@Beerbatter1962
@Beerbatter1962 2 жыл бұрын
Wow! This is so interesting and so well done. You're simulations are phenomenal. An excellent introduction on phase space. Also, so many aspects of the sport I never thought of. I'm subscribed.
@daan327
@daan327 2 жыл бұрын
Found your channel recently, really amazing content! Love your approach to these complex concepts
@cameroncartier8281
@cameroncartier8281 2 жыл бұрын
This is one of the best KZfaq videos I’ve watched in a long time
@AdamIsaacs1
@AdamIsaacs1 2 жыл бұрын
this is the same thinking that led to machine learning algorithms as well. its basically building a phase space, but instead of colors as you used, you assign a 'cost' to each node in phase space based on how far it is from the solution you want, then you minimize the cost function by following the gradient of cost through phase space to arrive at a solution. amazing way of looking at the world.
@drputtswell
@drputtswell 2 жыл бұрын
Thanks for this. It was interesting and fun. As a golfer I would mention that putts wobble a good deal as they lose speed/energy, which makes a big difference in line and direction.
@veni1
@veni1 2 жыл бұрын
this is gonna get millions of views now the algorithm has chosen it
@borislavangelov5853
@borislavangelov5853 2 жыл бұрын
Notch has helped too
@T1cksandLeeches
@T1cksandLeeches 2 жыл бұрын
Without knowing it until now...I 100% think of each putt in phase space. I take the angle that my mind assumes is the highest chance of a make with the lowest rollout on a miss. I see the angle in my head and then once I'm aimed...I have a little bit of leeway on the speed. The most important aspect is that I give enough speed to create a made shot, without going too far passed on a miss. That's cool and I fully plan on nerding out hard tomorrow when I'm playing
@ThomasGabrielsen
@ThomasGabrielsen Жыл бұрын
I really like Numberphile, but your approach to the different topics suits me better. I like watching simulations, and I love prototyping. I have never played or been interested in golf at all, but you just made me watch a 14 minute video about golf, and I found it very interesting. This channel is massively underrated when it comes to subscribers. Greetings from Norway!
@marco_gallone
@marco_gallone 2 жыл бұрын
God I love the KZfaq algorithm, Matlab enthusiast+golf psychopath=phase space putting sim Thank you for this, really fascinating simulation
@tricks200205
@tricks200205 2 жыл бұрын
hope the algorithm blesses this video, this was awesome.
@bkucenski
@bkucenski Жыл бұрын
This is a great analysis to get an objective measure of the difficulty of a course. The third dimension is angle up since you can pop the ball up and not just roll it flat across the ground. The next step is to build a machine that systematically shoots golf balls to see where they end up on a real course.
@betacenturion237
@betacenturion237 3 жыл бұрын
I'm with other people watching this. This video is indeed criminally underrated. As a physics undergrad that has been searching for the more in depth videos in science, I'm subbing.
@pikulicluka
@pikulicluka 3 жыл бұрын
Man, this video was AW-SOME! You should definitely do more simulation stuff on the channel. Also, really cool and intuitive explanation of a commonly encountered Diffy Qs concept.
@clorax1357
@clorax1357 Жыл бұрын
This video isn't exactly new, but if you're still reading comments on this, a phase space I'd love to see would be feeds and speeds of a mill, you have many potential variables but you can get away with keeping some constant, here's a list in order of importance: - Feed (Velocity of cutter) - Speed (RPM of cutter) - Flutes (# of cutting surfaces per rotation) - Diameter (Diameter of cutter) - Material engagement (How deep the cutter is in a material) The reason you want to proportion these variables is for the finish on the material, feed per tooth (amount of metal cut by each flute every rotation), and forces applied to the cutter. Though, after writing this it does seem a bit complicated, lol.
@alexanderpovey1973
@alexanderpovey1973 2 жыл бұрын
Omg this is so interesting please do more phase maps and golf maps please!(finding a phase map that looked like a fractal , or working backwards from having a fractal as a phase map and building a golf turf around it would be fun)
@jedidiahwest4619
@jedidiahwest4619 2 жыл бұрын
5:00 is where this relates to real golf. I like seeing that where we are told to aim statistically makes sense. Because even if we aim the ball perfectly we still have to hit it perfectly.
@wilafau
@wilafau 4 жыл бұрын
Very cool. Once again an awesome video that breaks down a complex problem into something accessible to us non-physics types. When the iPhone gets a depth camera with decent range in a year or two it’s conceivable that an AR app will let you walk around a hole and build a 3D model of it and essentially create the Rodney Dangerfield putter from Caddy Shack. The app basically runs your AlphaPhoenix simulation, computes the high probability angle and tells you when you are addressing the ball correctly. It’ll give you clues on how hard to hit it too. Maybe it also incorporates environmental data to know if the greens are wet and slow. Of course this would be kinda cheating but a fun problem to contemplate.
@AlphaPhoenixChannel
@AlphaPhoenixChannel 4 жыл бұрын
That would be awesome! Caddyshack is amazing btw
@cleanpoop9929
@cleanpoop9929 3 жыл бұрын
This is such a rad channel. Thanks!
@brimmed
@brimmed 2 жыл бұрын
i've never golfed in my life. but i'm an engineer and i like simulations so i watched. glad i did. wish i knew how to model stuff like this
@pvic6959
@pvic6959 2 жыл бұрын
really enjoyed the visualizations, thanks!
@tonyennis1787
@tonyennis1787 2 жыл бұрын
As a computer programmer, I frequently think of how inputs lead to outputs. It's nice to have a word for it, so now I can look it up.
@truegret7778
@truegret7778 2 жыл бұрын
Design of Experiments - Taguchi method comes to mind. This, as I recall, allows for multidimensional variables and a reduction of "number of tests/experiments" to get to the answer needed. Great video, great simulation - Python is cool.
@brentkelly9864
@brentkelly9864 2 жыл бұрын
This is awesome! I’ve recently been obsessed with disc golf, and an hoping to (eventually) produce similar analysis/simulations of possible disc flights!
@roryh2241
@roryh2241 2 жыл бұрын
I’m a golfer but I definitely learned something new from this! I always wondered if it was possible for there to be no way to make a putt because I sure have had some tough ones 😂
@sergemalikov6829
@sergemalikov6829 2 жыл бұрын
very well done and quite insightful. Thanks!
@SnowRaptor
@SnowRaptor 2 жыл бұрын
Dude! That's an awesome insight! As a physicist I see myself thinking vagely in these terms, but not usually so explict. You mentioned you're not sure if that's called a phase space, I use the term "parameter space" to describe these things in more abstract problems (like your crystal growth example). In the golf case, it's actually a map of initial conditions, so I'm not sure whether "phase" or "parameter" space are adequate terms, but they are descriptive enough given your explanation. Cheers!
@acaander
@acaander 2 жыл бұрын
Really enjoyed this video! Mustve been recommended to me as a golfer - loved it
@SupaKoopaTroopa64
@SupaKoopaTroopa64 2 жыл бұрын
Reminds me of a problem in computer graphics. (Explanation of rendering equation and path tracing, skip if you already know what these things are) There is an equation called the rendering equation, in which one of the parameters is the total energy of all light hitting a given point. To calculate this variable, one would have to add up the energy of all light, from every angel, and every possible combination of bounces. Since this is basically impossible to compute, rendering programs must make approximations. This is done by selecting random paths between a point and a light source, and then averaging their intensity. This is where the part related to the video comes in: sampling random paths is a rather inefficient method to get an accurate result, so most algorithms will take samples that are believed to be representative of the total samples instead. There are algorithms that attempt to estimate a "Phase Space" plot of light intensity vs every possible path in order to identify the most preventive samples. Some use AI, while others use more traditional optimizer. An interesting side note: Caustics (those weird reflections that waves make on the bottom of the pool) are a lot like the white portions of the plot in this video. There are only a narrow range of possible inputs that lead to them, so they can be hard to sample accurately (they are usually removed to prevent visual artifacts).
@andy.robinson
@andy.robinson 2 жыл бұрын
Interesting to hear it's scientifically beneficial to shoot slightly past the hole. Good golfers also do this so that if they miss, they can at least get a "read" of the putt coming back the other way.
@InfernalPasquale
@InfernalPasquale 2 жыл бұрын
Love the mix of maths, physics, engineering, and coding ideas. Thanks for such an interesting video! Subbed
@hadiakbari740
@hadiakbari740 2 жыл бұрын
Wow!! Bravo again! You’re so brilliant 👏👏👏👏
@wanchufri
@wanchufri 2 жыл бұрын
i met your channel today and I really love it!
@ArruVision
@ArruVision 2 жыл бұрын
You just managed to make golf interesting. Well played, sir!
@keenanuriu2703
@keenanuriu2703 3 жыл бұрын
Wow! That one dimensional phase space pyramid putt made me so happy for some reason! I think there must be some interesting dimensional math puzzles with theoretical putting green shapes, could be a numberphile collaboration!
@touisbetterthanpi
@touisbetterthanpi 3 жыл бұрын
I love this idea!!
@mattjohnstondev
@mattjohnstondev Жыл бұрын
awesome video! I play a video game called Peggle with my parents and had been thinking a lot about this concept but just now learned the term "phase space"
@asailijhijr
@asailijhijr 2 жыл бұрын
If you compute this phase space diagram for every green friction value, you can tween through the successive diagrams like an MRI slicer. That'd be a cool segment to see in media coverage of a golf tournament. A weather man green screen style presentation of the phase space of each drive or putt at the introduction to a hole or course.
@mere_music
@mere_music 2 жыл бұрын
This is awesome! Keep this up, so impressive.
@Naxvarus
@Naxvarus 2 жыл бұрын
Amazingly enough, I was thinking about this EXACT problem for the past couple of months. Specifically, I was interested in whether there was a theoretical green that had spots on it that you couldn't possibly hit no matter how hard you tried. I'm somewhat surprised I managed to find this video completely accidentally (KZfaq algorithm actually deserves some praise, for once.) but thank you for answering that question for me.
@andy.robinson
@andy.robinson 2 жыл бұрын
Oh... Bryson's going to be all over this scientific approach!
@knownas2017
@knownas2017 2 жыл бұрын
This was surprisingly interesting. Thank you!
@mekkler
@mekkler 2 жыл бұрын
Thanks to you, golf is now even MORE complicated.
@piperboy98
@piperboy98 2 жыл бұрын
Honestly this would be a really cool graphic to have on broadcasts or something to understand the complexity of a putt. Shows the amount of break, how difficult it is to stop near the hole, how much margin there is to avoid it running off down a big slope, etc.
@gazzmania150
@gazzmania150 2 жыл бұрын
We all know the "fast straight" shots, and a lot of the ones close to them would just go over or flick out of the hole.
@jimbo_bomberino8606
@jimbo_bomberino8606 2 жыл бұрын
Sir you have been blessed by the algorithm. Congrats.
@Wildminecraftwolf
@Wildminecraftwolf 2 жыл бұрын
You could pair a drone to do an aerial topography scan with a putting robot and implement this with it.
@jordananderson2728
@jordananderson2728 2 жыл бұрын
Can't wait to see the sign on the wall say 2^20! What a fascinating channel!
@larrybud
@larrybud 2 жыл бұрын
Good start. 8:40 What's your logic as far as speed of ball which goes in? The faster the speed of the ball as it hits the cup, the less chance the ball goes in. The hole size effectively becomes smaller when the ball is going faster (e.g. either skips over the hole, or catches an edge and spins out rather than falls in). That's why there's an "optimal speed" of a ball going into the hole. In addition, while a specific phase space might increase your chances of a single putt, a player must also recognize the odds of making the next shot if he misses. See "strokes gained" for odds on making putts from certain distances.
@orangefruit1738
@orangefruit1738 Жыл бұрын
beautiful visuals, excellent explanation, very interesting topic. nice.
@gretchenmorfea5988
@gretchenmorfea5988 2 жыл бұрын
As a golfer and math nerd, I loved this video! Subscribed! Oh, and I know fast greens. Very well.
@michaelmolter6180
@michaelmolter6180 2 жыл бұрын
I always forget about phase space and then am mind blown by a novel application of it. So cool!
@nucle4rpenguins534
@nucle4rpenguins534 Жыл бұрын
This was a really cool topic in thermodynamics/stat mech., but I didn’t think it could be broadened to modeling “optimal putting shots”! Awesome video! Makes me wonder on the similarities and differences with a phase diagram would look in a game of bowling (assuming no bumpers). We could claim there are 3 degrees of freedom: angle & speed of throw, and the thrower’s position on the bowling lane entrance. “Changing the terrain of the putting” could map to a change in pin arrangement of the bowling lane (e.g maybe you have a split, or half the pins are standing in many different ways, etc…) which would yield many cool simulations. Food for thought and something cool to try perhaps.
@Pelsrobman
@Pelsrobman 2 жыл бұрын
Really cool video! Being a golfer and a maths / Matlab nerd, it would be really interesting to somehow model an actual ball falling into a hole. I'm sure there must be some physics equation that will allow you to calculate things like lip-outs, horesehoes, and the speed limit of "ram-in" puts. Really really cool video, thanks!
@nameismetatoo4591
@nameismetatoo4591 2 жыл бұрын
When you really think about it, professional golfers (or any person who has become highly skilled at something requiring precise motor coordination) have essentially mapped out that phase space in their brains. They just develop the intuition to know that they can make a particular shot at one of two angles, one of which is more forgiving in terms of the power of the shot. Additionally, their brains have far more variables to consider. They aren't directly controlling the angle and power of the shot-their brains have to simultaneously control hundreds of muscles in just the right way in order to swing the club as intended. It would be cool to see phase space diagrams for bowling. You would probably have to find a way to add another dimension to the diagram to include the spin of the ball, but it would be interesting to see how the diagrams would look for splits, strikes, etc..
@kreynolds1123
@kreynolds1123 2 жыл бұрын
Ball spin, the bane of my golf game, adds a new dimension to a simulation like this.
@AlphaPhoenixChannel
@AlphaPhoenixChannel 2 жыл бұрын
Two new dimensions 😂
@Drrobverjones
@Drrobverjones 2 жыл бұрын
This is the third video I have been suggested by you. Some pretty good content you have going here.
@wrex509
@wrex509 Жыл бұрын
This was a great approach to demonstrate the concept.
@DevashishGuptaOfficial
@DevashishGuptaOfficial 2 жыл бұрын
Absolutely freaking beautiful.
@chakra6666
@chakra6666 4 жыл бұрын
actually an incredibly interesting video
@Fogmeister
@Fogmeister 2 жыл бұрын
This is the first video of yours I have watched. It was excellent. Thanks. Trying to think of everyday phase spaces now. 😆
@Alex-nl8kf
@Alex-nl8kf 2 жыл бұрын
Great job, I loved this video!
@andrewmason4004
@andrewmason4004 2 жыл бұрын
An explanation of what most golfers learn without any understanding of the maths/physics ☺️
@michaellundgren6949
@michaellundgren6949 2 жыл бұрын
I used a similar method to find orbital trajectories.I have 2 parameters, start time and deltaV and I want to check where the space craft will end up for each combination. Made it easy to find rendezvous encounters
@Jessassin
@Jessassin Жыл бұрын
This is super cool. I would love to see a similar video about how phase space diagrams might look on a pool table!
@samp-w7439
@samp-w7439 2 жыл бұрын
You, sir have just earned a subscriber.
The muon-powered, universe-bifurcating, random number machine
14:57
AlphaPhoenix
Рет қаралды 412 М.
Eye vs Camera: Why it's nearly impossible to film an eclipse
19:50
AlphaPhoenix
Рет қаралды 84 М.
ISSEI funny story😂😂😂Strange World | Magic Lips💋
00:36
ISSEI / いっせい
Рет қаралды 188 МЛН
WHY DOES SHE HAVE A REWARD? #youtubecreatorawards
00:41
Levsob
Рет қаралды 28 МЛН
The Sound of Freezing: Explained!
16:34
AlphaPhoenix
Рет қаралды 161 М.
The annual engineering puzzle with 3,225 correct answers
20:20
AlphaPhoenix
Рет қаралды 413 М.
IP over AC: Mmmmmm Ppppfffftttt SssshhhhhhhWOOOSH
6:49
AlphaPhoenix
Рет қаралды 78 М.
How to predict random numbers
17:22
AlphaPhoenix
Рет қаралды 138 М.
Boil Water at Room Temperature with 50 ft. of Hose and a Stairway
12:32
Two ways to make asymmetric mirrors (Printing vs. Warping)
15:30
AlphaPhoenix
Рет қаралды 115 М.
Introducing the Magneto-Turboencabulator
5:28
AlphaPhoenix
Рет қаралды 155 М.
An intuitive approach for understanding electricity
39:28
AlphaPhoenix
Рет қаралды 1 МЛН
Индуктивность и дроссель.
1:00
Hi Dev! – Электроника
Рет қаралды 1,5 МЛН
ПК с Авито за 3000р
0:58
ЖЕЛЕЗНЫЙ КОРОЛЬ
Рет қаралды 1,3 МЛН
Huawei который почти как iPhone
0:53
Romancev768
Рет қаралды 128 М.
iPhone 15 Pro vs Samsung s24🤣 #shorts
0:10
Tech Tonics
Рет қаралды 8 МЛН