{"id":9516,"date":"2018-03-02T09:00:01","date_gmt":"2018-03-02T14:00:01","guid":{"rendered":"https:\/\/blogs.mathworks.com\/pick\/?p=9516"},"modified":"2018-03-06T16:06:39","modified_gmt":"2018-03-06T21:06:39","slug":"the-curling-game","status":"publish","type":"post","link":"https:\/\/blogs.mathworks.com\/pick\/2018\/03\/02\/the-curling-game\/","title":{"rendered":"The Curling Game"},"content":{"rendered":"<p><a href=\"https:\/\/www.mathworks.com\/matlabcentral\/fileexchange\/authors\/76890\">Will<\/a>&#8216;s pick this week is <a href=\"https:\/\/www.mathworks.com\/matlabcentral\/fileexchange\/45761-the-curling-game\">The Curling Game<\/a> by <a href=\"https:\/\/www.mathworks.com\/matlabcentral\/profile\/authors\/4758131-corey-lagunowich\">Corey Lagunowich<\/a>.<\/p>\n<p>The Winter Olympics may be over, but for some of us, a thirst for curling is never truly sated. Well I have good news for those of you who feel that way. You can continue to enjoy the thrill of curling in MATLAB. (The actual game looks nicer. I had to shrink the image down.)<\/p>\n<p><center><br \/>\n<img decoding=\"async\" src=\"https:\/\/blogs.mathworks.com\/images\/pick\/will_campbell\/potw_curling\/curling_board.png\" alt=\"Curling UI\" \/><\/p>\n<p><\/center><br \/>\nFrom the MATLAB command window, you run curling.m to launch the UI. As the file&#8217;s page explains, you then begin to slide stones down the sheet with a variable amount of force and spin. As the stone moves towards the teeline, you can sweep the ice to alter the trajectory. Check out the demonstration:<\/p>\n<p><center><br \/>\n<img decoding=\"async\" src=\"https:\/\/blogs.mathworks.com\/images\/pick\/will_campbell\/potw_curling\/curling.gif\" alt=\"Slide stone, slide!\" \/><\/p>\n<p><\/center><br \/>\nWhat Corey fails to mention is that the physics for the game are simulated with a rather sophisticated Simulink model. The model accounts for friction, stone collisions, the effects of sweeping on velocity and spin, etc. Check out the model&#8217;s hierarchy to get of a sense of it.<\/p>\n<p><center><br \/>\n<img decoding=\"async\" src=\"https:\/\/blogs.mathworks.com\/images\/pick\/will_campbell\/potw_curling\/curling_model.png\" alt=\"Curling model\" \/><br \/>\n<img decoding=\"async\" src=\"https:\/\/blogs.mathworks.com\/images\/pick\/will_campbell\/potw_curling\/curling_hierarchy.png\" alt=\"Curling model\" \/><\/p>\n<p><\/center><br \/>\nLet us know what you think <a href=\"https:\/\/blogs.mathworks.com\/pick\/?p=9516#respond\">here<\/a> or leave a <a href=\"https:\/\/www.mathworks.com\/matlabcentral\/fileexchange\/45761-the-curling-game#comments\">comment<\/a> for Corey.<\/p>\n","protected":false},"excerpt":{"rendered":"<div class=\"overview-image\"><img decoding=\"async\"  class=\"img-responsive\" src=\"https:\/\/blogs.mathworks.com\/images\/pick\/will_campbell\/potw_curling\/curling_board.png\" onError=\"this.style.display ='none';\" \/><\/div>\n<p>Will&#8216;s pick this week is The Curling Game by Corey Lagunowich.<br \/>\nThe Winter Olympics may be over, but for some of us, a thirst for curling is never truly sated. Well I have good news for those of&#8230; <a class=\"read-more\" href=\"https:\/\/blogs.mathworks.com\/pick\/2018\/03\/02\/the-curling-game\/\">read more >><\/a><\/p>\n","protected":false},"author":45,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[16,24],"tags":[],"_links":{"self":[{"href":"https:\/\/blogs.mathworks.com\/pick\/wp-json\/wp\/v2\/posts\/9516"}],"collection":[{"href":"https:\/\/blogs.mathworks.com\/pick\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.mathworks.com\/pick\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.mathworks.com\/pick\/wp-json\/wp\/v2\/users\/45"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.mathworks.com\/pick\/wp-json\/wp\/v2\/comments?post=9516"}],"version-history":[{"count":7,"href":"https:\/\/blogs.mathworks.com\/pick\/wp-json\/wp\/v2\/posts\/9516\/revisions"}],"predecessor-version":[{"id":9530,"href":"https:\/\/blogs.mathworks.com\/pick\/wp-json\/wp\/v2\/posts\/9516\/revisions\/9530"}],"wp:attachment":[{"href":"https:\/\/blogs.mathworks.com\/pick\/wp-json\/wp\/v2\/media?parent=9516"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.mathworks.com\/pick\/wp-json\/wp\/v2\/categories?post=9516"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.mathworks.com\/pick\/wp-json\/wp\/v2\/tags?post=9516"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}